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

1818 Commits

Author SHA1 Message Date
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
Saibotk
85a8c89902 fix(entry-script): use correct php binary for proxy commands
These are the only instances, where the valet cli script is executed with the default
php binary instead of the evaluated binary.

We now use the `$PHP` executable to ensure that the valet cli is always called with the correct binary even when proxying composer / php.
2024-12-18 23:01:36 +01:00
Mischa Braam
ff82b3ee10 Change latest php version to 8.4 2024-12-11 10:07:08 +01:00
Matt Stauffer
ff4b7675c4 Merge pull request #1504 from mitchkramez/bugfix-loopback-regex-fix
Fixes bad regex for loopback replacement for Issue #1503
2024-12-09 20:39:19 -05:00
Matt Stauffer
440bb128ad Merge pull request #1498 from adrum/feature/renew-ca
Add the ability to renew the Certificate Authority certificate
2024-12-09 20:37:05 -05:00
Matt Stauffer
1a0077a69d Update version number for 4.8.2 release 2024-12-09 18:14:43 -05:00
taylorotwell
587811878b Update CHANGELOG 2024-11-26 16:46:43 +00:00
Mitch Kramer
2b9f4940a5 Fixes bad regex for loopback replacement 2024-11-26 10:43:03 -06:00
Matt Stauffer
c8970c1409 Merge pull request #1497 from milewski/patch-1
Update logo to support dark/light theme
v4.8.1
2024-11-25 12:19:56 -05:00
Matt Stauffer
5a55c4ad89 Merge pull request #1495 from rcknr/cloudflared
Fix extra parameters for share tool, fixes #1494
2024-11-25 12:16:19 -05:00
mattstauffer
76ece5380a Fix code styling 2024-11-25 17:14:52 +00:00
Matt Stauffer
07432a9729 Merge pull request #1499 from SupianIDz/master
Add support for PHP 8.4
2024-11-25 12:14:19 -05:00
Supian M
a3bb72c187 Fix broken badge 2024-11-17 21:18:02 +08:00
Supian M
7efa837b5e Add support for PHP 8.4
Include PHP 8.4 in the list of supported PHP versions in both Valet Brew and GitHub Actions test matrix. This ensures compatibility and testing for the latest PHP release.
2024-11-17 20:49:59 +08:00
Austin Drummond
3c0015c305 add the ability to see the Certificate Authority expiration date 2024-11-15 12:09:11 -05:00
Austin Drummond
072859eced add the ability to renew the CA when renewing all certs 2024-11-15 12:00:33 -05:00
Rafael Milewski
78d0a40b20 Update README.md 2024-09-26 12:18:50 +08:00
Rafael Milewski
e3816cb5b0 Update logo.svg 2024-09-26 12:16:58 +08:00
Sergii Kauk
cd3fbb0423 Fix extra parameters for share tool, #1494 2024-09-16 12:50:56 +02:00
driesvints
5da6033253 Update CHANGELOG 2024-09-03 15:33:55 +00:00
Dries Vints
ed36ab2076 version v4.8.0 2024-09-03 17:33:07 +02:00
mattstauffer
13da2f7dde Fix code styling 2024-08-25 03:36:57 +00:00
Matt Stauffer
3f30051fbc Merge branch 'rcknr-cloudflared' 2024-08-24 22:36:21 -05:00
Matt Stauffer
ea57d98621 Refactor heavily nested cloudflared currentTunnelUrl
Co-Authored-By: Mateus Junges <mateus@junges.dev>
2024-08-24 22:27:35 -05:00
Matt Stauffer
3e2789c24e Fix failing extraction of secured domain check
Co-Authored-By: Mateus Junges <mateus@junges.dev>
2024-08-24 22:19:59 -05:00
Matt Stauffer
374eaa0d59 Make domain required in currentTunnelUrl
These methods are never passed null anyway.

Co-Authored-By: Mateus Junges <mateus@junges.dev>
2024-08-24 22:19:28 -05:00