Toskan
Toskan

Reputation: 14951

laravel installation of 5.1 LTS compared to 5.2 in their docs is identical

https://laravel.com/docs/5.1#installation

composer global require "laravel/installer"
laravel new blog

ok cool, seems simple

now let's check out how to install 5.2

composer global require "laravel/installer"
laravel new blog

right, exactly the same. I guess the 5.1 installation is actually the 5.2 installation and their docs is buggy. That is, starting from the very very first step, the installation, already wrong.

I hoped I wouldn't have to start that way.

so i guess i need to use the composer install?

Upvotes: 0

Views: 149

Answers (1)

Marcin Nabiałek
Marcin Nabiałek

Reputation: 111869

Documentation is up-to-date with current state when it was released. Probably nobody will update documentation for old releases unless serious changes were made.

To create Laravel 5.1 project you should use:

composer create-project laravel/laravel name_of_your_project 5.1

And to create Laravel 5.2 project you should use:

composer create-project laravel/laravel name_of_your_project 5.2

Upvotes: 1

Related Questions