Wednesday, April 3, 2019

How to set up laravel 5.8 step by step.

Laravel is the most powerful framework of php

First of all you need what are server requirements for set up laravel

Server Requirements
  • PHP >= 7.1.3
  • OpenSSL PHP Extension


  • PDO PHP Extension
  • Mbstring PHP Extension
  • Tokenizer PHP Extension
  • XML PHP Extension
  • Ctype PHP Extension /li>
  • JSON PHP Extension
  • BCMath PHP Extension
step 1: first of all you need to install composer

 see how to install composer >>

step 2: Now, download the Laravel installer using Composer:
composer global require laravel/installer 
 
step 3: Now, Create Project via composer
composer create-project --prefer-dist laravel/laravel blog

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