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

1677 Commits

Author SHA1 Message Date
Dries Vints
15e444afc2 version v4.4.1 2023-10-03 16:51:46 +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
driesvints
68528ba6da Update CHANGELOG 2023-09-26 16:38:46 +00:00
Dries Vints
15185fcabb version v4.4.0 2023-09-26 18:38:05 +02:00
mattstauffer
a48540d3b4 Fix code styling 2023-09-25 16:55:28 +00:00
Matt Stauffer
eb0bc01d9f Merge pull request #1428 from mcaskill/improve-link-subcommands
Fix link command's `--isolate` argument with custom name
2023-09-25 12:55:01 -04: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
Dries Vints
f9ee253db3 Update tests/CliTest.php 2023-09-08 15:41:14 -04:00
Chauncey McAskill
c02361beb1 Add conflict about mnapoli/silly 1.8.1–1.8.2 2023-09-08 15:41:14 -04:00
Chauncey McAskill
35539feef4 Bump requirement for mnapoli/silly to 1.5+
Silly v1.5.0 introduced improvements on command arguments and options that are used by Valet.
2023-09-08 15:41:14 -04:00
Chauncey McAskill
24e7ed8ab9 Add test of link command's isolate flag
Based on `PhpFpmTest::test_isolate_will_isolate_a_site()` and `CliTest::test_link_command_with_secure_flag_secures()`.
2023-09-08 15:41:14 -04:00
Chauncey McAskill
a268179535 Ensure link command checks current directory for PHP version
This matches the isolate command's usage of `Site::phpRcVersion()`.
2023-09-08 15:41:14 -04:00
Chauncey McAskill
f378dc75de Improve link command's secure and isolate sub-commands
Passing a custom hostname to the `link` command with the `--isolate` argument will result in either a mismatched site being isolated or the site not being found ("The [example] site could not be found in Valet's site list.").

The reason for this is because the `isolate` command defaults to using the current directory's _name_ which won't match the custom hostname.

This issue does not affect the `secure` command because it resolves the hostname from the current directory's _full path_.

This commit passes the hostname (either custom or the current directory's name) to both sub-commands to ensure consistency of operations.

Note: A bug introduced in mnapoli/silly v1.8.1 breaks all arguments in `runCommand()` method. See mnapoli/silly#69 for details and mnapoli/silly#70 for pull request.
2023-09-08 15:41:12 -04:00
driesvints
cdc8c19eff Update CHANGELOG 2023-09-05 15:50:38 +00:00
driesvints
f37a474700 Fix code styling 2023-09-05 15:50:18 +00:00
Dries Vints
92c135e2dd Update app.php v4.3.0 2023-09-05 17:49:55 +02:00
Matt Stauffer
a6b94dcca7 Merge pull request #1438 from laravel/mes/drop-uninstalled-logs
Drop Mailhog and Redis from default logs list, since Valet doesn't install them
2023-08-29 17:10:56 -04:00
Dries Vints
11c6ae1206 Update app.php 2023-08-29 17:32:16 +02:00
Jason Varga
df9e1effe4 priority test 2023-08-28 16:09:24 -04: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
e52b901415 add test for static caching 2023-08-28 15:41:41 -04:00
Jason Varga
a93f267c03 adjust tests 2023-08-28 15:40:33 -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
e03de8856f Drop Mailhog and Redis from default logs list, since Valet doesn't install them 2023-08-27 11:13:47 -04:00
mattstauffer
9a4a7a1693 Fix code styling 2023-08-27 02:47:47 +00:00
Matt Stauffer
088667d0ca Merge pull request #1422 from drbyte/stopdnsmasq
Add "valet stop dnsmasq" option
2023-08-26 22:47:18 -04:00
mattstauffer
2af8aba068 Update CHANGELOG 2023-08-14 19:05:59 +00:00
Matt Stauffer
9042c28a00 Bump version v4.1.4 2023-08-14 15:05:12 -04:00
mattstauffer
d4ee503ec7 Fix code styling 2023-08-11 13:04:11 +00:00
Matt Stauffer
109c9d42ae Merge pull request #1434 from mpociot/herd-patch
Only delete DNSMasq resolver when Herd is not installed
2023-08-11 09:03:47 -04: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
4007d256fd Update CHANGELOG 2023-07-21 03:31:45 +00:00
Dries Vints
31017e611a Update app.php v4.1.3 2023-07-21 05:31:01 +02:00
driesvints
c1ef300469 Fix code styling 2023-07-21 03:30:59 +00:00
datashaman
b5103d15bb Add quotes around $PHP (#1431)
If the PHP executable path has a space in it, it breaks valet. For example, when using the new Laravel Herd which stores its config and binaries under `~/Library/Application Support/Herd/...`
2023-07-21 05:30:32 +02: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
driesvints
c7ace590ba Update CHANGELOG 2023-05-30 14:53:31 +00:00
Dries Vints
3bb54ae5b0 Update app.php v4.1.2 2023-05-30 16:52:55 +02: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
c95334a7e1 Merge pull request #1414 from laravel/mes/allow-custom-drivers-to-extend-specific-drivers
Load specific drivers before custom drivers to allow for extension.
2023-05-16 15:26:29 -04:00
driesvints
3f8396dfaa Update CHANGELOG 2023-05-16 15:42:58 +00:00