I've been trying to install laravel 5.6 using composer but it is always installing version 5.5. I found this question which says this problem was fixed but trying that solution does not solve my problem. I tried doing
composer -vvv create-project --prefer-dist laravel/laravel fullstackart "5.6"
but got the following exception
[InvalidArgumentException]
Could not find package laravel/laravel with version 5.6.
I also tried
composer create-project laravel/laravel your-project-name-here dev-develop
and had a similar error saying package not found.
Has anyone else had this problem and found any solution which I have not mentioned here? Would greatly appreciate any suggestions