Laravel Valet for Mac OS X Linux and Laragon for Windows

Installing Laravel Valet on Mac OS X

You must first have Homebrew, PHP 7 or PHP 5.6, and Composer installed. See instructions below.

Laravel Valet
Here is the command to install Laravel Valet:

brew install homebrew/core/php
brew upgrade php
composer global require laravel/valet
valet install

Setting your parked directory for Laravel Valet

Navigate to root code folder and run this command:

valet park

If you run this on the wrong folder and want to unpark

valet forget

Secure the Laravel Valet Application

valet secure app

Unsecure the Laravel Valet installation

valet unsecure app

Sharing your Laravel Valet app with the world using ngrok

Use these commands to share your app with the world:

cd app
valet share

It will tell you the live URL that you can share with your friends.

Using Another Domain with Valet

By default, Valet serves your projects using the .dev TLD. If you'd like to use another domain, you can do so using the valet domain tld-name command.

For example, if you'd like to use .app instead of .dev, run valet domain app and Valet will start serving your projects at *.app automatically.

Uninstalling Laravel Valet

valet uninstall

These are my notes from a screencast found here:
https://laracasts.com/lessons/laravel-valet-is-the-bomb 

Upgrading Laravel Valet

You may update your Laravel Valet installation using this command in your terminal

composer global update

After upgrading Composer, it is good practice to run this command

valet install

Running this command allows Laravel Valet can make additional upgrades to your configuration files if necessary.


Laravel Valet for Mac OS X

https://github.com/laravel/valet

Laravel Valet for Ubuntu / Linux

https://github.com/cpriego/valet-ubuntu

https://packagist.org/packages/jmarcher/valet-linux

Laravel Valet for Windows 10

Windows port of the popular development environment Laravel Valet.

  • If you don't have Composer installed, make sure to install it.

  • Install Valet with Composer via composer global require cretueusebiu/valet-windows.

  • Run the valet install command. This will configure and install Valet and register Valet's daemon to launch when your system starts.

  • If you're installing on Windows 10, you may need to manually configure Windows to use the Acrylic DNS proxy.

Laravel Valet configures your Windows to always run Nginx in the background when your machine starts. Then, using Acrylic DNS, Valet proxies all requests on the *.dev domain to point to sites installed on your local machine.

https://github.com/cretueusebiu/valet-windows

Laragon for Windows users

https://laragon.org/

 

Visit sunny St. George, Utah, USA