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

348 Commits

Author SHA1 Message Date
Matt Stauffer
7226da5bb7 Update valet.sock symlink 2022-03-13 22:17:11 -04:00
StyleCI Bot
89fd8bc30b Apply fixes from StyleCI 2022-03-13 04:29:11 +00:00
Matt Stauffer
51742b3795 Make primary valet.sock a symlink to an existing version 2022-03-12 23:29:01 -05:00
Matt Stauffer
3570c748a0 Clean up PhpFPM readability 2022-03-12 22:37:57 -05:00
Matt Stauffer
592354877d Rename isolateDirectory 2022-03-12 22:28:25 -05:00
StyleCI Bot
0a677e2d53 Apply fixes from StyleCI 2022-03-12 05:23:47 +00:00
Matt Stauffer
5aa253ad6d Move string concat to one line 2022-03-12 00:23:35 -05:00
Matt Stauffer
55c7dcb99d Move string concat to one line 2022-03-12 00:23:00 -05:00
Matt Stauffer
33c797f9ef Drop need to pass sock to isolate command 2022-03-12 00:20:40 -05:00
StyleCI Bot
e797774ade Apply fixes from StyleCI 2022-03-12 05:06:07 +00:00
Matt Stauffer
eefc06b07f Drop PHP 5.6; extract site-specific PHP version isolation to its own commands 2022-03-12 00:05:51 -05:00
Nasir Uddin Nobin
9a5d30bb69 Tests for Parallel PHP Version Support 2022-02-18 15:14:57 +06:00
Nasir Uddin Nobin
cc41e3c19f Update cli/Valet/PhpFpm.php
Co-authored-by: Matt Stauffer <mattstauffer@users.noreply.github.com>
2022-02-18 05:59:22 +06:00
NasirNobin
3c8336791f Apply more suggestions from code review 2022-02-16 11:29:51 +06:00
Nasir Uddin Nobin
49ca4ae467 Apply suggestions from code review
Co-authored-by: Matt Stauffer <mattstauffer@users.noreply.github.com>
2022-02-16 11:21:41 +06:00
Nasir Uddin Nobin
5c1043776e Apply refactor & cleanup from the code review 2022-02-15 16:44:29 +06:00
NasirNobin
794e366ba5 StyleCI Patch 2022-02-15 05:05:21 +06:00
NasirNobin
8de8d9bb26 Stop unused PHP versions 2022-02-15 04:49:03 +06:00
Nasir Uddin Nobin
c247dc9709 Add Valet PHP isolation remover option & apply more suggestions from code review 2022-02-15 02:38:46 +06:00
Nasir Uddin Nobin
acf190c57c Apply suggestions from code review
Co-authored-by: Matt Stauffer <mattstauffer@users.noreply.github.com>
2022-02-15 02:05:48 +06:00
NasirNobin
37b4af4113 Multiple/Parallel PHP Version Support for Valet 2022-02-06 13:56:35 +06:00
Matt Stauffer
6ddca24508 Merge pull request #1178 from cristiancalara/master
Stop root homebrew services on php version switch
2022-01-25 19:33:19 -05:00
Dries Vints
3768e199b9 Add ARM support for ngrok 2022-01-18 11:44:17 +01:00
Cristian Calara
70335bade8 Fix styleci & drop typehint for php5.6 compatibility 2022-01-08 11:05:41 +02:00
Cristian Calara
9e3a89c742 Stop root homebrew services on php version switch
Before the change, when running `valet use` the code intended to stop currently running PHP services. But the `getRunningServices` method only returned non-root running services. As PHP services started by Valet are run using `sudo` (so running as root), they were not returned and subsequently not stopped.

This change is intended to fix the above and stop PHP services that are started by Valet on a PHP version switch.
2022-01-08 10:30:13 +02:00
Dries Vints
f980900727 Fix guzzle issues 2021-12-23 09:21:45 +01:00
Marco Rieser
3e04917298 Access tag_name directly
Since `$response` is the response body now the body below is obsolete.
2021-12-22 17:57:55 +01:00
Matt Stauffer
0a4087b15b Merge pull request #1161 from jaylinski/ca-expiry
Avoid expiring of root certificate authority
2021-12-21 09:26:13 -05:00
Bram Ceulemans
4c98f63b96 Replace HTTPFul with Guzzle 2021-12-20 16:49:06 +01:00
Jakob Linskeseder
1f15953c73 Avoid expiring of root certificate authority
Resolves #1103
2021-12-19 21:10:13 +01:00
Richard Torenvliet
4283dae3cf Add expireIn= option and use in the openssl command 2021-12-13 15:16:53 +01:00
Matt Stauffer
18b5ed08f3 Merge pull request #1111 from caelumek/master
Set Brew PHP latest version to 8.1
2021-12-06 12:06:37 -05:00
Taylor Otwell
101abeae0e Apply fixes from StyleCI 2021-12-06 10:40:37 +00:00
Bartosz Piotr Pazola
b92592d6be Set Brew PHP latest version to 8.1 2021-11-29 11:26:26 +01:00
Antonio Carlos Ribeiro
a13832c95b Fix precedence bug 2021-08-29 13:50:25 +02:00
Antonio Ribeiro
df1a95c386 Add support for parked domains to some commands 2021-08-27 17:09:01 +02:00
Chris Brown
5d8a94fa54 Fix comment typo 2021-08-15 17:10:17 -04:00
Chris Brown
c549c1786a Stop non-root homebrew services during restarts
This is intended to assist with avoiding having competing non-root instances of valet dependency services running due to userland use of brew CLI commands.

Now, when running `valet stop` or `valet restart` it will (silently) attempt to stop the non-root instance (ignoring any errors thrown), before stopping (and/or starting) the sudo/root instance which is normally used.

(Though obvious, I'll point out that this only applies to services Valet manages.)

Fixes #1057
2021-06-13 01:33:22 -04:00
Mikaël Popowicz
01f4b582e6 ♻️ Refactoring proxy command. Proxy is not secured by default. 2021-04-30 14:31:55 +02:00
Mikaël Popowicz
7fdcdd3544 🚚 Use insecure instead of unsecure. 2021-04-26 18:00:33 +02:00
Mikaël Popowicz
3098f5ff0a Merge branch 'master' into feature/unsecure-proxy
# Conflicts:
#	cli/Valet/Site.php
#	cli/stubs/proxy.valet.conf
2021-04-23 22:01:16 +02:00
Mikaël Popowicz
3ecf64d339 💡 Updating addLoopbackAlias phpDoc. 2021-02-24 09:25:40 +01:00
Mikaël Popowicz
9045f3a53e 🔥 Removing useless code. 2021-02-24 09:25:03 +01:00
Mikaël Popowicz
727baa6c09 🐛 Ensure loopback alias and launch daemon file exist after re-installation. 2021-02-24 00:45:46 +01:00
Mikaël Popowicz
5f46ac4e23 Adding uninstallLoopback. 2021-02-24 00:27:13 +01:00
Mikaël Popowicz
2f6dc53e2d 💬 Updating aliasLoopback phpDoc. 2021-02-24 00:04:05 +01:00
Mikaël Popowicz
a0eeceb13c ♻️ Refactoring resecureForNewConfiguration conditions. 2021-02-24 00:02:29 +01:00
Mikaël Popowicz
a44743e117 Adding diagnose commands. 2021-02-23 23:48:19 +01:00
Mikaël Popowicz
a876175c6a ♻️ Refactoring resecureForNew* methods to resecureForNewConfiguration. 2021-02-23 22:32:50 +01:00
Mikaël Popowicz
0c0ab726c0 🐛 Fixing Nginx configuration.
 Adding alias generation and launch daemon generation.
2021-02-22 18:43:39 +01:00