Jason Varga
ee5391def6
rename
2023-08-28 15:14:38 -04:00
Jason Varga
fadd0d46b8
attempt statamic driver first
2023-08-28 14:38:58 -04:00
Jason Varga
12c10e0b03
add statamic driver
2023-08-28 14:38:42 -04:00
Matt Stauffer
088667d0ca
Merge pull request #1422 from drbyte/stopdnsmasq
...
Add "valet stop dnsmasq" option
2023-08-26 22:47:18 -04:00
mattstauffer
d4ee503ec7
Fix code styling
2023-08-11 13:04:11 +00: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
c1ef300469
Fix code styling
2023-07-21 03:30:59 +00: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
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
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
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
0f95b03145
Fix Radicle code style with Pint
2023-05-05 15:05:48 -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
Matt Stauffer
2497181106
Change flow
2023-04-26 09:36:37 -04: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
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
Mischa Braam
d1ebd43045
Fix read non existing config file
2023-04-04 13:36:08 +02: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
Philip Theobald
dfd4ee95f5
Fixes Valet\Drivers\LocalValetDriver not found error
2023-03-21 03:23:07 -05:00
Matt Stauffer
866bc7e259
Skip printed warnings when parsing JSON from Homebrew
2023-02-22 23:39:56 -05:00
Matt Stauffer
4e84a79b29
Link the upgrade guide for bad custom driver error
2023-02-22 15:21:16 -05:00
Matt Stauffer
3025fd2ab1
Handle fetch-share-url on users running a free Expose plan.
2023-02-19 21:54:24 -05:00
Matt Stauffer
8784458dfe
Drop "superfluous" phpdoc tags (per Pint)
2023-02-18 23:20:03 -05:00
Matt Stauffer
d80182b464
Add Pint locally and run it
2023-02-13 15:40:49 -05:00
Matt Stauffer
6a920bd5a9
Merge Pint config
2023-02-13 15:39:44 -05:00
driesvints
cda928d1ed
Fix code styling
2023-02-13 17:06:56 +00:00
Matt Stauffer
c24ae19972
Bring #1361 into version-4
2023-02-10 20:09:28 -05:00
Matt Stauffer
0e9060d0a6
Update unlink command to also unsecure, if necessary
2023-02-10 18:49:28 -05:00
StyleCI Bot
21587b7f07
Apply fixes from StyleCI
2023-02-08 03:00:12 +00:00
Matt Stauffer
15cf3fefaf
Handle old, customized sample valet drivers more gracefully
2023-02-07 21:59:58 -05:00
Matt Stauffer
72804018cb
Merge
2023-02-07 21:41:46 -05:00
StyleCI Bot
44c2fcc63e
Apply fixes from StyleCI
2023-02-08 02:39:46 +00:00
Matt Stauffer
719ff07eec
Bring in changes to mirror #1358
2023-02-07 21:39:32 -05:00
StyleCI Bot
b588ef30f8
Apply fixes from StyleCI
2023-02-08 02:36:57 +00:00
Matt Stauffer
edae5fbdf7
Refactor local network address for Valet 4's Server class
2023-02-07 21:36:26 -05:00
StyleCI Bot
293746dff9
Apply fixes from StyleCI
2023-02-08 02:13:59 +00:00
Matt Stauffer
232dfd9361
Bring in changes to mirror #1356
2023-02-07 21:13:39 -05:00
Matt Stauffer
6d785d9349
Fix prioritization in phpRcVersion
2023-02-07 18:43:49 -05:00
StyleCI Bot
4837648a35
Apply fixes from StyleCI
2023-02-07 23:40:47 +00:00
Matt Stauffer
73b5e987e2
Update phpRc reader to check cwd before checking config, if cwd specified
2023-02-07 18:40:18 -05:00
StyleCI Bot
30e29762c6
Apply fixes from StyleCI
2023-02-07 03:26:09 +00:00
Matt Stauffer
583eef76e3
Refactor removeCa
2023-02-06 22:25:57 -05:00