Deploy Laravel for
GitHub Actions
View on GitHub
Step 3: Set the PHP version
Your ci-cd.yml
workflow file defines which PHP version is used to install your composer dependencies.

Make sure the PHP version matches the PHP version of your server.
All common PHP extensions are installed by default, for most Laravel applications you won't have to make any other changes.
If you application needs exotic PHP extensions that aren't installed by default you can check the Setup PHP documentation
for information on how to install them.