Monday, February 8, 2016

How To Create Laravel 5 New Project


.
How To Create Laravel 5 New Project

0) Pre-requisite

Follow the previous tutorial to set up Laravel installer, http://php-steps.blogspot.my/2016/02/how-to-set-up-php-composer-and-laravel.html 

1) Using Laravel Installer

Go to your target installation directory, for e.g c:\z\webprojects\.
Type cd c:\z\webprojects
Then, Type laravel new blog1
You may encounter an error that says mbstring is missing.
Open php.ini file and uncomment the related line.

2) Using Composer

Alternatively, you can use Composer to create a new Laravel project.
It goes a long way to create the project.

3) Comparison

By comparison, the first approach created a folder blog1 with a size of 750kb while the second approach created a folder blog2 with a size of 20.7MB. Obviously Composer has downloaded more files.
Blog1 failed to load.
Blog2 displayed the following.
Why?
Directory comparison shows that Blog1 is missing the vendor folder (20.5MB)


Click here to solve this problem (Laravel project missing vendor files)
.

1 comment:

  1. Laravel Development Company, Get a free quote for laravel web development requirement from a leading Laravel Development Company. Discuss your web project with us to get large discounts...Contact us : +91-9806724185 or Contact@expresstechsoftwares.com

    ReplyDelete

Labels