Tag Archives: AmazonS3

How to use Amazon S3 services in Cakephp 03Dec, 2014

How to use Amazon S3 services in Cakephp

Amazon S3 is an online storage service that provides simple web service interface to store and retrieve data. This space has to be purchased. This article covers uploading and deleting the files from Amazon S3 through Cakephp 2.2.2 Component. You can extend this component as per your requirement. You can understand the usage of this component with the below mentioned steps: 1) Put AWS SDK in /app/Controller/Component folder. You can download the aws attached with this article, or you can download it as zip from 2) Put AwsComponent.php file in /app/Controller/Component folder. 3) Configure your component in constructor of the component as : $this->s3 = S3Client::factory(array( ‘key’ => YOUR_API_KEY, ‘secret’ => YOUR_API_SECRET, ‘region’ => ‘eu-west-1’, )); 4) Load component in…

Posted in: Cakephp
Amazon S3 Integration with YII Framework 07Apr, 2014

Amazon S3 Integration with YII Framework

Amazon S3 is an online file storage repository offered by Amazon Web Services. It provides extensive storage capabilities in the cloud through a number of web services interfaces. Launched in 2006, Amazon S3 serves thousands of customers and stores billions of objects. Using the extension I have described below, you can interact with Amazon S3 using the class created by Donovan Schönknecht. This wrapper class enhances the S3 class and creates an extension for YII. The important function of this wrapper class is that it can be used easily with one line of code in your YII controller. Apart from that, you can also extend it to create your own functions as required. Here are the simple step-by-step instructions to…

Posted in: YII