2017 © Pedro Peláez
 

composer-plugin composer-aws

A composer plugin that allows installing packages stored on S3

image

naderman/composer-aws

A composer plugin that allows installing packages stored on S3

  • Tuesday, March 7, 2017
  • by naderman
  • Repository
  • 6 Watchers
  • 61 Stars
  • 89,569 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 16 Forks
  • 3 Open issues
  • 12 Versions
  • 11 % Grown

The README.md

composer-aws (ABANDONED)

A composer plugin to load repository data and download packages from Amazon S3 with authentication support for private repositories., (*1)


Using AWS S3 to host private packages? Check out Private Packagist for a better private Composer repository solution!

This project has been abandoned and will not support Composer 2.0. If you are currently relying on this plugin to download packages from S3, you should consider using Private Packagist to manage your private packages., (*2)


Installation

Global scope (per user) installation

$ composer global require "naderman/composer-aws:^1.0"

Project scope installation

$ composer require "naderman/composer-aws:^1.0"

Configuration

There are three options available in order to configure and use this plugin:, (*3)

  1. For AWS EC2: Create an IAM profile for your instances to access the bucket - then no other configuration is necessary.
  2. Set the environment variables AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY
  3. Add the following to your config.json (in $COMPOSER_HOME):
{
    "config": {
        "amazon-aws": {
            "credentials": {
                "key": "your aws access key",
                "secret": "your aws secret"
            }
        }
    }
}

Usage

Once the plugin is installed and configured, you can transparently use packages.json files which contain s3:// schemes for dist urls., (*4)

Loading package repositories from AWS S3

If you want to host a packages.json repository on S3 (e.g. generated by satis), you can use an S3 bucket for the repository url as well., (*5)

{
    "repositories": [
        {
            "type": "composer",
            "url": "s3://my-S3-bucket/my/packages/repository/path/"
        }
    ]
}

Further reading

  • AWS IAM Instance profiles: http://docs.aws.amazon.com/IAM/latest/UserGuide/instance-profiles.html
  • Amazon S3 Syncer: https://github.com/easybiblabs/s3-syncer

The Versions

07/03 2017

dev-master

9999999-dev

A composer plugin that allows installing packages stored on S3

  Sources   Download

MIT

The Requires

 

The Development Requires

plugin composer amazon s3 aws composer-plugin

07/03 2017

1.0.0

1.0.0.0

A composer plugin that allows installing packages stored on S3

  Sources   Download

MIT

The Requires

 

The Development Requires

plugin composer amazon s3 aws composer-plugin

29/01 2016

0.2.7

0.2.7.0

A composer plugin that allows installing packages stored on S3

  Sources   Download

MIT

The Requires

 

plugin composer amazon s3 aws composer-plugin

22/04 2014

0.2.6

0.2.6.0

A composer plugin that allows installing packages stored on S3

  Sources   Download

MIT

The Requires

 

plugin composer amazon s3 aws composer-plugin

16/12 2013

0.2.5

0.2.5.0

A composer plugin that allows installing packages stored on S3

  Sources   Download

MIT

The Requires

 

plugin composer amazon s3 aws composer-plugin

16/12 2013

0.2.4

0.2.4.0

A composer plugin that allows installing packages stored on S3

  Sources   Download

MIT

The Requires

 

plugin composer amazon s3 aws composer-plugin

20/09 2013

0.2.3

0.2.3.0

A composer plugin that allows installing packages stored on S3

  Sources   Download

MIT

The Requires

 

plugin composer amazon s3 aws composer-plugin

08/09 2013

0.2.2

0.2.2.0

A composer plugin that allows installing packages stored on S3

  Sources   Download

MIT

The Requires

 

plugin composer amazon s3 aws composer-plugin

05/09 2013

0.2.0

0.2.0.0

A composer plugin that allows installing packages stored on S3

  Sources   Download

MIT

The Requires

 

plugin composer amazon s3 aws composer-plugin

15/08 2013

0.1.2

0.1.2.0

A composer plugin that allows installing packages stored on S3

  Sources   Download

MIT

The Requires

 

plugin composer amazon s3 aws composer-plugin

15/08 2013

0.1.1

0.1.1.0

A composer plugin that allows installing packages stored on S3

  Sources   Download

MIT

The Requires

 

plugin composer amazon s3 aws composer-plugin

15/08 2013

0.1.0

0.1.0.0

A composer plugin that allows installing packages stored on S3

  Sources   Download

MIT

The Requires

 

plugin composer amazon s3 aws composer-plugin