2017 © Pedro PelĂĄez
 

composer-plugin composer-authstore-plugin

Composer Plugin providing an external auth store for storing your access credentials.

image

bitexpert/composer-authstore-plugin

Composer Plugin providing an external auth store for storing your access credentials.

  • Sunday, June 5, 2016
  • by shochdoerfer
  • Repository
  • 11 Watchers
  • 5 Stars
  • 20,624 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 8 Versions
  • 0 % Grown

The README.md

README

Build Status, (*1)

Note: The plugin is deprecated! Use the built-in functionality in Composer instead!, (*2)

What is the AuthStore Plugin?

The AuthStore plugin gives you the ability to store the credentials in a separate file. That way you do not need to enter your credentials every time you run composer., (*3)

Last year I was working on a PR for Composer which up to now is not merged in master. Kudos to Manuel Lemos from phpclasses.org for pointing out that the new Plugin API of Composer might help to apply the PR without patching Composer. As a result this plugin came alive., (*4)

How to use it?, (*5)

Just add an auth.json file in your project root (aside to your main composer.json), which should look like this:, (*6)

{
    "config": {
        "basic-auth": {
            "satis.loc": {
                "username": "my_username",
                "password": "my_password"
            }
        }
    }
}

Alternatively, you can store your auth.json in COMPOSER_HOME, so that authentication settings is available for all your projects., (*7)

Note: Local auth.json always has precedence if a host is defined both locally and globally., (*8)

The composer.json of your root project all you need is to require the AuthStore plugin as a dependency:, (*9)

{
    "name": "my/mywebproject",
    "require": {
        "bitexpert/composer-authstore-plugin": "*"
    }
}

You can also install the plugin globally which might be the better alternative as globally installed plugins are loaded before local project plugins are loaded., (*10)

The Versions

05/06 2016

dev-master

9999999-dev https://github.com/bitExpert/composer-authstore-plugin

Composer Plugin providing an external auth store for storing your access credentials.

  Sources   Download

Apache-2.0

The Requires

  • composer-plugin-api 1.0.0

 

The Development Requires

composer auth.json

29/06 2014

dev-release/r0.1.0

dev-release/r0.1.0 https://github.com/bitExpert/composer-authstore-plugin

Composer Plugin providing an external auth store for storing your access credentials.

  Sources   Download

Apache-2.0

The Requires

  • composer-plugin-api 1.0.0

 

The Development Requires

composer auth.json

29/06 2014

dev-release/r0.2.0

dev-release/r0.2.0 https://github.com/bitExpert/composer-authstore-plugin

Composer Plugin providing an external auth store for storing your access credentials.

  Sources   Download

Apache-2.0

The Requires

  • composer-plugin-api 1.0.0

 

The Development Requires

composer auth.json

29/06 2014

0.1.2

0.1.2.0 https://github.com/bitExpert/composer-authstore-plugin

Composer Plugin providing an external auth store for storing your access credentials.

  Sources   Download

Apache-2.0

The Requires

  • composer-plugin-api 1.0.0

 

The Development Requires

composer auth.json

29/06 2014

0.2.2

0.2.2.0 https://github.com/bitExpert/composer-authstore-plugin

Composer Plugin providing an external auth store for storing your access credentials.

  Sources   Download

Apache-2.0

The Requires

  • composer-plugin-api 1.0.0

 

The Development Requires

composer auth.json

22/03 2014

0.2.1

0.2.1.0 https://github.com/bitExpert/composer-authstore-plugin

Composer Plugin providing an external auth store for storing your access credentials.

  Sources   Download

Apache-2.0

The Requires

  • composer-plugin-api 1.0.0

 

The Development Requires

composer auth.json

22/03 2014

0.2.0

0.2.0.0 https://github.com/bitExpert/composer-authstore-plugin

Composer Plugin providing an external auth store for storing your access credentials.

  Sources   Download

Apache-2.0

The Requires

  • composer-plugin-api 1.0.0

 

The Development Requires

composer auth.json

12/01 2014

0.1.1

0.1.1.0 https://github.com/bitExpert/composer-authstore-plugin

Composer Plugin providing an external auth store for storing your access credentials.

  Sources   Download

Apache-2.0

The Requires

  • composer-plugin-api 1.0.0

 

The Development Requires

composer auth.json