I'm starting a new project and i want to start it with a new version of laravel. I don't want to upgrade and old version.
How can I create a Laravel 5.2 project?
Where is my problem and what did I do:
I installed laravel 5.1 with
composer create-project --prefer-dist laravel/laravel projectname
also laravel new projectname
has the same problem.
This is the composer file after installing a fresh project
{
"name": "laravel/laravel",
"description": "The Laravel Framework.",
"keywords": ["framework", "laravel"],
"license": "MIT",
"type": "project",
"require": {
"php": ">=5.5.9",
"laravel/framework": "5.1.*"
},
"require-dev": {
"fzaninotto/faker": "~1.4",
"mockery/mockery": "0.9.*",
"phpunit/phpunit": "~4.0",
"phpspec/phpspec": "~2.1"
},
...
I also tried with
composer create-project laravel/laravel=5.2.0 projectname
but i got this error
could not find package laravel/laravel with version 5.2.0.
I tried with composer self-update
same problem
I read laravel 5.2 documentation. It is officially out