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

33 Commits

Author SHA1 Message Date
Chris Sorrentino
5e69eab56c fix namespacing 2023-05-03 11:29:04 -04:00
Chris Sorrentino
b64f686758 Add driver for Radicle 2023-05-03 10:56:02 -04:00
Chris Brown
fd35343f60 [v4] Fix ngrok.io proxy/forwarding detection
Fixes #1384

Since Valet 4 uses Ngrok v3, this change is needed to accommodate the change ngrok made:
> In ngrok v3 the `X-Original-Host` header was replaced with the more standard `X-Forwarded-Host` to better align with web standards.
> More Info: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Forwarded-Host

Credit to @streamingsystems for doing the legwork.

Co-authored-by: streamingsystems <streamingsystems@users.noreply.github.com>
2023-04-24 21:48:04 -04:00
Ethan Clevenger
bfad7ed836 Correct function signature. Tests pass locally. 2023-03-22 11:06:17 -07:00
Ethan Clevenger
d7a40b7be2 More robust check for Bedrock environments 2023-03-22 11:04:09 -07:00
Philip Theobald
dfd4ee95f5 Fixes Valet\Drivers\LocalValetDriver not found error 2023-03-21 03:23:07 -05:00
Matt Stauffer
72804018cb Merge 2023-02-07 21:41:46 -05:00
StyleCI Bot
293746dff9 Apply fixes from StyleCI 2023-02-08 02:13:59 +00:00
Matt Stauffer
232dfd9361 Bring in changes to mirror #1356 2023-02-07 21:13:39 -05:00
Matt Stauffer
a2d3c04ab5 Make 127.0.0.1 SERVER_ADDR definition only if null (#1356) 2023-01-29 21:20:18 -05:00
Matt Stauffer
5c7b2d313a Add support for .valetrc (#1347)
* Add .valetrc support

* Apply fixes from StyleCI

* wip

Co-authored-by: StyleCI Bot <bot@styleci.io>
2023-01-18 20:44:51 -05:00
StyleCI Bot
6a100fc648 Apply fixes from StyleCI 2023-01-18 21:51:54 +00:00
Matt Stauffer
8ba65d6a68 Drop PHP 7.0, and update Magento driver to support PHP 7.3 2023-01-18 16:51:44 -05:00
Matt Stauffer
9143636c76 Add the ability for drivers to check Composer dependencies (#1345) 2023-01-13 21:54:59 -05:00
Matt Stauffer
831779cec0 Remove more docblocks 2023-01-11 11:40:32 -05:00
Matt Stauffer
4c2c4a1238 Drop unnecessary doc blocks (#1339)
* Drop unnecessary doc blocks

* Apply fixes from StyleCI

Co-authored-by: StyleCI Bot <bot@styleci.io>
2023-01-11 09:14:39 -05:00
Matt Stauffer
976339f898 Support isolated sites running PHP 7.4 2022-12-26 09:47:58 -05:00
Matt Stauffer
4c67413e7a Allow null response from frontControllerPath 2022-12-22 13:26:02 -05:00
Matt Stauffer
a77030ab08 Merge branch 'version-4' of github.com:laravel/valet into version-4 2022-12-21 19:57:01 -05:00
Matt Stauffer
d44d23daed Add doc blocks 2022-12-21 19:56:57 -05:00
StyleCI Bot
486fb9b339 Apply fixes from StyleCI 2022-12-22 00:54:25 +00:00
Matt Stauffer
20f48f6eab Replace some \n with PHP_EOL; move custom drivers into Custom namespace 2022-12-21 19:54:13 -05:00
Matt Stauffer
65b629db7f Write tests for Server.php 2022-12-21 17:45:34 -05:00
Matt Stauffer
400be90585 Resolve merge 2022-12-18 15:15:24 -06:00
Matt Stauffer
c1a7bbe8f3 Merge branch 'version-4' of github.com:laravel/valet into version-4 2022-12-18 15:12:33 -06:00
StyleCI Bot
a73be25a76 Apply fixes from StyleCI 2022-12-18 21:08:41 +00:00
Matt Stauffer
efa7937038 Update drivers location and loading
- Extract much of server.php into a `Server` class
- Move all but the Laravel and Basic drivers into a subfolder
- Load all but the Laravel and Basic drivers via glob
- Add `beforeLoading` hook to simplify the `frontControllerPath` method for some drivers
2022-12-18 15:08:17 -06:00
Matt Stauffer
29b94a48a6 Move server helpers to their own file; add type hints 2022-12-15 21:34:48 -06:00
StyleCI Bot
0c27c62cec Apply fixes from StyleCI 2022-12-03 23:11:03 +00:00
Matt Stauffer
59967c3068 Extract basic driver with public/ from basic driver, and simplify both 2022-12-03 18:10:54 -05:00
Matt Stauffer
e247533a09 Handle old custom Valet drivers 2022-12-02 22:32:13 -05:00
Matt Stauffer
884c39d70b Test, and fix, ValetDriver 2022-12-02 22:10:04 -05:00
Matt Stauffer
711e3dd2ba Move all drivers to PSR autoload, and write tests 2022-12-02 21:15:15 -05:00