1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-05 16:40:05 +01:00
Commit Graph

188 Commits

Author SHA1 Message Date
soilSpoon
cbb59c2251 Update brew list command to remove deprecation warning 2020-11-27 22:21:27 +09:00
Matt Stauffer
21f0549bd5 Bump version 2020-11-24 07:37:52 -05:00
Matt Stauffer
81dcdbb960 Bump version 2020-11-18 08:36:31 -05:00
soilSpoon
2c06a5d4f0 Modify the paths of packages to be based on brew prefix
- brew
- dnsmasq
- nginx
- php-fpm
- log
- etc
2020-11-15 14:38:18 +09:00
Matt Stauffer
c2fe653dd0 Bump version 2020-11-06 09:39:52 -05:00
Miguel Piedrafita
cbc8416cd9 Fix symfony default value error
Fatal error: Uncaught Symfony\Component\Console\Exception\LogicException: Cannot set a default value when using InputOption::VALUE_NONE mode. in ~/.composer/vendor/laravel/valet/vendor/symfony/console/Input/InputOption.php:159
2020-11-04 03:42:29 +00:00
Miguel Piedrafita
b888dc4e31 cs 2020-10-28 15:18:07 +00:00
Miguel Piedrafita
9f237f7477 Fix deprecation warning
Fix PHP Deprecated:  Required parameter $all follows optional parameter $domain in /cli/valet.php on line 168
2020-10-28 15:17:12 +00:00
Matt Stauffer
2801e03998 Bump version 2020-10-26 10:43:21 -04:00
Matt Stauffer
7fe0e0666b Bump version 2020-06-12 23:25:23 -04:00
Matt Stauffer
2a9f16a5d5 Version bump 2020-06-02 17:14:08 -04:00
Chris Brown
77729058a5 Add 'unpark' alias to 'forget' command
Sometimes I find myself wondering how to un-park a folder, and it takes me awhile to find `forget` in the list.
Adding `unpark` as an alias may be helpful.
2020-06-02 17:07:37 -04:00
Matt Stauffer
7c357c59e2 Bump version 2020-05-07 00:08:03 -04:00
Matt Stauffer
fa090b0ab9 Bump version 2020-05-01 12:15:05 -04:00
Matt Stauffer
1dd6f301d5 Bump version 2020-04-30 11:45:42 -04:00
Matt Stauffer
73b16c08b0 Merge pull request #913 from drbyte/valet-proxy
Add proxy site-handling commands
2020-04-30 11:44:44 -04:00
Chris Brown
f056663159 Add proxy site-handling commands
valet proxy domain host
valet unproxy domain
valet proxies (to list all recognized proxy site configs)
2020-04-27 23:01:59 -04:00
Aryeh Raber
4794d7a080 Add small warning that run may take a while 2020-04-26 22:54:21 +02:00
Aryeh Raber
86fa649362 Format output using <details> + <summary> and add plain text flag to opt out 2020-04-25 16:29:53 +02:00
Aryeh Raber
e59fa533f1 Add --print flag to print output while diagnostics are running 2020-04-25 14:33:24 +02:00
Aryeh Raber
ead9568aca Add "diagnose" command 2020-04-25 14:27:18 +02:00
Matt Stauffer
605af93982 Bump version 2020-04-20 16:48:58 -04:00
Matt Stauffer
4dfd4883ed Bump version 2020-03-13 12:46:27 -04:00
Matt Stauffer
bec26e2e3b Bump version. 2020-01-07 11:41:35 -05:00
Matt Stauffer
0e4fe4047d Merge pull request #888 from drbyte/dirlist
Adds a directory-listing setting for dev convenience
2020-01-07 11:41:07 -05:00
Matt Stauffer
74834d17ea Bump version 2020-01-07 11:37:59 -05:00
Matt Stauffer
b4b2fb841a Bump version 2020-01-06 14:06:02 -05:00
Matt Stauffer
7f88759e2e Merge pull request #893 from drbyte/trust-off-flag
Add --off option for valet trust command
2020-01-06 13:56:34 -05:00
Matt Stauffer
775fba9529 Merge pull request #895 from drbyte/phpdetect
Detect running php when no version constraint specified with use command
2020-01-06 13:55:28 -05:00
Matt Stauffer
4b7677833e Merge pull request #874 from ahmedash95/patch-1
Allow start/restart/stop single service
2020-01-06 13:49:59 -05:00
Chris Brown
116c7a7b8c Detect running php when no version constraint specified with use command
Fixes #756

Previously if `php` was installed as just `php` (the default Homebrew alias), Valet would not detect *which* PHP version was actually installed, and therefore `valet use` might do incorrect or unnecessary installations/links/etc.

NOTE: This does NOT "convert" existing `php` alias to a numbered version. It merely accepts it as-is, but notes its version in an attempt to avoid extra installations.

*NOTE: Specifally tested with PHP 7.4 and 7.3. No promises about old 5.6, etc aliases.*
2020-01-04 13:36:20 -05:00
Chris Brown
9c77a51ff9 Add --off option for valet trust command
While `valet trust` enables (creates) sudoers entries, there was no cleanup/removal option for this, apart from complete forced uninstall of Valet.

This adds `valet trust --off` so that the sudoers entries can be removed from Valet CLI.
2020-01-04 11:05:43 -05:00
Ahmed Ashraf
924feb1592 use stopRunning for phpfpm
Co-Authored-By: Matt Stauffer <mattstauffer@users.noreply.github.com>
2020-01-04 00:10:50 +01:00
Ahmed Ashraf
b3bf506a06 fix styles 2020-01-03 16:18:42 +01:00
Chris Brown
51adf31d9f Adds a directory-listing setting for dev convenience
After running `valet directory-listing on` if a URI points to a directory that exists, but the requested file cannot be found in that directory, a directory listing will be displayed.

A 404 will still happen if the project directory cannot be found.

Running `valet directory-listing off` makes a 404 display (without a listing) if the requested file cannot be found.

Supercedes and closes #349 and closes #587
2020-01-02 19:44:32 -05:00
Matt Stauffer
edbc4fc0d3 Bump version 2019-12-23 10:09:19 -05:00
Matt Stauffer
9b1c58591d Bump version 2019-12-10 23:34:16 -05:00
Matt Stauffer
a05d26f8a4 Bump version 2019-12-10 23:13:48 -05:00
Ahmed Ashraf
d4d8fc3d4a Allow start/restart/stop with a specific service 2019-12-09 10:46:51 +01:00
Matt Stauffer
3b302b7593 Bump version. 2019-12-06 09:43:08 -05:00
Chris Brown
6e01bfb5f4 Allow Valet to uninstall itself
`valet uninstall` only displays information about how to manually uninstall and clean up after Valet.

This PR adds a `--force` parameter, which will forcefully remove Valet and the Homebrew services it installs, as well as clean up the config files and log files.
But for a few post-uninstall composer dependencies, cleanup is very thorough.

This brings idempotency to both `valet install` and `valet uninstall --force`

(There may still be edge cases where other Homebrew or composer packages might create interference with install/uninstall, but this makes things much easier to self-troubleshoot.)
2019-12-05 22:19:55 -05:00
Chris Brown
710fa27651 Fix auto-detection amongst multiple ngrok processes
Ngrok Pro plans allow multiple processes, which means you could be serving several sites simultaneously. This PR allows Valet to correctly identify amongst the active ngrok process URLs.

Fixes #145
2019-12-03 18:34:08 -05:00
Matt Stauffer
30b0684736 Merge pull request #853 from drbyte/dnsmasq-restart
Include dnsmasq in valet start/restart command
2019-12-01 22:06:27 -05:00
Matt Stauffer
0380987fdf Capitalize c in Composer 2019-12-01 22:04:25 -05:00
Matt Stauffer
454ed43f00 Merge pull request #849 from drbyte/patch-1
Add comment to consider running composer global update after switching php version
2019-12-01 22:03:42 -05:00
Matt Stauffer
0681437219 Merge pull request #854 from drbyte/valet-unsecure-all
Add --all parameter to valet unsecure command
2019-12-01 14:55:43 -05:00
Chris Brown
65b0c6aae6 Add detailed uninstall instructions
Previously `valet uninstall` would just shutdown the `nginx` service.

This PR also stops `PHP` and gives a number of instructions on how to do a (nearly) clean uninstall of most Valet dependencies.
And also some troubleshooting tips.
2019-12-01 02:05:08 -05:00
Chris Brown
d6f06045fc Add --all parameter to valet unsecure command
This PR allows passing `--all` to `valet unsecure` to have it remove all certificates from all Valet configs AND from the MacOS Keychain.
This effectively cleans up certificate fragments or broken configs, and can help with troubleshooting.
2019-11-30 16:38:48 -05:00
Chris Brown
cfa8c216fa Include dnsmasq in valet start/restart command
While it's rare that the dnsmasq won't be started, it feels incomplete to not include the service when starting/restarting valet, since valet depends on it.
2019-11-30 16:34:08 -05:00
Chris Brown
e71906616c Add comment to consider running composer global update
When switching to older PHP versions there may be a composer package dependency conflict. This PR adds a note to consider running `composer global update` to update those dependencies. It's only a comment since not all changes in PHP version will require running the update.

Fixes #822
2019-11-30 16:07:38 -05:00