Monday, April 11, 2016

How to test whether you installed composer successfully or not? 

Steps
1) Open terminal
2) type  composer

You should be able to view all these commands. If you have any error. Comment below. 


Time to jump on Creating Laravel Project
Note: Before starting laravel project, make sure you have composer installed and it should be accessible globally. 

Let's go:

Steps :->
  1. Open terminal
  2. Change directory to wamp/xamp [we need localhost as a server]
  3. type : laravel new project-name {project-name = your project name}


Step 2: Start Laravel Project

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