How to run composer.json COMMAND Mode


Step 1: run

php -r "readfile('https://getcomposer.org/installer');" | php

Step 2: create "composer.json" file

{
   "require": {
      "2amigos/yii-aws": "dev-master"
   }
}

Step 3: Run .phar extension file.

php composer.phar install

Then auto generate "vendor" folder.

Write Code top page:
require __DIR__ . '/vendor/autoload.php';

Share on Google Plus

About Ram Pukar

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment

0 comments:

Post a Comment