Deploy Next and Nuxt frontends alongside your Laravel apps, all from one unified platform.Learn more

Vapor: Custom Lambda Events


Today we released laravel/vapor-core version v2.5.1 with the ability to handle custom Lambda events. To get started, implement a vapor:handle artisan command in your application with the following signature:

vapor:handle {payload}

To extract the event payload from the payload argument, you should base64_decode and json_decode the string:

Custom Lambda events allow to handle events from other AWS services, such as triggering your application each time an image is uploaded to an S3 bucket.


Laravel is the most productive way to
 build, deploy, and monitor software.

By submitting this form, you agree to our terms. You can opt-out anytime.