In this tutorial you will learn about the Set Up Laravel Valet on Mac and Serve Sites with Laravel Valet and its application with practical example.
In this Set Up Laravel Valet on Mac and Serve Sites with Laravel Valet tutorial I will show you how to set up or configure a Laravel development environment on the Mac and how to run laravel web applications through Laravel Valet mechanism. In this tutorial you will learn to Set Up Laravel Valet on Mac and Serve Sites with Laravel Valet.
Set Up Laravel Valet on Mac and Serve Sites with Laravel Valet
In this step by step tutorial I will guide you through how to Set Up Laravel Valet on Mac and Serve Sites with Laravel Valet. Please follow the instruction given below:
Installing Homebrew in Mac
In this step we will install Homebrew package manager on your development machine.
1 |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" |
Configure PHP in Mac
Since Laravel is a PHP framework, so we need to install the latest PHP version using Homebrew.
1 |
brew install php |
MySQL Installation
Now we will install MySql using following command.
1 |
brew install mysql |
Lets start the MySQL services using following command.
1 |
brew services start mysql |
On MySQL startup the following message will be displayed on your terminal window: