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

1843 Commits

Author SHA1 Message Date
Matt Stauffer
9042c28a00 Bump version v4.1.4 2023-08-14 15:05:12 -04:00
mattstauffer
d4ee503ec7 Fix code styling 2023-08-11 13:04:11 +00:00
Matt Stauffer
109c9d42ae Merge pull request #1434 from mpociot/herd-patch
Only delete DNSMasq resolver when Herd is not installed
2023-08-11 09:03:47 -04:00
Matt Stauffer
2320d15f7d Update cli/Valet/DnsMasq.php
Co-authored-by: Mateus Junges <mateus@junges.dev>
2023-08-11 09:03:30 -04:00
Marcel Pociot
0a33373bb6 Only delete resolver when Herd is not installed 2023-07-26 15:54:51 +02:00
driesvints
4007d256fd Update CHANGELOG 2023-07-21 03:31:45 +00:00
Dries Vints
31017e611a Update app.php v4.1.3 2023-07-21 05:31:01 +02:00
driesvints
c1ef300469 Fix code styling 2023-07-21 03:30:59 +00:00
datashaman
b5103d15bb Add quotes around $PHP (#1431)
If the PHP executable path has a space in it, it breaks valet. For example, when using the new Laravel Herd which stores its config and binaries under `~/Library/Application Support/Herd/...`
2023-07-21 05:30:32 +02:00
Chris Brown
269d157b0a Add "valet stop dnsmasq" option
Fixes #1419

Adds:
- `valet stop dnsmasq`
- `valet stop all` (which includes php, nginx, dnsmasq)
- When `valet stop` is called without a service name, a message indicates that dnsmasq can also be stopped via `valet stop dnsmasq`
- Aside: phpfpm now also displays a message when stopping; previously it was silent.
2023-06-20 16:35:59 -04:00
driesvints
c7ace590ba Update CHANGELOG 2023-05-30 14:53:31 +00:00
Dries Vints
3bb54ae5b0 Update app.php v4.1.2 2023-05-30 16:52:55 +02:00
mattstauffer
a28d958afd Fix code styling 2023-05-16 19:27:36 +00:00
Matt Stauffer
f8d4ef583d Merge pull request #1415 from laravel/mes/ensure-base-configuration
Ensure base configuration is correct even if file already exists
2023-05-16 15:27:02 -04:00
Matt Stauffer
c95334a7e1 Merge pull request #1414 from laravel/mes/allow-custom-drivers-to-extend-specific-drivers
Load specific drivers before custom drivers to allow for extension.
2023-05-16 15:26:29 -04:00
driesvints
3f8396dfaa Update CHANGELOG 2023-05-16 15:42:58 +00:00
Dries Vints
57d43bb289 Update app.php v4.1.1 2023-05-16 17:41:40 +02:00
Matt Stauffer
9ce0ca97b2 Ensure base configuration is correct even if file already exists 2023-05-16 08:23:41 -04:00
Matt Stauffer
55ceb3a7ad Load specific drivers before custom drivers to allow for extension.
Co-Authored-By: Chris Brown <code@drbyte.dev>
2023-05-15 12:26:47 -04:00
mattstauffer
a4145d77b5 Fix code styling 2023-05-12 02:23:35 +00:00
Matt Stauffer
228b6eb503 Merge pull request #1411 from drbyte/install-via-alt-tap
Install older PHP versions via alternate tap
2023-05-11 22:23:02 -04:00
driesvints
a6f0c643db Update CHANGELOG 2023-05-09 15:54:07 +00:00
Dries Vints
0d3d537f50 Update app.php v4.1.0 2023-05-09 17:53:19 +02:00
Chris Brown
615d61dc8e Install older PHP versions via alternate tap
Fixes #1407

Homebrew's support policy now aggressively disables older versions earlier than it did previously.
That is why we tap the `shivammathur/php` repository.

But since Homebrew also now "keeps" those old formulae but marks them as disabled, when Valet runs `brew install php@7.4` it fails because Homebrew just aborts due to its flags in the outdated formula.
(They mark it as "disabled" and/or "keg_only :versioned_formula", but don't actually delete the formula from their repository.)
To override that we must use `brew install shivammathur/php/php@7.4` internally.

Therefore, we need to maintain a list of which PHP Versions we wish to specifically prefix with the `shivammathur/php` tap in order to bypass Homebrew's flags.

**ANNUAL MAINTENANCE**
1. This PR adds the array of `LIMITED_PHP_VERSIONS` which we will have to update annually when new PHP versions are retired as others are released.
2. We should also annually update the `LATEST_PHP_VERSION` string.
2023-05-05 22:17:42 -04:00
Matt Stauffer
1d6a55b227 Merge branch 'master' of github.com:laravel/valet 2023-05-05 15:05:52 -04:00
Matt Stauffer
0f95b03145 Fix Radicle code style with Pint 2023-05-05 15:05:48 -04:00
mattstauffer
58e3785f8e Fix code styling 2023-05-05 19:05:18 +00:00
Matt Stauffer
2c3125bed8 Merge pull request #1413 from csorrentino/radicle-driver
Add driver for Radicle
2023-05-05 15:04:44 -04:00
Chris Sorrentino
5e69eab56c fix namespacing 2023-05-03 11:29:04 -04:00
Chris Sorrentino
b64f686758 Add driver for Radicle 2023-05-03 10:56:02 -04:00
Dries Vints
9c974cd391 Create RELEASE.md 2023-04-27 09:45:38 +02:00
driesvints
a2b4fef751 Update CHANGELOG 2023-04-26 15:41:45 +00:00
Dries Vints
97411ee1d0 Update app.php v4.0.2 2023-04-26 17:40:58 +02:00
Matt Stauffer
6fe3f57275 Fix merge issue 2023-04-26 09:37:10 -04:00
Matt Stauffer
2497181106 Change flow 2023-04-26 09:36:37 -04:00
mattstauffer
bfbdb075eb Fix code styling 2023-04-26 13:35:44 +00:00
Matt Stauffer
dae5773551 Merge pull request #1398 from mischabraam/hotfix/read-non-existing-config-file
Fix read non existing config file
2023-04-26 09:35:19 -04:00
mattstauffer
cbb571f7ac Fix code styling 2023-04-26 13:13:37 +00:00
Matt Stauffer
b5e4228356 Merge pull request #1404 from drbyte/ngrok3-fix-for-valet4
[v4] Fix ngrok.io proxy/forwarding detection
2023-04-26 09:13:04 -04:00
Chris Brown
fd35343f60 [v4] Fix ngrok.io proxy/forwarding detection
Fixes #1384

Since Valet 4 uses Ngrok v3, this change is needed to accommodate the change ngrok made:
> In ngrok v3 the `X-Original-Host` header was replaced with the more standard `X-Forwarded-Host` to better align with web standards.
> More Info: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Host

Credit to @streamingsystems for doing the legwork.

Co-authored-by: streamingsystems <streamingsystems@users.noreply.github.com>
2023-04-24 21:48:04 -04:00
Dries Vints
fcfbb9829e Update 1_Bug_report.yml 2023-04-07 10:59:07 +02:00
Dries Vints
96bc080d19 Update and rename 1_Bug_report.md to 1_Bug_report.yml 2023-04-07 10:58:22 +02:00
Mischa Braam
d1ebd43045 Fix read non existing config file 2023-04-04 13:36:08 +02:00
Dries Vints
f65774d070 Update CHANGELOG.md 2023-03-28 20:20:23 +02:00
mattstauffer
191d5c3700 Update CHANGELOG 2023-03-27 18:43:24 +00:00
Matt Stauffer
fcba8f3a58 Bump to 4.0.1 v4.0.1 2023-03-27 14:42:24 -04:00
Matt Stauffer
e46e138617 Merge pull request #1390 from ethanclevenger91/fix/1342
More robust check for Bedrock environments
2023-03-25 13:20:26 -04:00
Ethan Clevenger
bfad7ed836 Correct function signature. Tests pass locally. 2023-03-22 11:06:17 -07:00
Ethan Clevenger
d7a40b7be2 More robust check for Bedrock environments 2023-03-22 11:04:09 -07:00
Matt Stauffer
50a437e679 Merge pull request #1388 from fylzero/fix-local-valet-driver
Fixes Valet\Drivers\LocalValetDriver not found error
2023-03-21 16:39:27 -04:00