Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.x] Add PHP 8.3 Runtime (missing extensions excluded) #614

Merged
merged 1 commit into from
Sep 1, 2023

Conversation

Jubeki
Copy link
Contributor

@Jubeki Jubeki commented Sep 1, 2023

This PR adds the PHP 8.3 Runtime to Laravel Sail. (Some extensions are not available yet and are commented out, they are only available after the official PHP 8.3 release)

The default version for installing is still PHP 8.2.

For testing the changes you can do the following:

laravel new sail-php83 --no-interaction
cd sail-php83
composer config repositories.sail vcs https://github.com/Jubeki/laravel-sail.git
composer require laravel/sail:dev-php83 --dev
php artisan sail:install

Change Runtime in docker-compose.yml:

context: ./vendor/laravel/sail/runtimes/8.3
image: sail-8.3-rc1/app

And then start the containers and open the page in the browser:

vendor/bin/sail up -d
vendor/bin/sail php -v
open http://localhost

Dont forget to later shut the container down:

vendor/bin/sail down

In the APT repository is currently PHP 8.3.0beta3 available instead of the RC1, but this is outside of the control of Laravel Sail.

@taylorotwell taylorotwell merged commit 3a373bb into laravel:1.x Sep 1, 2023
4 checks passed
@taylorotwell
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants