Trying to load the Amazon Web Services SDK via composer. They statethat it is PSR-0 compliant. I have composer setup and installed the sdk package under APPPATH.'vendor'
Have tried lots of variants, including a require to include the composer autoload.php file, no luck with recognizing the "Aws" namespace. I have tried adding the namespace via these two ways:
I tried the second one after reading another post regarding general composer package usage that seemed to recommend just setting the top-level package folder.
In first use case I am trying to use the S3 storage library inside of one of my models. I have the following at the top as recomended by the AWS example documentation:
use \Aws\Common\Aws; use \Aws\S3\Enum\CannedAcl; use \Aws\S3\Exception\S3Exception;
Still getting an error that class Aws is not found.
Any ideas or recommendations on including this composer package?