2017-25 © Pedro Peláez
 

library s3

Apigility For Instagram Reverse API

image

aqilixapi/s3

Apigility For Instagram Reverse API

  • Sunday, September 13, 2015
  • by dollyaswin
  • Repository
  • 1 Watchers
  • 1 Stars
  • 55 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

aqilixapi-s3

Amazon S3 Support for aqilix-apigility-image

This module add Amazon S3 support for aqilix-apigility-image module. The main tasks of this module are uploading and change the image name to S3 Object URL, (*1)

Dependencies

Installation

This is a ZF2/Apigility module, so to use it on your ZF2/Apigility project need to add require on composer.json., (*2)

  "require": {
    .
    .
    .
    "aqilixapi/s3": "1.1"
  }

Run composer update then enable the module on config/application.config.php, (*3)

return array(
    'modules' => array(
       .
       .
       .
       'AqilixAPI\\S3', 
       'AwsModule',
    )
)

Configuration

Because of this module require aws/aws-sdk-php-zf2, we just need to configure AWS Credential from aws/aws-sdk-php-zf2 config file (vendor/aws/aws-sdk-php-zf2/config/aws.local.php.dst). Just copy this file to config/autoload/aws.local.php and change credential and region configuration., (*4)

After prepare AWS configuration, we need to configure Amazon S3 configuration (config/s3.local.php.dist), (*5)

    's3' => array(
        'bucket' => array(
            'name' => 'aqilix',
            'acl'  => 'public-read',
        ),
        'fields' => array(
            'path'  => array('key_prefix' => 'image'),
            'thumbPath' => array('key_prefix' => 'image/thumbs')
        )
    )

Adjust bucket and fields, then copy this file to config/autoload/s3.local.php., (*6)

The Versions

13/09 2015

dev-master

9999999-dev

Apigility For Instagram Reverse API

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Dolly Aswin

api framework zf2 s3 aws apigility image instagram

09/09 2015

1.1

1.1.0.0

Apigility For Instagram Reverse API

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Dolly Aswin

api framework zf2 s3 aws apigility image instagram

27/08 2015

1.0

1.0.0.0

Apigility For Instagram Reverse API

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

by Dolly Aswin

api framework zf2 s3 aws apigility image instagram