title: Fatal error: Class 'OpenCloud\Rackspace' not found
body: <p>For a custom application, I am trying to integrate Rackspace cloud files using php-opencloud library.</p>
  
  <p>This is the link I followed for setup -<a href="https://github.com/srijanaravali/php-opencloud/blob/master/docs/getting-started.md" rel="nofollow">https://github.com/srijanaravali/php-opencloud/blob/master/docs/getting-started.md</a></p>
  
  <pre><code># Install Composer
  curl -sS https://getcomposer.org/installer | php
  
  # Require php-opencloud as a dependency
  php composer.phar require rackspace/php-opencloud:dev-master
  </code></pre>
  
  <p>However, when I try to instantiate a client object, it throws an error:</p>
  
  <pre><code>Fatal error: Class 'OpenCloud\Rackspace' not found in /var/www/example/Project/sites/all/libraries/php-opencloud/test.php on line 7
  </code></pre>
  
  <p>Here is the code snippet:</p>
  
  <pre><code>&lt;?php
  
  require 'vendor/autoload.php';
  use OpenCloud\Rackspace;
  
  // 1. Instantiate a Rackspace client.
  $client = new Rackspace(Rackspace::US_IDENTITY_ENDPOINT, array(
      'username' =&gt; getenv('Axxxxxxx'),
      'apiKey'   =&gt; getenv('abcxxxxxxxxxxxxxxxxxxxx')
  ));
  
  print_r($client); die('!!');
  </code></pre>
  
  <p>Any pointers about whats missing?</p>