php - Class 'ZendService\Amazon\S3' not found even though it is installed via Composer -


My project is based on the Zend Skeleton App, and I am using Composer to add vendor packages. However, when I add the Zedders-Amazon package, it is not getting autoloaded.

Here's my composer Jason is a part of the file:

  "require": {"Php": "> = 5.3.3", "zendframework / zendframework": "2.3. *", "Zendframework "Zf-commons / zfc-user-doctrine-orm": "dev-master"} "/ zendservice-amazon": "2.0. *", "Theory / theory- orm-module": "0.7. *", "Zf-commons / Code>  

I have seen the autoload files in the vendor directory, and they are included in this ZendService \ Amazon Namespace I have tried many different things, but this is not working.

I have double checked that the musician's auto-loader is being used, so is it really a surprise? thank you in advanced. Documents and examples are wrong in the Zend Framework documentation, rather than:

$ s3 = new \ ZendService \ Amazon \ S3 ();

You need to add an extra "S3":

  $ s3 = new \ ZendService \ Amazon \ S3 \ S3 ();    

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -