I recently updated a Laravel app running on Laravel Vapor to PHP 8.2. First, things first, we need to update our local development environment to run PHP 8.2.

Update PHP brew upgrade php #updating-laravel-sail Updating Laravel Sail My Laravel app uses Laravel Sail and docker to run locally.

These steps following the official documentation on the Laravel docs site for setting the PHP version for Laravel Sail.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners