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

619 Commits

Author SHA1 Message Date
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
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
93931f0e27 ♻️ Check if loopback input is a valid IP address. 2021-02-24 00:03:03 +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
7bb5326a27 🐛 Fixing default Nginx stub. 2021-02-22 18:49:36 +01:00
Mikaël Popowicz
0c0ab726c0 🐛 Fixing Nginx configuration.
 Adding alias generation and launch daemon generation.
2021-02-22 18:43:39 +01:00
Mikaël Popowicz
545c075b35 🔥 Removing address alias on loopback command. 2021-02-22 08:18:55 +01:00
Mikaël Popowicz
2d5ee9d7cc Add loopback command. 2021-02-21 23:21:12 +01:00
Matt Stauffer
cc01db7eb9 Bump version 2021-01-22 21:47:14 -05:00
Chris Brown
1a35871e56 Fix issue with valet share on Hyper
Related: https://github.com/laravel/valet/issues/790#issuecomment-765559963

Changing from `info()` to just `output()` avoids ANSI char output for color display, and this particular line doesn't "need" colored output particularly.
2021-01-22 15:08:23 -05:00
Matt Stauffer
8c74df2b34 Bump version 2021-01-21 15:25:45 -05:00
Chris Brown
dd17bb9e9a Force removal of orphaned valet.sock file
When switching PHP versions the valet.sock file may not be removed if the linked PHP process doesn't get shut down properly. This can happen when Homebrew switches default `php` version aliases and if one has started multiple homebrew PHP instances under different permission levels or different users.

This patch merely forces the .sock file's removal when switching versions. 

In very rare cases a filesystem lock may prevent the file's proper removal, in which case a reboot might be required.

To prevent these issues, keep Homebrew up-to-date by running `brew upgrade` on a regular basis (weekly is good).
2021-01-21 11:33:47 -05:00
Matt Stauffer
86a830ac89 Bump version 2021-01-19 09:56:04 -05:00
Chris Brown
383c1d009f Fix valet bin dir linking for ARM / M1 macs
Fixes #1023

Ref #992
2021-01-18 12:19:56 -05:00
Sebastian Popp
8b88f7f571 Update URL for upgrade instructions 2020-12-15 10:52:14 +01:00
Matt Stauffer
af4d25f924 Bump version 2020-12-08 14:10:41 -05:00
Cretu Eusebiu
73d752e404 Import Exception 2020-12-08 20:59:44 +02:00
Mikaël Popowicz
34b1cece72 Merging master. 2020-11-30 09:45:11 +01:00
Matt Stauffer
09d2a3d575 Bump version 2020-11-29 22:54:57 -05:00
Matt Stauffer
04d42b3895 Merge pull request #1008 from drbyte/valet-use-improvements
Improvements to "valet use" command
2020-11-29 22:49:25 -05:00