Showing posts with label Composer Installation. Show all posts
Showing posts with label Composer Installation. Show all posts

Friday, April 8, 2016

Before we begin to learn laravel, first you need to install Composer in order to install laravel project using the command line.

Step 1 : Download the composer.exe file using this link.

Step 2: Double click on the downloaded  .exe link.
Note:  You can also do it manually but it require a lot of work to do, but using .exe file you can easily add an environment variable in windows os.



Installation Guide for Other OS:

php -r "readfile('https://getcomposer.org/installer');" > composer-setup.php
php -r "if (hash('SHA384', file_get_contents('composer-setup.php')) === '7228c001f88bee97506740ef0888240bd8a760b046ee16db8f4095c0d8d525f2367663f22a46b48d072c816e7fe19959') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php
php -r "unlink('composer-setup.php');"

Step 1 : Installation of Composer