Monday, 14 August 2017

How to install Laravel 5.5 project from scratch


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

Via Laravel Installer

composer global require "laravel/installer"

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 Laraquery

Via Composer Create-Project

Alternatively, you may also install Laravel by issuing the Composer create-project command in your terminal:
composer create-project --prefer-dist laravel/laravel blog 

Source: www.laravel.com 

No comments:

Post a Comment

cURL error 60: SSL certificate problem: unable to get local issuer certificate (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) in Laravel

  WampServer: Download this file:  http://curl.haxx.se/ca/cacert.pem Place this file in the  C:\wamp64\bin\php\php7.1.9  folder Open  php.in...

Popular Articles