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

25 Commits

Author SHA1 Message Date
Chris Brown
8d9dcd0360 Protect against un-parking Valet's core Sites folder
Fixes #956
2020-06-02 17:09:13 -04: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
027812c25f Pre-create the parent .config dir if needed
On a fresh OSX install, the ~/.config/ dir doesn't always exist. This checks and creates it if needed.
2018-11-13 09:34:21 -05:00
Chris Brown
c815e349f4 Fix errors from relocation of config dir 2018-09-13 20:57:09 -04:00
Matt Stauffer
7eb1aec410 Merge pull request #449 from eberkund/master
Move ~/.valet to ~/.config/valet
2018-08-30 08:33:28 -04:00
Chris Brown
f4281b4eaa Fix tld php errors from #241
Fixes #618 - PHP errors running TLD command if didn't run `valet install` as part of upgrading from version 2.0.12
2018-08-24 15:05:39 -04:00
Erik Berkun-Drevnig
f33bff81e9 Make sure Sites dir is linked 2017-11-27 01:39:27 -05:00
Erik Berkun-Drevnig
19fe60880c Fix DnsMasq path, remove incorrect use of rewrite secure 2017-10-22 16:39:50 -04:00
Chris Brown
9394811a09 Make valet install handle the addition of tld to config.json 2017-10-17 13:18:11 -04:00
Erik Berkun-Drevnig
6ba61dcc77 Resecure sites 2017-10-03 15:07:42 -04:00
Erik Berkun-Drevnig
cca8260279 Fix old path 2017-09-30 20:19:44 -04:00
Erik Berkun-Drevnig
1e5b857c6b Move old directory on install 2017-09-30 20:16:58 -04:00
Lasse Rafn
97d69cadc4 Update Configuration.php 2017-10-01 00:12:00 +02:00
Lasse Rafn
18f05bca49 Update Configuration.php
.localhost default domain
2017-09-18 14:24:35 +02:00
Josh Manders
d80b996adf pretty print sites 2017-02-20 20:48:37 -06:00
Adam Wathan
3d0e099755 Remove grim array type hints 2016-12-08 08:32:55 -05:00
Taylor Otwell
a35b668aee working on tests 2016-12-08 08:32:55 -05:00
Adam Wathan
0da0fb3b1b Grueing around 2016-12-08 08:32:54 -05:00
Adam Wathan
12d418389d Merge pull request #92 from kapersoft/server-log
Adds the option to view Caddy access- and error-log
2016-08-14 09:36:20 -04:00
Chris Brown
e88731b17c Add missing descriptions 2016-08-11 00:42:12 -03:00
Jan Willem Kaper
4fc1acb7c4 Adds the option to view the Caddy access- and error-log using 'valet server-log' 2016-06-15 22:57:58 +02:00
Taylor Otwell
9a1ad4e002 create sites directory 2016-05-13 12:37:24 -05:00
Daniel Morris
fe6fb947f7 Consistency changes (#60)
* Correct the return type annotation in a serves method

* Type-hint the driver in the abstract ValetDriver

* Correct the return type-hint in the sample ValetDriver

* Remove the return afrom the restartLinkedPhp method

* Remove the return annotation from the Caddy constructor

* Remove the return annotation from the Valet configuration constructor

* Removed the return from the prependPath method of the Configuration class

* Removed the return from the appendAsUser method of the Filesystem class

* Removed the return annotation from the Site constructor

* Corrected the parameter annotation of the link method in the Site class

* Order use statements by length in PhpFpm

* Remove the return annotation from the Valet constructor
2016-05-12 21:17:32 -05:00
Taylor Otwell
14588a40d8 load extensions 2016-05-11 20:32:53 -05:00
Taylor Otwell
97f7ae2342 organize better 2016-05-10 08:29:24 -05:00