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

521 Commits

Author SHA1 Message Date
Sergii Kauk
4c5fd953fc A bit of refactoring 2024-01-08 09:57:46 +01:00
Sergii Kauk
ca288d4066 Add a new share tool, cloudflared 2024-01-07 18:18:10 +01:00
Chris Brown
e3e5bea388 Allow renew() to be called without parameters (#1465)
A reasonable default is set here, consistent with the default set in other places.

Fixes #1464
Updates #1461
2024-01-01 10:12:56 +01:00
Matt Stauffer
59b19a20aa Clean up syntax from #1461 2023-12-20 22:46:05 -05:00
Matt Stauffer
3ecfb36331 Merge branch 'master' of github.com:laravel/valet 2023-12-20 22:45:41 -05:00
mattstauffer
9d3d2ee785 Fix code styling 2023-12-21 03:45:03 +00:00
Matt Stauffer
81a2b3bd52 Merge pull request #1461 from adrum/feature/renew-certs
added the ability to renew certs and view their expiration dates
2023-12-20 22:44:43 -05:00
Matt Stauffer
b1b84fe163 Minor formatting tweaks to #1460 2023-12-20 22:40:28 -05:00
mattstauffer
34b4f03092 Fix code styling 2023-12-21 03:39:28 +00:00
Matt Stauffer
9c922e5a2f Merge pull request #1460 from rana01645/master
Update "fetch-share-url" to pull correct URL for HTTPS tunnels, not just HTTP
2023-12-20 22:39:06 -05:00
mattstauffer
3f2b62954c Fix code styling 2023-12-21 03:29:15 +00:00
Matt Stauffer
47847d51e9 Merge pull request #1451 from OpJePl44tsm4n/master
handle deprecated http2_push_preload conf for nginx >= 1.25.1
2023-12-20 22:28:48 -05:00
mattstauffer
e75f238b22 Fix code styling 2023-12-21 03:25:35 +00:00
Austin Drummond
a3a483e45c remove date logic on renewal 2023-12-20 00:39:12 -05:00
Austin Drummond
cd198cb0c9 moved renew command to site 2023-12-20 00:38:47 -05:00
Austin Drummond
86c40dd40c restored original secured command 2023-12-20 00:07:57 -05:00
Austin Drummond
eec8d5f0fc added the ability to renew certs and view their expiration dates 2023-12-19 23:23:02 -05:00
Afjalur Rahman Rana
cd099f650f if http and https both exist, priotize http 2023-12-05 11:41:25 +00:00
Afjalur Rahman Rana
ec7046f3a7 test case updated 2023-12-05 11:23:24 +00:00
Afjalur Rahman Rana
e829a1cf31 give https tunnel support for valet fetch-share-url 2023-12-05 10:31:09 +00:00
Pim
2db0770f2c Update Site.php
version to string
2023-10-13 13:16:21 +02:00
Pim
b2ce8ad875 use str_replace 2023-10-10 10:38:18 +02:00
PimPlaatsman
bd3fe5bfcc load legacy config if nginx > 1.25.1 2023-10-09 14:11:03 +02:00
Robert Boes
a3ea286550 Merge remote-tracking branch 'upstream/master' into feat/proxy-multiple-domains 2023-10-02 15:49:35 +02:00
driesvints
0fef72b64b Fix code styling 2023-09-28 14:24:39 +00:00
Mischa Braam
108bbf75b0 Fix magento2 driver (#1420)
+ simplify, let mode determine by Magento env config
2023-09-28 16:24:05 +02:00
Matt Stauffer
228834819e Merge pull request #1440 from jasonvarga/statamic
Support static caching in Statamic
2023-09-24 21:02:40 -04:00
Matt Stauffer
e91d70f36f Merge pull request #1439 from drbyte/laravel-driver-public-php-files
Allow LaravelValetDriver to serve other /public/*.php files
2023-09-24 21:00:45 -04:00
driesvints
03bb9cc131 Fix code styling 2023-09-21 19:31:00 +00:00
Dries Vints
55078675f4 PHP 8.3 (#1448)
* PHP 8.3

* PHP 8.3 (#1449)

---------

Co-authored-by: Chris Brown <code@drbyte.dev>
2023-09-21 21:30:35 +02:00
driesvints
f37a474700 Fix code styling 2023-09-05 15:50:18 +00:00
Jason Varga
b55140a079 adjust so that server variable doesnt need to be defined in all tests 2023-08-28 15:42:12 -04:00
Jason Varga
ee5391def6 rename 2023-08-28 15:14:38 -04:00
Jason Varga
fadd0d46b8 attempt statamic driver first 2023-08-28 14:38:58 -04:00
Jason Varga
12c10e0b03 add statamic driver 2023-08-28 14:38:42 -04:00
Chris Brown
cda54e17ea Allow LaravelValetDriver to serve other /public/*.php files
When PHP files other than index.php exist in /public/ this allows them to be served by the Laravel driver.

I discussed this previously at: https://github.com/laravel/valet/discussions/1430#discussioncomment-6536474
... but I think it's safe to include in the core LaravelValetDriver by default.
2023-08-27 13:55:07 -04:00
Matt Stauffer
088667d0ca Merge pull request #1422 from drbyte/stopdnsmasq
Add "valet stop dnsmasq" option
2023-08-26 22:47:18 -04:00
Robert Boes
bb36a3b437 Add support for proxying multiple domains at once 2023-08-25 10:56:06 +02:00
mattstauffer
d4ee503ec7 Fix code styling 2023-08-11 13:04:11 +00:00
Matt Stauffer
2320d15f7d Update cli/Valet/DnsMasq.php
Co-authored-by: Mateus Junges <mateus@junges.dev>
2023-08-11 09:03:30 -04:00
Marcel Pociot
0a33373bb6 Only delete resolver when Herd is not installed 2023-07-26 15:54:51 +02:00
driesvints
c1ef300469 Fix code styling 2023-07-21 03:30:59 +00:00
Chris Brown
269d157b0a Add "valet stop dnsmasq" option
Fixes #1419

Adds:
- `valet stop dnsmasq`
- `valet stop all` (which includes php, nginx, dnsmasq)
- When `valet stop` is called without a service name, a message indicates that dnsmasq can also be stopped via `valet stop dnsmasq`
- Aside: phpfpm now also displays a message when stopping; previously it was silent.
2023-06-20 16:35:59 -04:00
mattstauffer
a28d958afd Fix code styling 2023-05-16 19:27:36 +00:00
Matt Stauffer
f8d4ef583d Merge pull request #1415 from laravel/mes/ensure-base-configuration
Ensure base configuration is correct even if file already exists
2023-05-16 15:27:02 -04:00
Matt Stauffer
9ce0ca97b2 Ensure base configuration is correct even if file already exists 2023-05-16 08:23:41 -04:00
Matt Stauffer
55ceb3a7ad Load specific drivers before custom drivers to allow for extension.
Co-Authored-By: Chris Brown <code@drbyte.dev>
2023-05-15 12:26:47 -04:00
mattstauffer
a4145d77b5 Fix code styling 2023-05-12 02:23:35 +00:00
Matt Stauffer
228b6eb503 Merge pull request #1411 from drbyte/install-via-alt-tap
Install older PHP versions via alternate tap
2023-05-11 22:23:02 -04:00
Chris Brown
615d61dc8e Install older PHP versions via alternate tap
Fixes #1407

Homebrew's support policy now aggressively disables older versions earlier than it did previously.
That is why we tap the `shivammathur/php` repository.

But since Homebrew also now "keeps" those old formulae but marks them as disabled, when Valet runs `brew install php@7.4` it fails because Homebrew just aborts due to its flags in the outdated formula.
(They mark it as "disabled" and/or "keg_only :versioned_formula", but don't actually delete the formula from their repository.)
To override that we must use `brew install shivammathur/php/php@7.4` internally.

Therefore, we need to maintain a list of which PHP Versions we wish to specifically prefix with the `shivammathur/php` tap in order to bypass Homebrew's flags.

**ANNUAL MAINTENANCE**
1. This PR adds the array of `LIMITED_PHP_VERSIONS` which we will have to update annually when new PHP versions are retired as others are released.
2. We should also annually update the `LATEST_PHP_VERSION` string.
2023-05-05 22:17:42 -04:00