I want to install the following plugin and helper through Composer:
https://github.com/cakephp/debug_kit https://github.com/loadsys/twitter-bootstrap-helper
Here is my composer .json:
{ "repositories": [ { "type": "package", "package": { "name": "cakephp/debug_kit", "version": "2.0", "source": { "url": "https://github.com/cakephp/debug_kit", "type": "git", "reference": "origin/2.0" } } }, { "type": "package", "package": { "name": "loadsys/twitter-bootstrap-helper", "version": "2.1", "source": { "url": "https://github.com/loadsys/twitter-bootstrap-helper", "type": "git", "reference": "origin/2.1" } } } ], "require": { "loadsys/twitter-bootstrap-helper": "2.1.*", "cakephp/debug_kit": "2.0" }, "config": { "vendor-dir": "Vendor/" }, "autoload": { "psr-0": { "DebugKit": "/cakephp/debug_kit/", "TwitterBootstrap" : "/loadsys/twitter-bootstrap-helper" } } }
Packages successfully installed in Vendor / cakephp / debug_kit and Vendor / loadys / twitter-bootstrap-helper
My problems are how to upload them to CakePHP. In my bootstrap.php there is the following:
require APP . 'Vendor/autoload.php';
When I try to download a plugin after an autoload request with:
CakePlugin::load('DebugKit');
Unable to find. Similar results with loading assistant in my AppController.php using
public $helpers = array('TiwtterBootstrap');
I am new to Composer and probably missed something simple or just didn't understand how to properly load them from the Vendors folder.