Vapor: Adding Imagick As Separate Lambda Layer

Starting today, you can add Imagick support to your projects by importing an external Lambda layer. This change decreases the size of the default Vapor runtime layer and allows customers that don't use Imagick to upload larger applications without worrying about AWS Lambda application size limits.

If you wish to use Imagick in your project, add a /php/conf.d/php.ini file in your project root that contains the following configuration:

Next, include the PHP runtime layer as well as the Imagick layer in your vapor.yml configuration file:

Once these configuration changes have been made, you may deploy your project.

Keep reading

ProductMar 2, 2026

Laravel February Product Updates

Laravel Cloud API & CLI, MySQL 8.4 upgrade notice, Forge MySQL 9, Nightwatch MCP & Linear integration, and new Framework AI updates.

Laravel Team

ProductFeb 3, 2026

Laravel January Product Releases

January brings Private Cloud, Valkey caching, expanded Cloud API, plus Forge backup options and Nightwatch real-time exception detection.

Laravel Team