Month: February 2017

install dependencies or use composer at all in windows

For very Beginner Windows Users

  • Download the installer for windows from here
  • Check the installation by executing composer command at command prompt
  • Now, create the composer.json file at the same level where you have Vendor directory. (Not inside Vendor)
  • Move to the directory where you have composer.json through command prompt and run following command composer install
  • It shows the messages like ‘packages are downloaded’ and ‘autoload.php file created. (Check your /app/Vendor/ Directory)
  • now insert this code at the beginning of /app/config/core.php
  • require_once dirname(__DIR__) . '/Vendor/autoload.php';the above code will load all the classes automatically.