1.

How to install laravel via composer ?

Answer»

Composer is a dependency manager. If it's not installed on your SYSTEM

  1. can be installed via following steps mentioned https://getcomposer.org/download/.
  2. Once Composer is installed on your system create a project directory for Laravel project.
  3. Now move to the path where Laravel directory is created and execute the following COMMAND.

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

This command will be installing Laravel in the current directory

  1. To START Laravel, execute the following command

php artisan serve 

It will start the Laravel development server.

  1. At browser now run HTTP://localhost:8000/

Server Requirement to INSTALL Laravel 5.6

  • PHP >= 7.1.3
  • OpenSSL PHP Extension
  • PDO PHP Extension
  • Mbstring PHP Extension
  • Tokenizer PHP Extension
  • XML PHP Extension
  • Ctype PHP Extension
  • JSON PHP Extension


Discussion

No Comment Found