I need to install archive version of Laravel 4.1 php framework. I tried installing using composer in ubuntu machine by executing the command given below:-
composer create-project laravel/laravel /var/www/demo --prefer-dist
But it is downloading the latest version 4.2.
How can i download a specific version of this framework by using either composer or phar?