1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-04 00:10:07 +01:00

1843 Commits

Author SHA1 Message Date
taylorotwell
e3902e7121 Update CHANGELOG 2025-10-07 14:58:57 +00:00
Taylor Otwell
6a82bba526 Update app.php v4.11.0 2025-10-07 09:58:20 -05:00
Matt Stauffer
04eb1b9683 Merge pull request #1531 from Tugzrida/fix-openssl-strict-mode
fix(TLS): create OpenSSL strict-mode compliant certs
2025-10-04 10:22:53 -04:00
Cameron Steel
631fb7a1ca remove unused $confPath 2025-09-18 12:33:34 +10:00
taylorotwell
87141038eb Update CHANGELOG 2025-09-16 14:59:57 +00:00
Taylor Otwell
6dfe253384 Update app.php v4.10.0 2025-09-16 09:59:19 -05:00
mattstauffer
01c393d99b Fix code styling 2025-09-15 19:40:48 +00:00
Matt Stauffer
0177d739bd Merge pull request #1532 from lukasbableck/contao-driver
Update `ContaoValetDriver` to support current Contao versions
2025-09-15 13:40:18 -06:00
Lukas Bableck
ed8ca453f2 Update ContaoValetDriver to support current Contao versions 2025-09-15 20:38:53 +02:00
Cameron Steel
45e4ce17db fix(TLS): create OpenSSL strict-mode compliant certs 2025-09-15 22:22:04 +10:00
taylorotwell
1add455ed1 Update CHANGELOG 2025-08-19 02:12:46 +00:00
Taylor Otwell
18439215b6 Update app.php v4.9.1 2025-08-18 21:12:10 -05:00
Matt Stauffer
1c62421915 Drop homebrew-core tap
See #1382

Co-Authored-By: Vincent Klaiber <vinkla@users.noreply.github.com>
2025-08-18 08:38:58 -04:00
Matt Stauffer
239dead93f Merge pull request #1527 from saibotk/fix-php-warnings
fix(php): ignore warnings in CLI parsing
2025-08-18 06:35:10 -06:00
Saibotk
7ef4bac510 fix(php): ignore warnings in CLI parsing
When running PHP with extensions like imagick, sometimes the extension needs a rebuild after `brew upgrade`.
Otherwise, it will throw a warning:
```
Warning: Version warning: Imagick was compiled against ImageMagick version 1809 but version 1810 is loaded. Imagick will run but may behave surprisingly in Unknown on line 0
```

This warning is also printed, within the shell executions in Valet.
But we use the output of those PHP CLI invocations.
With those warnings being printed out, the parsing on the output fails and Valet cannot be used until the pecl extension is rebuilt.

With this patch, all CLI PHP invocations use ` -d error_reporting=1`.
This suppresses warnings, but will still report errors.

It makes valet more robust in case a system package update causes warnings.
2025-07-24 14:39:20 +02:00
taylorotwell
2f243c3052 Update CHANGELOG 2025-07-22 15:58:28 +00:00
Taylor Otwell
4ee43ed63e Update app.php v4.9.0 2025-07-22 10:57:51 -05:00
Matt Stauffer
36a1abc5c4 Merge pull request #1526 from datlechin/feat/php8.5
feat: add support for PHP 8.5
2025-07-14 08:55:43 -04:00
Ngô Quốc Đạt
1008c92610 wip 2025-07-10 16:38:49 +07:00
Ngô Quốc Đạt
463f60cd05 Add support for PHP 8.5 2025-07-10 16:38:17 +07:00
Ngô Quốc Đạt
8670d26c9c Add support for PHP 8.5 2025-07-10 16:35:43 +07:00
mattstauffer
6fcf62efa2 Fix code styling 2025-06-19 04:42:20 +00:00
Matt Stauffer
06fb6159b6 Merge pull request #1521 from mrodespin/master
Create php-memory-limits.ini only one time
2025-06-19 00:41:55 -04:00
Matt Stauffer
e893f5f05c Satisfy PHPUnit 2025-06-18 21:26:19 -07:00
Marc Rodriguez
10947733a2 Create php-memory-limits.ini only one time
Change how the php-memory-limits.ini is managed because when changed between PHP versions all the configuration added previously is overrided and it a waste of time if you work with several PHP versions during the day
2025-06-18 11:27:56 +02:00
taylorotwell
4fa47a8a66 Update CHANGELOG 2025-05-14 15:25:19 +00:00
Matt Stauffer
c90feb38a6 Bump to 4.8.7 for release v4.8.7 2025-05-14 11:23:36 -04:00
taylorotwell
326b1bcf7d Update CHANGELOG 2025-05-13 14:47:38 +00:00
Matt Stauffer
6ef3b05cc6 Merge pull request #1516 from adrum/patch-1
Update CraftValetDriver for compatbility with craftcms/security-patches
v4.8.6
2025-05-06 18:21:27 -04:00
Austin Drummond
ba2d5727ed Update CraftValetDriver.php
When applying https://github.com/craftcms/security-patches to a Craft project, the fix for [CVE-2024-56145](https://github.com/advisories/GHSA-2p6p-9rc9-62j9) breaks sites served by Valet (and Herd). 

This fix allows these sites to work when using Valet (and Herd).
2025-05-01 21:59:37 -04:00
Matt Stauffer
66b7d43080 Merge pull request #1515 from saibotk/fix-php-fpm-config
fix(php-fpm): correct socket creation
2025-04-28 16:50:10 -04:00
Saibotk
0525673051 fix(php-fpm): correct socket creation
While my PR #1514 fixed recreating the FPM configs, it introduced a different issue:

Due to the use of `utilizedPhpVersions()`, the code now also configured the FPM config for the alias `php` version.
This caused it to invoke the configure function with an empty version string and thus overwriting the FPM config for (in my case) the php@8.4 config templated with `valet.sock` instead of the correct `valet84.sock`.

The nginx sites that were configured to proxy their requests to the `valet84.sock` then failed because it did not exist anymore.

We fixed this by always including the actual linked PHP version via the `linkedPhp` function. This returns `php8.4` instead of `php`.

`php` is an alias anyway and this also removes another unnecessary service restart call. Previously, this would also try to restart the `php` service via brew which was already restarted through the restart of `php@8.4`, which is an alias in brew.

This also fixes an issue with the previous PR, to correctly symlink `valet.sock` again to the linked PHP version, which we oversaw.
2025-04-25 23:03:44 +02:00
taylorotwell
2c6a9357f2 Update CHANGELOG 2025-04-22 14:03:27 +00:00
Taylor Otwell
13856b5b43 Update app.php v4.8.5 2025-04-22 09:02:45 -05:00
Matt Stauffer
88e3c7b08b Merge pull request #1514 from saibotk/fix-php-fpm-config-reinstall
fix(php-fpm): correctly reconfigure all versions
2025-04-16 21:49:32 -04:00
Saibotk
f670b62010 fix(php-fpm): correctly reconfigure all versions
This previously only reapplied the configuration for the linked version.
Because it is recommended to run valet install again after a brew upgrade, it is necessary to update all utilized PHP versions.

On brew upgrades, some versions received the default www.conf again. This would leave the user with a broken setup until they either call `valet use php@X.X` for all the versions or isolate a site again with the version.

This commit fixes the behavior by rerunning the configuration step on all php versions. This is more consistent, because in the next line all utilized PHP versions are also restarted.
2025-04-15 15:36:15 +02:00
taylorotwell
b8f4e49b56 Update CHANGELOG 2025-03-04 16:29:50 +00:00
Taylor Otwell
e436e1781e Update app.php v4.8.4 2025-03-04 10:29:15 -06:00
Matt Stauffer
134957cf90 Merge pull request #1513 from drbyte/phpunit12
Add PHPUnit 12 support, and upgrade phpunit-polyfills
2025-03-03 11:26:53 -05:00
taylorotwell
c350b59fc8 Update CHANGELOG 2025-02-28 20:39:02 +00:00
Chris Brown
80f9dce116 Remove --verbose flag for PHPUnit 10+ compatibility 2025-02-28 14:05:27 -05:00
Chris Brown
b622f1d09a Add PHPUnit 12 support, and upgrade phpunit-polyfills
Added `DataProvider` attribute, to support newer PHPUnit, in order to support latest phpunit-polyfills.

Closes #1512 which only did part of the update
2025-02-28 13:06:56 -05:00
Matt Stauffer
b71f1f0303 Merge pull request #1511 from laravel/l12 v4.8.3 2025-02-28 12:59:30 -05:00
crynobone
c4c650d567 Fix code styling 2025-02-12 01:38:26 +00:00
Mior Muhammad Zaki
06d0070837 chore: Update update-changelog.yml 2025-02-12 09:37:55 +08:00
Mior Muhammad Zaki
7feb176d86 chore: Update coding-standards.yml 2025-02-12 09:37:40 +08:00
Mior Muhammad Zaki
d30b38c68d Supports Laravel 12 2025-01-28 19:58:49 +08:00
taylorotwell
6d8df38e73 Update CHANGELOG 2024-12-20 21:46:50 +00:00
Matt Stauffer
e2d6191446 Merge pull request #1510 from saibotk/fix-php-proxy
fix(entry-script): use correct php binary for proxy commands
v4.8.2
2024-12-20 16:19:04 -05:00
Matt Stauffer
bcf78f5d59 Merge pull request #1507 from mischabraam/patch-1
Change latest php version to 8.4
2024-12-20 16:17:01 -05:00