Aryeh Raber
1535605b0d
Update commands list
2020-04-27 00:21:17 +02:00
Aryeh Raber
4794d7a080
Add small warning that run may take a while
2020-04-26 22:54:21 +02:00
Aryeh Raber
cafba7f4c5
Add additional commands
2020-04-26 22:53:38 +02:00
Aryeh Raber
9965f7614c
Ignore output for commands using "> /dev/null 2>&1"
2020-04-26 22:53:30 +02:00
Aryeh Raber
dedaddeff0
Ensure commands starting with "sudo" are run normally
2020-04-26 13:41:12 +02:00
Aryeh Raber
86fa649362
Format output using <details> + <summary> and add plain text flag to opt out
2020-04-25 16:29:53 +02:00
Aryeh Raber
5baccdbb54
Add sudo back to ensure commands work correctly
2020-04-25 16:26:54 +02:00
Aryeh Raber
415eedc4c0
Add progress bar when not printing output to console
2020-04-25 15:34:31 +02:00
Aryeh Raber
e59fa533f1
Add --print flag to print output while diagnostics are running
2020-04-25 14:33:24 +02:00
Aryeh Raber
ead9568aca
Add "diagnose" command
2020-04-25 14:27:18 +02:00
Matt Stauffer
605af93982
Bump version
2020-04-20 16:48:58 -04:00
Matt Stauffer
fa71147e32
Merge pull request #929 from nathane/patch-1
...
chore: allow support for tightenco/collect:^7.0
v2.9.1
2020-04-20 16:47:04 -04:00
Nathan Esayeas
e65d4c4905
chore: allow support for tightenco/collect:^7.0
2020-04-12 13:40:36 -04:00
Matt Stauffer
4dfd4883ed
Bump version
2020-03-13 12:46:27 -04:00
Matt Stauffer
aae0d99c71
Merge pull request #922 from ellisio/chore/deps/laravel/container
...
chore(deps): allow laravel/container:^7.0
v2.9.0
2020-03-13 12:40:36 -04:00
Andrew Ellis
b5f71e03eb
chore(deps): allow laravel/container:^7.0
2020-03-12 19:48:28 -06:00
Matt Stauffer
e7f8b33ea4
Merge pull request #916 from drbyte/memory_limit
...
Increase default PHP memory_limit to 512M
2020-03-04 14:21:26 -05:00
Chris Brown
ff9edb9cf8
Increase default client_max_body_size and post_max_size to 512M
2020-03-03 14:31:55 -05:00
Chris Brown
30e28614f4
Increase default PHP memory_limit to 512M
...
PHP's default is 128M, but it's becoming common practice to set the value to 512M in dev and production
Plus, currently homestead sets it to 512M as well.
2020-03-02 11:28:54 -05:00
Matt Stauffer
d6558b90a5
Merge pull request #898 from drbyte/patch-1
...
Update nginx.conf - keep gzip directives together
2020-01-16 14:47:18 -05:00
Chris Brown
637d26a08f
Update nginx.conf
...
Just re-ordering directives to keep gzip stuff together.
No impact to existing installs.
Updates #517
2020-01-15 12:09:36 -05:00
Matt Stauffer
bec26e2e3b
Bump version.
2020-01-07 11:41:35 -05:00
Matt Stauffer
0e4fe4047d
Merge pull request #888 from drbyte/dirlist
...
Adds a directory-listing setting for dev convenience
2020-01-07 11:41:07 -05:00
Matt Stauffer
74834d17ea
Bump version
v2.8.1
2020-01-07 11:37:59 -05:00
Matt Stauffer
cd1d2e2725
Merge pull request #891 from drbyte/dnsmasq-gc
...
Cleanup old tld refs when switching tld or uninstalling
2020-01-07 11:35:55 -05:00
Chris Brown
dfd333a997
Remove unnecessary imports
2020-01-07 11:29:30 -05:00
Chris Brown
8dc5836492
Cleanup old tld refs when switching tld or uninstalling
...
Previously we would leave old tld stubs around; while it's harmless, it's less tidy.
2020-01-07 11:28:50 -05:00
Matt Stauffer
b4b2fb841a
Bump version
v2.8.0
2020-01-06 14:06:02 -05:00
Matt Stauffer
ccabaa832f
Merge pull request #892 from drbyte/dry
...
Internal update: use existing function instead of duplicated code
2020-01-06 13:57:00 -05:00
Matt Stauffer
7f88759e2e
Merge pull request #893 from drbyte/trust-off-flag
...
Add --off option for valet trust command
2020-01-06 13:56:34 -05:00
Matt Stauffer
775fba9529
Merge pull request #895 from drbyte/phpdetect
...
Detect running php when no version constraint specified with use command
2020-01-06 13:55:28 -05:00
Matt Stauffer
4b7677833e
Merge pull request #874 from ahmedash95/patch-1
...
Allow start/restart/stop single service
2020-01-06 13:49:59 -05:00
Matt Stauffer
a0df274aec
Merge pull request #894 from drbyte/patch-1
...
php config comments must only use semicolons, not hash symbols
2020-01-06 12:09:48 -05:00
Chris Brown
116c7a7b8c
Detect running php when no version constraint specified with use command
...
Fixes #756
Previously if `php` was installed as just `php` (the default Homebrew alias), Valet would not detect *which* PHP version was actually installed, and therefore `valet use` might do incorrect or unnecessary installations/links/etc.
NOTE: This does NOT "convert" existing `php` alias to a numbered version. It merely accepts it as-is, but notes its version in an attempt to avoid extra installations.
*NOTE: Specifally tested with PHP 7.4 and 7.3. No promises about old 5.6, etc aliases.*
2020-01-04 13:36:20 -05:00
Chris Brown
d39ac0c1a8
Comments must only use semicolons, not hash symbols
...
PHP configs no longer support `#` for comments. Must use semicolons `;`.
Otherwise PHP may not start, and may show a confusing error in logs: `value is NULL for a ZEND_INI_PARSER_ENTRY`
2020-01-04 13:09:17 -05:00
Chris Brown
9c77a51ff9
Add --off option for valet trust command
...
While `valet trust` enables (creates) sudoers entries, there was no cleanup/removal option for this, apart from complete forced uninstall of Valet.
This adds `valet trust --off` so that the sudoers entries can be removed from Valet CLI.
2020-01-04 11:05:43 -05:00
Chris Brown
e10f788cea
Internal update: use existing function instead of duplicated code
2020-01-04 10:05:25 -05:00
Ahmed Ashraf
924feb1592
use stopRunning for phpfpm
...
Co-Authored-By: Matt Stauffer <mattstauffer@users.noreply.github.com >
2020-01-04 00:10:50 +01:00
Ahmed Ashraf
b3bf506a06
fix styles
2020-01-03 16:18:42 +01:00
Chris Brown
51adf31d9f
Adds a directory-listing setting for dev convenience
...
After running `valet directory-listing on` if a URI points to a directory that exists, but the requested file cannot be found in that directory, a directory listing will be displayed.
A 404 will still happen if the project directory cannot be found.
Running `valet directory-listing off` makes a 404 display (without a listing) if the requested file cannot be found.
Supercedes and closes #349 and closes #587
2020-01-02 19:44:32 -05:00
Matt Stauffer
d90be6c730
Merge pull request #889 from drbyte/tests
...
Modernize PHP unit tests
2020-01-02 14:31:39 -05:00
Matt Stauffer
a4826f6f8f
Merge pull request #885 from drbyte/patch-1
...
Comment out memory limits so other configs take precedence
2020-01-02 14:21:59 -05:00
Matt Stauffer
a7f6646647
Merge pull request #887 from drbyte/global-valet-env
...
Allow for global environment variables to be configured.
2020-01-02 14:15:57 -05:00
Chris Brown
95264a6e0d
Modernize PHP unit tests
...
Replaces and closes #564
2019-12-27 15:09:04 -05:00
Chris Brown
bb42b29c3a
Allow for global environment variables to be configured.
...
This leverages the existing `.valet-env.php` file capability, but just adds the Valet Home directory as a first-lookup location.
So, now Valet will check for `.valet-env.php` in:
- `~/.config/valet/`
- then the current project folder
As discussed at https://github.com/laravel/valet/issues/789#issuecomment-565112046
Fixes #789
2019-12-27 12:13:38 -05:00
Chris Brown
b5c8257b86
Comment out memory limits so other configs take precedence
2019-12-23 17:34:54 -05:00
Matt Stauffer
edbc4fc0d3
Bump version
v2.7.1
2019-12-23 10:09:19 -05:00
Matt Stauffer
7f602f70dc
Merge pull request #881 from comes/master
...
Enable multiple ngrok arguments from command line
2019-12-23 10:08:26 -05:00
comes
2408a1be05
Merge pull request #1 from comes/comes-patch-1
...
Enable multiple ngrok arguments from command line
2019-12-21 21:02:34 +01:00
comes
979826887c
Update valet
2019-12-21 21:00:52 +01:00