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

42 Commits

Author SHA1 Message Date
driesvints
fc1b23b523 Fix code styling 2024-08-02 08:24:13 +00:00
mattstauffer
e75f238b22 Fix code styling 2023-12-21 03:25:35 +00:00
driesvints
c1ef300469 Fix code styling 2023-07-21 03:30:59 +00:00
Matt Stauffer
dd8e15edf5 Implement valet fetch-share-url when working with Expose (#1349)
* Flesh out Expose currentTunnelUrl method

* Apply fixes from StyleCI

* Prep for requiring a certain version of Expose

* Don't call installed() before installedVersion() in Composer

Co-authored-by: StyleCI Bot <bot@styleci.io>
2023-01-24 20:53:05 -05:00
Matt Stauffer
4c10d906f7 Add debug instructions to valet status, expand "valet installed" status check 2023-01-11 11:37:47 -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
f2a62f51c6 Merge v3 2022-12-22 11:47:01 -05:00
Matt Stauffer
e19afe51ad Clean up NullWriter; drop legacy config check 2022-12-22 00:27:09 -05:00
StyleCI Bot
9ed585c92d Apply fixes from StyleCI 2022-12-22 05:07:44 +00:00
Matt Stauffer
0f91d88bc4 Clean up NullWriter references 2022-12-22 00:07:24 -05:00
StyleCI Bot
906a828b2e Apply fixes from StyleCI 2022-12-21 01:10:10 +00:00
Matt Stauffer
78d0398942 Bump compat to php 8; add type hints and return types to helpers 2022-12-20 20:09:58 -05:00
Matt Stauffer
6bd3cf660a Clean up helpers 2022-12-20 20:04:28 -05:00
Dries Vints
a0e1e02a47 Test Valet commands (#1256)
* First attempt at testing CLI commands

* Apply fixes from StyleCI

* Protect from running locally

* Fix test

* wip

* wip

* wip

* wip

* wip

* Update app.php

* Create config folder and files for CLI tests

* Apply fixes from StyleCI

* Fix some formatting

* Fix imports

* Update all output() calls to use the writer passed in by the command

Ugly capture of all $outputs from commands, by passing them into `writer()` to be bound into the container, where they can then be pulled out from calls to `output()` and its buddies `info()`, `table()`, and `warning()`.

* Apply fixes from StyleCI

* Flesh out park command test

* Apply fixes from StyleCI

* Drop php 7.0 and 7.1

Co-authored-by: StyleCI Bot <bot@styleci.io>
Co-authored-by: Matt Stauffer <matt@tighten.co>
2022-12-02 09:32:28 +01:00
Matt Stauffer
383aa62137 Change magic isolation config string to "ISOLATED_PHP_VERSION"
Co-Authored-By: Jacob Baker-Kretzmar <18192441+bakerkretzmar@users.noreply.github.com>
2022-03-14 14:40:45 -04:00
George Buckingham
dffc68267b Fix styleci formatting. 2021-12-29 10:31:13 +00:00
George Buckingham
2d2c2e4aa3 Fix warnings when using Valet in non-CLI context 2021-12-29 10:19:42 +00:00
Taylor Otwell
101abeae0e Apply fixes from StyleCI 2021-12-06 10:40:37 +00:00
Matt Stauffer
a59a4624fa Small changes to allow Valet to be used in non-CLI contexts 2021-03-31 11:09:37 -04:00
Mikaël Popowicz
2d5ee9d7cc Add loopback command. 2021-02-21 23:21:12 +01:00
Cretu Eusebiu
73d752e404 Import Exception 2020-12-08 20:59:44 +02: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
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
Chris Brown
b23650c9d7 Automatically move config for upgrade
Fixes #635 by detecting if the config directory is in the old location and moving it immediately when running any Valet command.
2018-09-19 19:04:12 -04:00
Matt Stauffer
7eb1aec410 Merge pull request #449 from eberkund/master
Move ~/.valet to ~/.config/valet
2018-08-30 08:33:28 -04:00
Colin DeCarlo
20afe84f36 Move the helper functions into the Valet namespace 2018-06-20 16:01:37 -04:00
Erik Berkun-Drevnig
0fd37b0fed Change paths from ~/.valet to ~/.config/valet 2017-09-28 14:44:14 -04:00
Josh Manders
d80b996adf pretty print sites 2017-02-20 20:48:37 -06:00
Adam Wathan
6727e43288 Use UUID for static asset path instead of "static" 2016-12-12 15:46:09 -05:00
Caleb Porzio
bb19f85748 Fix potential resolve() helper function conflict (#218) 2016-12-08 16:14:32 -06:00
Daniel Polito
e157d47bc7 Adding function_exists to retry 2016-10-21 11:39:00 -02:00
Adam Wathan
73a205aa81 Serve static files through Caddy instead of PHP 2016-09-28 16:58:13 -04:00
Adam Wathan
3aaacbd64e Revert to serving static files through PHP until Caddy bug resolved 2016-09-24 10:21:35 -04:00
Adam Wathan
4aee028ca5 Fix incorrect path replacement for server.php 2016-08-18 18:54:07 -04:00
Nate Ritter
e43f9a2eb9 Adding a function_exists conditional around the tap method to reduce conflict with the illuminate/support library 2016-06-09 01:17:17 -07:00
Nate Ritter
65b93aa013 Revert "Reducing conflicts with other libraries like illuminate/support by wrapping the tap method in a function_exists conditional."
This reverts commit 8d74945391.
2016-06-09 01:15:22 -07:00
Nate Ritter
8d74945391 Reducing conflicts with other libraries like illuminate/support by wrapping the tap method in a function_exists conditional. 2016-06-09 01:14:29 -07:00
Lucas Michot
2497122810 Use strict comparisons (#74) 2016-05-27 10:36:50 -05:00
Kennedy Tedesco
5789f0fdea Add warning() helper (#58)
Just a helper to output a warning.
2016-05-12 16:09:10 -05:00
Taylor Otwell
97f7ae2342 organize better 2016-05-10 08:29:24 -05:00