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

458 Commits

Author SHA1 Message Date
Matt Stauffer
17cda5dc79 Drop todos 2022-03-14 13:58:52 -04:00
Matt Stauffer
984d7eb699 Add PHP Version to the isolated command 2022-03-14 13:41:48 -04:00
Matt Stauffer
118e0a3692 Update str_contains to strpos 2022-03-14 12:55:20 -04:00
Matt Stauffer
3cdb7c78f4 Drop space before colon in magic isolation string 2022-03-14 12:42:11 -04:00
StyleCI Bot
9b8c41e3d3 Apply fixes from StyleCI 2022-03-14 04:16:45 +00:00
Matt Stauffer
95aa03977c Add command to list isolated sites 2022-03-14 00:16:36 -04:00
StyleCI Bot
fd47384768 Apply fixes from StyleCI 2022-03-14 02:18:58 +00:00
Matt Stauffer
4ab6f46870 Merge branch 'mes/symlink-valet-socks' of github.com:laravel/valet into mes/symlink-valet-socks 2022-03-13 22:18:47 -04:00
Matt Stauffer
530e4c30dd Update normalizePhpVersion regex
Handle "php@8.1"
Simplify the entire method into one block

Co-Authored-By: Nathan Morgan <nathan@fuelingtheweb.com>
2022-03-13 22:17:50 -04:00
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