Try installing using Composer. It is easier and you will need composer at some point of your development anyway. Once you've installed composer cd into our directory and then the following command in your terminal -
composer create-project laravel/laravel directory_name 4.2
Hopefully this will work.
Cheers!
devKhairul said:
Try installing using Composer. It is easier and you will need composer at some point of your development anyway. Once you've installed composer cd into our directory and then the following command in your terminal -
composer create-project laravel/laravel directory_name 4.2
Hopefully this will work.
Cheers!
Thanks for reply, I can try other ways suggested in doc, but I just want to learn how to install via installer
and that too suggested that its is best approach.
@dmahesh22,
if you read the code of installer, you'll see that it just downloads http://cabinet.laravel.com/latest.zip
and extracts it into the specified directory. There's no way to specify a version of laravel to fetch, it's always the latest. So yeah, use composer.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community