Installation Laravel

By
Installation Laravel

The Laravel framework has a few system requirements. Of course, all of these requirements are satisfied by the Laravel Homestead virtual machine, so it’s highly recommended that you use Homestead as your local Laravel development environment.

Installation Laravel

Laravel utilizes Composer to manage its dependencies. So, before using Laravel, make sure you have Composer installed on your machine.

Via Composer Create-Project

you may also install Laravel by issuing the Composer create-project command in your terminal:

Once installed, the laravel new command will create a fresh Laravel installation in the directory you specify. For instance, laravel new project will create a directory..

composer create-project --prefer-dist laravel/laravel blog

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:

php artisan serve

 
When user want’s to terminate our previously started server that time, use following for termination

Press Ctrl-C to quit.

Latest Blog