Vapor: PHP 8.2 Release Candidate Is Now Supported

Oct, 17 2022#vapor #releases

Vapor now allows you to deploy applications powered by the PHP 8.2 Release Candidate to your Vapor environments. To get started, simply specify php-8.2:al2 as your preferred runtime in your application's vapor.yml configuration file.

        memory: 1024
        runtime: 'php-8.2:al2'
            - 'COMPOSER_MIRROR_PATH_REPOS=1 composer install'
            - 'php artisan event:cache'

If your application is using Docker runtimes, you may update the PHP version like so:

FROM laravelphp/vapor:php82

COPY . /var/task

Keep in mind, some Vapor features, PHP features, and PHP extensions may not work as expected when running environments on PHP 8.2. And, of course, as soon as PHP 8.2 receives a stable release, your environment will automatically receive it after a subsequent deployment.

We hope you enjoy using PHP 8.2 on your Vapor projects. At Laravel, we're committed to providing you with the most robust and developer-friendly PHP experience in the world. If you haven't checked out Vapor, now is a great time to start! You can create your account today at:

By Joe Dixon

Software Developer at Laravel.

Find me on Twitter, GitHub or my blog.

Follow the RSS Feed.