Browse all series
ToolingAdvanced17 episodes

Developing Serverless Functions in Laravel

In this CreatorSeries, we cover how to develop serverless functions with Laravel, using a package called Sidecar. Serverless functions let you tap into the power of AWS Lambda, but without the complexity of setting up a new repo, deployment process, or API Gateway.

You'll learn how to package, deploy, and execute these functions... all from your Laravel application!

Series episodes

Introduction

2m 42s

Explore serverless functions in Laravel—learn to deploy single functions for efficient, scalable apps beyond full app deployments like Vapor offers.

Configuration

5m 15s

Quickly set up AWS credentials using Sidecar’s configure command. Simplify your configuration process and get started in minutes with ease and confidence.

Deploy a Node Function

7m 34s

Deploy your first Node.js function from Laravel! Learn to create, package, and execute a simple Hello World function with ease and confidence.

Deploy a Python Function

2m 35s

Step-by-step guide to deploy a Python function to AWS Lambda. Learn packaging, config, and running serverless Python with confidence.

Browser Automation

9m 16s

Easily control headless Chrome on AWS Lambda - run browser automation, scraping, and testing serverlessly with full control and no self-hosting.

A Performance Trick

6m 12s

Speed up your AWS Lambda handler using an architectural trick, make functions run faster and reduce cold-start overhead.

Adding Layers

4m 52s

Add functionality to AWS Lambda with layers, learn to include Chrome via a layer for browser automation without repackaging code.

Serverless Browsershot

6m 47s

Easily run Spatie's Browsershot on AWS Lambda using Stefan Zweifel's package to generate browser screenshots in Laravel without hosting Chrome.

Separating by Environment

5m 26s

Keep local, staging, and production functions separate with Sidecar. Collaborate smoothly without overwriting code, ensuring safe teamwork and environment isolation.

Deploying Your Functions

4m 55s

Deploy serverless functions during releases—learn practical workflows for Envoyer, Vapor, and adding Sidecar to your deployment process.

Environment Variables

4m 56s

Manage environment variables for your Sidecar functions like Laravel apps, learn best practices, and simplify secure configuration quickly.

Executing in Parallel

6m 47s

Unlock Lambda’s scalability by executing functions in parallel. Learn how to boost performance and handle tasks faster with efficient concurrent processing.

Async Execution

10m 6s

Discover how to achieve promise-like async execution in PHP using Guzzle. Send multiple requests simultaneously for faster, efficient web interactions.

Fire-and-Forget Execution

6m 55s

Learn how to execute functions as fire-and-forget events in Laravel, improving performance by running tasks without waiting for a response. Boost efficiency today!

Warming

5m 54s

Learn how to reduce AWS Lambda cold starts by warming your functions in advance, ensuring faster response times and smoother serverless performance.

Debugging

8m 6s

Discover essential debugging tools and techniques to quickly find and fix issues in your code. Stay confident and efficient when things don’t go as planned!

Goodbye and Next Steps

2m 49s

Thanks for joining this series! Explore next steps and key resources to deepen your knowledge of Sidecar and serverless functions. Keep learning and growing!

Continue learning

Thumbnail for Get Real With Laravel Echo
Get Real With Laravel Echo

With Jeffrey Way

  • 8 episodes
  • Advanced
  • Techniques
Thumbnail for Get Real With Laravel Reverb
Get Real With Laravel Reverb

With Joe Dixon

  • 10 episodes
  • Advanced
  • Tooling
Thumbnail for Eloquent Relationships
Eloquent Relationships

With Jeffrey Way

  • 6 episodes
  • Beginner
  • Frameworks
Thumbnail for Learn Laravel Mix
Learn Laravel Mix

With Jeffrey Way

  • 11 episodes
  • Intermediate
  • Tooling
Thumbnail for Valet Uncovered
Valet Uncovered

With Matt Stauffer

  • 16 episodes
  • Advanced
  • Tooling

Would you like to hear from Laracasts by email occasionally?