Valet-plus: Support for PHP 8

Created on 2 Nov 2020  路  9Comments  路  Source: weprovide/valet-plus

  • [x] I've checked the issue queue and could not find anything similar to my feature.
  • [x] I'm on the latest version of valet-plus (valet --version): Valet+ 2.0.0

Why implement this feature?
PHP 8 is due out at the end of November 2020. Will it be supported in Valet+ ?

2.x Feature request MINOR

Most helpful comment

There is a PHP 8.0 build available, but valet will not / can't use it:

$  brew install [email protected]                               
Warning: henkrehorst/php/[email protected] 8.0.0_11 is already installed and up-to-date
To reinstall 8.0.0_11, run `brew reinstall [email protected]`
$ valet use 8.0
In PhpFpm.php line 156:                                                                                                    
  This version of PHP not available. The following versions are available: 5.6 7.0 7.1 7.2 7.3 7.4  


use [<service>] [<targetVersion>]

All 9 comments

@leewillis77 Thanks for your feature request. I will pick this up. As for whether it will be reported, we'll definitely.

@henkrehorst Do we have 8.0 formula available already within our PHP automation?

@leewillis77 I've talked to @henkrehorst and he confirmed that the automation can offer support for PHP 8.0 as of 26 November. So somewhere between November and early December we can offer support for 8.0.

Laravel already supports PHP 8.0: https://blog.laravel.com/laravel-php-8-support

Any time window for the release of Valet+?

So somewhere between November and early December we can offer support for 8.0.

Yes. See above. The formula is already supported: https://github.com/henkrehorst/homebrew-php/tree/master/Formula

There is a PHP 8.0 build available, but valet will not / can't use it:

$  brew install [email protected]                               
Warning: henkrehorst/php/[email protected] 8.0.0_11 is already installed and up-to-date
To reinstall 8.0.0_11, run `brew reinstall [email protected]`
$ valet use 8.0
In PhpFpm.php line 156:                                                                                                    
  This version of PHP not available. The following versions are available: 5.6 7.0 7.1 7.2 7.3 7.4  


use [<service>] [<targetVersion>]

Really hoping, v8 support gets added soon 馃 馃檹

We are also really hoping, PHP 8 support gets added soon!

Yep, love Valet+ and hoping PHP 8 support will be added! 馃憤

Is there any information on when php 8.0 will be added to Valet Plus?

Was this page helpful?
0 / 5 - 0 ratings