Skip to content
This repository was archived by the owner on Nov 20, 2025. It is now read-only.

Commit 787fe2f

Browse files
author
Mischa Braam
committed
Add support for php8.2
1 parent 07fae7a commit 787fe2f

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed

INSTALL.MD

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
> Sometimes you need to restart your terminal for the link to have effect.
1515
1616
5. Install Composer using anyway you like, suggested is using `brew install composer`.
17-
6. Install Valet+ with Composer using `composer global require weprovide/valet-plus:2.4.0-beta5 --update-with-dependencies`.
17+
6. Install Valet+ with Composer using `composer global require weprovide/valet-plus:2.4.0-beta6 --update-with-dependencies`.
1818
7. Add `export PATH="$PATH:$HOME/.composer/vendor/bin"` to `.bash_profile` (for bash) or `.zshrc` (for zsh) depending on
1919
your shell (`echo $SHELL`).
2020
8. Run the `valet install` command. Optionally add `--with-mariadb` to use MariaDB instead of MySQL This will configure and install Valet+ and DnsMasq, and register Valet's daemon to launch when your system starts.

cli/Valet/Pecl.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
use Exception;
66
use DomainException;
77

8+
/**
9+
* @deprecated
10+
*/
811
class Pecl extends AbstractPecl
912
{
1013

@@ -43,6 +46,7 @@ class Pecl extends AbstractPecl
4346
*/
4447
const EXTENSIONS = [
4548
self::XDEBUG_EXTENSION => [
49+
'8.2' => '3.1.5',
4650
'8.1' => '3.1.5',
4751
'8.0' => '3.1.5',
4852
'7.4' => '3.1.5',
@@ -63,6 +67,7 @@ class Pecl extends AbstractPecl
6367
'extension_type' => self::NORMAL_EXTENSION_TYPE
6468
],
6569
self::GEOIP_EXTENSION => [
70+
'8.2' => false, //todo; will probably be 1.1.2
6671
'8.1' => false, //todo; will probably be 1.1.2
6772
'8.0' => false, //todo; will probably be 1.1.2
6873
'7.4' => '1.1.1',

cli/Valet/PhpFpm.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,16 @@ class PhpFpm
1414
const PHP_V74_VERSION = '7.4';
1515
const PHP_V80_VERSION = '8.0';
1616
const PHP_V81_VERSION = '8.1';
17+
const PHP_V82_VERSION = '8.2';
1718

1819
const SUPPORTED_PHP_FORMULAE = [
1920
self::PHP_V71_VERSION => self::PHP_FORMULA_NAME .'@'. self::PHP_V71_VERSION,
2021
self::PHP_V72_VERSION => self::PHP_FORMULA_NAME .'@'. self::PHP_V72_VERSION,
2122
self::PHP_V73_VERSION => self::PHP_FORMULA_NAME .'@'. self::PHP_V73_VERSION,
2223
self::PHP_V74_VERSION => self::PHP_FORMULA_NAME .'@'. self::PHP_V74_VERSION,
2324
self::PHP_V80_VERSION => self::PHP_FORMULA_NAME .'@'. self::PHP_V80_VERSION,
24-
self::PHP_V81_VERSION => self::PHP_FORMULA_NAME
25+
self::PHP_V81_VERSION => self::PHP_FORMULA_NAME .'@'. self::PHP_V81_VERSION,
26+
self::PHP_V82_VERSION => self::PHP_FORMULA_NAME
2527
];
2628

2729
const EOL_PHP_VERSIONS = [
@@ -150,6 +152,7 @@ public function fpmConfigPath()
150152
{
151153
$brewPath = $this->architecture->getBrewPath();
152154
$confLookup = [
155+
self::PHP_V82_VERSION => $brewPath . self::LOCAL_PHP_FOLDER . '8.2/php-fpm.d/www.conf',
153156
self::PHP_V81_VERSION => $brewPath . self::LOCAL_PHP_FOLDER . '8.1/php-fpm.d/www.conf',
154157
self::PHP_V80_VERSION => $brewPath . self::LOCAL_PHP_FOLDER . '8.0/php-fpm.d/www.conf',
155158
self::PHP_V74_VERSION => $brewPath . self::LOCAL_PHP_FOLDER . '7.4/php-fpm.d/www.conf',

cli/valet.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
Container::setInstance(new Container);
2525

2626
// get current version based on git describe and tags
27-
$version = new Version('2.4.0-beta5', __DIR__ . '/../');
27+
$version = new Version('2.4.0-beta6', __DIR__ . '/../');
2828

2929
$app = new Application('Valet+', $version->getVersion());
3030

0 commit comments

Comments
 (0)