How to use rackspace php-opencloud with Laravel 4

I'm trying to use php-opencloud library with Laravel 4 (this is my first time with this, I'm a little intimidated ...)

I added this to my composer.json, tried a composer update that loaded lib correctly, but what next? How can I autoload it?

"repositories": { "php-opencloud": { "type": "package", "package": { "name": "rackspace/php-opencloud", "version": "1.4.1", "source": { "url": "https://github.com/rackspace/php-opencloud.git", "type": "git", "reference": "origin/master" } } } } 
+4
source share
1 answer

Most packages that you install through Composer use autoload:

Basically this is just one file in your bootstrap, and you are ready to go:

 require 'vendor/autoload.php'; 

This refers to where you placed the composer.json file.

0
source

All Articles