1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-07 09:10:03 +01:00
Commit Graph

1347 Commits

Author SHA1 Message Date
Chris Brown
7d98b24330 Update tests for valet-use improvements 2020-11-28 23:52:28 -05:00
Chris Brown
98e7a02a3c Add shivammathur/php tap for supporting unofficial PHP releases 2020-11-28 23:49:03 -05:00
Chris Brown
78bfd8b9c2 Include resolv conf in diagnose command
Including the linked resolv.conf helps with troubleshooting situations where dns appears to not be working.
(Mostly the goal is to determine whether a conflicting entry is listed too early, or if the localhost is not listed first when others are present.)
2020-11-28 23:41:10 -05:00
Chris Brown
a03e2e09ce Improvements to "valet use" command
- properly detects if the requested version is already installed, and skips re-installing/re-starting/re-configuring
- allows --force to re-configure anyway
- smarter treatment of 'php' when it's aliased to another specific installed version
2020-11-28 23:38:30 -05:00
Chris Brown
6d2907961b Make [phpVersion] parameter optional for "valet use" command 2020-11-28 23:34:17 -05:00
Chris Brown
be63541dd8 Normalize PHP version parsing 2020-11-28 23:17:21 -05:00
Chris Brown
9da8e96d87 Specify 8.0 as latest PHP version
Specify 8.0 as latest PHP version
This is used mainly for new installs
2020-11-28 23:12:29 -05:00
Mikaël Popowicz
2ba9f6c977 Updating put phpdoc. 2020-11-28 23:34:26 +01:00
Mikaël Popowicz
ea777a9e94 Adding ability to create unsecure proxy. 2020-11-28 23:22:07 +01:00
Matt Stauffer
b01556272d Bump version v2.13.14 2020-11-27 11:34:19 -05:00
Matt Stauffer
518a009ff7 Merge pull request #996 from drbyte/fpm-errorlog-to-user-dir
Point PHP-FPM error_log to user directory
2020-11-27 11:34:01 -05:00
Matt Stauffer
1208b89726 Bump version v2.13.3 2020-11-27 11:29:02 -05:00
Matt Stauffer
3f0f157363 Merge pull request #1003 from soilSpoon/feature/brew
Update brew list command to remove deprecation warning
2020-11-27 11:28:39 -05:00
soilSpoon
cbb59c2251 Update brew list command to remove deprecation warning 2020-11-27 22:21:27 +09:00
Matt Stauffer
21f0549bd5 Bump version v2.13.2 2020-11-24 07:37:52 -05:00
Matt Stauffer
c79244b29c Merge pull request #997 from gehrisandro/prefer-site-name-over-domain
prefer site name over domain name when detecting the site path
2020-11-24 07:36:22 -05:00
Sandro Gehri
e1aeb0b2ce detect preferred site with introducing a new variable 2020-11-23 23:38:40 +01:00
Sandro Gehri
63dce63a29 prefer site name over domain name when detecting the site path 2020-11-23 21:39:29 +01:00
Chris Brown
ce0999f8cd Point PHP-FPM error_log to user directory
Old: `/usr/local/var/log/php-fpm.log`
New: `~/.config/valet/Log/php-fpm.log`

(We already put `~/.config/valet/Log/nginx-error.log` there)

This avoids ARM Mac differences in directory paths.
2020-11-23 09:21:55 -05:00
Matt Stauffer
81dcdbb960 Bump version v2.13.1 2020-11-18 08:36:31 -05:00
Matt Stauffer
bdd1d93702 Merge pull request #943 from bramus/patch-valet-share-vscode-fix
Pass USER as envvar when relaunching valet using sudo. Fixes #904
2020-11-18 08:31:30 -05:00
Matt Stauffer
f4bf0ebd9f Merge pull request #952 from drbyte/case-sensitive
Allow serving mixed case folders on case sensitive file systems
2020-11-18 08:29:39 -05:00
Matt Stauffer
04bfb42816 Merge pull request #992 from soilSpoon/modify-php-path
Modify brew packages path to be based on brew prefix
2020-11-16 08:38:05 -05:00
soilSpoon
2c06a5d4f0 Modify the paths of packages to be based on brew prefix
- brew
- dnsmasq
- nginx
- php-fpm
- log
- etc
2020-11-15 14:38:18 +09:00
soilSpoon
e64d5d877b Fix command to get binary path
Because echo is include new line but printf is not include
2020-11-14 23:27:16 +09:00
soilSpoon
6a4cb74392 Modify php binary path to be based on brew prefix 2020-11-14 21:42:13 +09:00
Matt Stauffer
c2fe653dd0 Bump version v2.13.0 2020-11-06 09:39:52 -05:00
Matt Stauffer
a0ce7595e3 Merge pull request #954 from irazasyed/patch-1
Make tunnel services configurable
2020-11-06 09:38:02 -05:00
Matt Stauffer
1853fa0e0d Merge pull request #990 from drbyte/tld-change-and-proxy-fix
Fix file_get_contents() error in tld command
2020-11-06 09:37:09 -05:00
Chris Brown
2c03a07a71 Fix proxy config rewrite done during a tld change
(it wasn't rewriting all variants of the old tld, thus leaving them (and nginx) broken).
2020-11-05 19:05:53 -05:00
Chris Brown
d9a05cc27e Fix file_get_contents() error in tld command
When we added the `proxy` feature in https://github.com/laravel/valet/pull/913 we inadvertently broke the `tld` command.
It was concatenating old+new tld when searching for existing configs, thus it couldn't find the correct file, which triggered the reported error.

Fixes #984

This PR fixes the lookup by allowing the correct intended lookup tld to be passed in. It also checks that the file exists before trying to read it.
2020-11-05 19:04:55 -05:00
Matt Stauffer
2140778319 Merge pull request #988 from m1guelpf/patch-1
Fix symfony default value error
2020-11-05 11:16:15 -05:00
Miguel Piedrafita
cbc8416cd9 Fix symfony default value error
Fatal error: Uncaught Symfony\Component\Console\Exception\LogicException: Cannot set a default value when using InputOption::VALUE_NONE mode. in ~/.composer/vendor/laravel/valet/vendor/symfony/console/Input/InputOption.php:159
2020-11-04 03:42:29 +00:00
Matt Stauffer
06632d0516 Update test badge to point to GitHub Actions 2020-11-03 11:30:15 -05:00
Matt Stauffer
ddc35d5951 Merge pull request #987 from m1guelpf/php8
Add support for PHP 8 & move tests to GitHub Actions
2020-11-03 11:27:43 -05:00
Miguel Piedrafita
5e43cf872a wip 2020-11-03 15:29:45 +00:00
Miguel Piedrafita
ecbc87b9b1 wip 2020-11-03 15:25:20 +00:00
Chris Brown
38e0072d3e Convert to GitHub Actions 2020-11-03 11:02:18 +00:00
Miguel Piedrafita
fe00ae3dd8 Ignore PHP platform reqs for now 2020-10-30 12:41:54 +00:00
Miguel Piedrafita
42c9b109e8 Retry PHP8 build 2020-10-28 21:35:41 +00:00
Miguel Piedrafita
0218e04dcb Can we test on PHP8 on Travis? 2020-10-28 15:22:45 +00:00
Miguel Piedrafita
b888dc4e31 cs 2020-10-28 15:18:07 +00:00
Miguel Piedrafita
9f237f7477 Fix deprecation warning
Fix PHP Deprecated:  Required parameter $all follows optional parameter $domain in /cli/valet.php on line 168
2020-10-28 15:17:12 +00:00
Miguel Piedrafita
778a877fdf Support php@8.0 and php@8.1 2020-10-28 15:16:18 +00:00
Matt Stauffer
2801e03998 Bump version v2.12.0 2020-10-26 10:43:21 -04:00
Matt Stauffer
7b68ea8a27 Merge pull request #979 from drbyte/patch-3
Support Illuminate 8.0
2020-09-08 18:59:05 -04:00
Chris Brown
32d1cb0fb3 Support Illuminate 8.0 2020-09-08 17:14:48 -04:00
Matt Stauffer
7fe0e0666b Bump version v2.11.0 2020-06-12 23:25:23 -04:00
Matt Stauffer
6d1e9c3a06 Merge pull request #740 from pedroborges/master
Add support to setup Kirby above webroot
2020-06-12 23:24:00 -04:00
Matt Stauffer
2a9f16a5d5 Version bump v2.10.3 2020-06-02 17:14:08 -04:00