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

644 Commits

Author SHA1 Message Date
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
Matt Stauffer
f938a854e5 Bump version 2022-01-05 11:59:02 -05:00
George Buckingham
dffc68267b Fix styleci formatting. 2021-12-29 10:31:13 +00:00
George Buckingham
2d2c2e4aa3 Fix warnings when using Valet in non-CLI context 2021-12-29 10:19:42 +00:00
Dries Vints
69f432edf0 Bump version 2021-12-23 09:22:17 +01:00
Dries Vints
f980900727 Fix guzzle issues 2021-12-23 09:21:45 +01:00
Dries Vints
944e80cca3 Update valet.php 2021-12-23 08:59: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
ddf8c5fff9 Bump version 2021-12-21 09:26:48 -05: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
Matt Stauffer
31f33fc5be Bump version 2021-12-21 09:24:27 -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
Matt Stauffer
2845c565fd Bump version 2021-12-13 17:23:43 -05:00
Samuel Štancl
b62c5dff65 Fix certificate generation 2021-12-13 21:58:37 +01:00
Matt Stauffer
8ff684087b Bump version 2021-12-13 12:59:57 -05:00
Richard Torenvliet
4283dae3cf Add expireIn= option and use in the openssl command 2021-12-13 15:16:53 +01:00
Matt Stauffer
d4aad6f309 Bump version 2021-12-06 12:07:25 -05: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
Matt Stauffer
86e30124f4 Bump version 2021-10-13 15:33:53 -04:00
Matt Stauffer
a9ae715ddd Merge pull request #1089 from hotmeteor/latest-command
Add alias for on-latest-version
2021-10-13 15:26:50 -04:00
unlocdavid
33733b0456 Allow execution of custom PHP files in Bedrock projects
All request to PHP files are directed trough index.php which results in a 404 when you try to access a php file directly
2021-09-29 12:25:19 +02:00
Adam Campbell
ec5eaeb0a3 Add alias 2021-09-01 12:41:31 -04:00
Chris Brown
5d8a94fa54 Fix comment typo 2021-08-15 17:10:17 -04:00
Matt Stauffer
e89028e171 Bump version 2021-08-09 18:00:39 -04:00
Matt Stauffer
d6b8b9750e Merge pull request #1083 from MeMattStone/master
Added ability to use a `.valetphprc` file with `valet use` in a project to define the required PHP version
2021-08-09 16:54:13 -04:00
Matt Stauffer
b377131b7d Bump version 2021-08-09 11:14:08 -04:00
Matt Stone
81b6b8fa12 Changes to rc file and rewording of info messages
Renamed .valetrc to .valetphprc to define it's purpose more
specifically and reworded info message when file with version is found
2021-08-07 00:48:50 +01:00
Matt Stone
8d34524ff5 Changed code to be PSR-12 compliant and added better handling for when the PHP version is already set to the same as the .valetrc file 2021-08-06 14:26:52 +01:00
Matt Stone
3b2967f70c Added check for .valetrc on the valet use command which holds this projects version of PHP. Similar to how .nvmrc works with nvm use 2021-08-04 20:55:03 +01:00
Matt Stauffer
dbf050b4e2 Merge pull request #1074 from olipayne/patch-1
Typo fix
2021-07-20 22:14:19 -04:00
Matt Stauffer
f8188596c4 Bump version 2021-07-20 22:13:08 -04:00
Oliver Payne
c6959fd688 Typo fix 2021-07-13 10:43:15 +02:00
Jakub Tobiasz
dbf8f0b89e Move fixing the SCRIPT_FILENAME from server.php to the SymfonyValetDriver.php 2021-07-04 11:22:01 +02:00
Matt Stauffer
f1c1400b7d Bump Version 2021-06-14 18:52:33 -04:00
Matt Stauffer
78ee4bf84b Bump version 2021-06-14 13:07:29 -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
Matt Stauffer
b5fde86c4a Bump version 2021-06-10 13:19:13 -04:00
Matt Stauffer
b10bbf0555 Bump version 2021-05-01 14:56:58 -04:00
Mikaël Popowicz
00707ce04c Reverting secure.valet.conf. 2021-04-30 21:08:29 +02: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
b64b9bd81a Removing Ngrok stuff from proxy stubs. 2021-04-26 09:37:18 +02:00
Mikaël Popowicz
bfe95c26dd ♻️ Refactoring secure proxy stub. Fixing SiteTest. 2021-04-23 22:18:14 +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
Matt Stauffer
d312a588f3 Bump version 2021-04-02 22:25:50 -04:00
Matt Stauffer
a59a4624fa Small changes to allow Valet to be used in non-CLI contexts 2021-03-31 11:09:37 -04:00
Matt Stauffer
2cead8d611 Build v2.14.0 2021-03-29 13:44:59 -04:00