Fastest Web Hosting

how to install laravel 5.0

0 votes
asked Nov 4, 2016 in Laravel by punnet (400 points)

I'm having trouble getting a test instance of Laravel 5.0 up and running so I can assist with this transition.

1) Creating a new app from https://github.com/laravel/laravel/tree/develop leads to the following error when running composer install.

{"error":
    {"type":"ErrorException",
     "message":"Undefined index: timezone",
     "file":"\/Projects\/indatus\/dispatcher-test-app\/vendor\/laravel\/framework\/src\/Illuminate\/Foundation\/start.php",
     "line":167}
}
{"error":
    {"type":"ErrorException",
     "message":"Undefined index: timezone",
     "file":"\/Projects\/indatus\/dispatcher-test-app\/vendor\/laravel\/framework\/src\/Illuminate\/Foundation\/start.php",
     "line":167}}

Am I completely missing something?

1 Answer

+1 vote
answered Nov 7, 2016 by puneet

As Laravel 5.0 is already final release, to install it, you should run

composer create-project laravel/laravel test-laravel-5-project --prefer-dist 

In this,test-laravel-5 is the name of the laravel project, and you can run this command,and the laravel installed.

Job Board

TechnicalSharp is a technical community of developers where they are sharing their knowledge and solutions and against it they are getting the score point which help them to make profile strong which is under eyes on MNC's
...