We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Phalcon with AWS

I am building API's using Phalcon Micro framework. I would like to upload/download files as raw data(byte code format) into my AWS S3 bucket folder. Is there a way of doing this without using the AWS SDK for PHP ? Or can I use the AWS SDK for PHP without having to put the whole SDK folder inside my project ?

Any help is highly appreciated.

edited Jun '17

You CAN do it without the AWS SDK - if you implement the methods yourself. Which is not a good idea, stick the official SDK ;]

You CAN use the SDK without putting it in your project - but you still have to load those files, so it's not a good idea. Use composer for managing 3rd party dependencies: https://packagist.org/packages/aws/aws-sdk-php