Laravel Introducation / Installation

To start this session we need to install Laravel framework in our local machine(Computer) To install a fresh Laravel project we have many different methods. but the best method is to install via Composer to install a fresh new project via Composer write this command.


composer global require "laravel/installer"


After that, you can install new project by this Command.

Via Composer Create-Project


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


Via Laravel Installer

laravel new blog


It takes some time or depends on your internet speed. after Successfully install you can see these files.

Laravel Introducation / Installation

Now, we have a fresh new Laravel project. To run this project on our default browser run this command on your CMD (make sure your CMD Path should be in Project Folder).


php artisan serve


After this Command Your will the terminal look like this...

Laravel Introducation / Installation

Now you can open this  URL in the browser "//"  or "localhost:8000"  and see the welcome page of Laravel Project.

Laravel Introducation / Installation