PHPackages                             fanatik3/cakephp3-aws-s3-datasource - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. fanatik3/cakephp3-aws-s3-datasource

ActiveCakephp-plugin[File &amp; Storage](/categories/file-storage)

fanatik3/cakephp3-aws-s3-datasource
===================================

AWS S3 datasource in CakePHP3

0.0.3(8y ago)024MITPHP

Since Aug 18Pushed 6y agoCompare

[ Source](https://github.com/fanatik3/cakephp3-aws-s3-datasource)[ Packagist](https://packagist.org/packages/fanatik3/cakephp3-aws-s3-datasource)[ Docs](https://github.com/sters/cakephp3-aws-s3-datasource)[ RSS](/packages/fanatik3-cakephp3-aws-s3-datasource/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (5)Versions (5)Used By (0)

CakePHP3 AWS S3 Datasource
==========================

[](#cakephp3-aws-s3-datasource)

[![CircleCI](https://camo.githubusercontent.com/d605fa38dd5d9dde8acc413628c5397543dd20e452ee54edda38fa6b3548162f/68747470733a2f2f636972636c6563692e636f6d2f67682f73746572732f63616b65706870332d6177732d73332d64617461736f757263652f747265652f6d61737465722e7376673f7374796c653d737667)](https://circleci.com/gh/sters/cakephp3-aws-s3-datasource/tree/master)

This CakePHP 3.0 plugin provides AWS S3 Datasource.

Installation
------------

[](#installation)

Install Plugin using composer.

```
$ composer require "sters/cakephp3-aws-s3-datasource:dev-master"

```

Add `Plugin::load()` on your `config/bootstrap.php`.

```
Plugin::load('CakeS3');

```

Add S3 Datasource on your `config/app.php`.

one Datasrouce has one S3 Bucket connection. **You can not across bucket processing**.

```
'Datasource' => [
    'my_s3_connection' => [
        'className'  => 'CakeS3\Datasource\Connection',
        'key'        => 'put your s3 access key',
        'secret'     => 'put your s3 access secret',
        'bucketName' => 'put your bucket name',
        'region'     => 'put your region',
    ],
],

```

Setup new table using s3 connection.

`$_connectionName` is your wrote connection name in `config/app.php` Datasource.

```
