- Install composer from getcomposer.org0
- Then, Download the Laravel installer using Composer: composer global require laravel/installer
3.Once installed, the laravel new
command will create a fresh Laravel installation in the directory you specify. For instance, laravel new blog
will create a directory named blog
containing a fresh Laravel installation with all of Laravel’s dependencies already installed :
laravel new blog
4.Local Development Server
If you have PHP installed locally and you would like to use PHP's built-in development server to serve your application, you may use the serve Artisan command. This command will start a development server at http://localhost:8000:
Command : php artisan serve
Latest posts by rahuldev k (see all)
- How to install Laravel ? - August 21, 2021