title: Composer installed Amazon AWS SES PHP Classes not available
body: <p>I can't use the AWS SES PHP Classes although I already installed the AWS PHP 2 SDK via composer.</p>
  
  <p>The PHP at root level is:</p>
  
  <pre><code>require __DIR__ . '/vendor/autoload.php'; //esto añade lo que gestiona composer
  use Aws\Common\Aws;
  use Aws\Ses\SesClient;
  $client = SesClient::factory(
                  array(
                      'key' =&gt; $userid,
                      'secret' =&gt; $secret,
                      'region' =&gt; 'us-east-1' // SES has only us-east-1 endpoint, but can be used from global
                  )
  );
  </code></pre>
  
  <p>Browser execution is returning this: </p>
  
  <p><strong>Fatal error: Class 'Aws\Common\Aws\Ses\SesClient' not found in /homepages/13/d357210024/htdocs/api/sendses.php on line 41</strong></p>
  
  <p>The composer.json at root is just this:</p>
  
  <pre><code>{
      "require": {
          "aws/aws-sdk-php": "2.*"
      }
  }
  </code></pre>
  
  <p>and the /vendor folders contain the aws, composer, guzzle and symfony packages along with the autoload.php that contains only this code:</p>
  
  <pre><code>&lt;?php
  
  // autoload.php @generated by Composer
  
  require_once __DIR__ . '/composer' . '/autoload_real.php';
  
  return ComposerAutoloaderInita6b8287c70832f4f8a65e83c0ad07b6d::getLoader();
  </code></pre>
  
  <p>So... Could you point what I'm missing here?
  Thank so much mates.</p>