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.