From 7d7afdd2180209d8af4efa1252ed3a7fcbe76c91 Mon Sep 17 00:00:00 2001 From: Julien Le Coupanec Date: Thu, 5 Sep 2019 12:57:22 +0200 Subject: [PATCH] docs(laravel): add valet commands --- backend/laravel.php | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/backend/laravel.php b/backend/laravel.php index 70d128a..98c4952 100644 --- a/backend/laravel.php +++ b/backend/laravel.php @@ -379,3 +379,27 @@ $this->assertGuest($guard = null); // Assert t $this->assertAuthenticatedAs($user, $guard = null); // Assert that the given user is authenticated. $this->assertCredentials(array $credentials, $guard = null); // $this->assertCredentials(array $credentials, $guard = null). $this->assertInvalidCredentials(array $credentials, $guard = null); // Assert that the given credentials are invalid. + +/******************************************************************************************** + * 14. LARAVEL VALET COMMANDS + * https://laravel.com/docs/6.0/valet + ********************************************************************************************/ + +valet install // Install the Valet daemon. +valet uninstall // Uninstall the Valet daemon. +valet use php@7.2 // Allows you to switch between php versions. + +valet restart // Restart the Valet daemon. +valet start // Start the Valet daemon. +valet stop // Stop the Valet daemon. + +valet park // Register your current working directory as a path which Valet should search for sites. +valet forget // Run this command from a "parked" directory to remove it from the parked directory list. +valet paths // View all of your "parked" paths. +valet link // Link a single site in the current directory and not the entire directory. +valet unlink // Unlink a single site in the current directory +valet secure // Serve site into https +valet unsecure // Revert back to http + +valet log // View a list of logs which are written by Valet's services. +valet trust // Add sudoers files for Brew and Valet to allow Valet commands to be run without prompting for passwords.