2017 © Pedro Peláez
 

composer-plugin composer-netrc-auth-plugin

image

fduch/composer-netrc-auth-plugin

  • Wednesday, March 23, 2016
  • by fduch
  • Repository
  • 1 Watchers
  • 0 Stars
  • 127 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 2 % Grown

The README.md

composer-netrc-auth-plugin

composer-netrc-auth-plugin is a composer plugin that provides netrc-based HTTP authorization during dist's downloading process using custom VCS drivers., (*1)

Build Status, (*2)

About plugin

Sometimes it is usefull to work with custom VCSDriver to handle private packages via packagist behind custom git server (not github, not bitbucket - they are well supported by composer) that generates dist's, for example gitolite (see github discussion for details). In this case there is problem with authorization during automated packages installations via composer (this is important on build, CI servers, etc). The cause of this problem is that composer uses external git process (it could be another vcs-process) to fetch sources and regular file transfer mechanisms (such as file_get_contents) to fetch archives. There are some features in git core that provides automatic authorization - netrc parsing, askpass feature, so the sources can be fetched automatically. But dist's downloading leads authorization console promt if git server requires authorization. This plugin extends composer functionality with netrc-based authorization during archives downloading process., (*3)

Installation

In order to install plugin on system-wide level use composer global command, (*4)

php composer.phar global require fduch/composer-netrc-auth-plugin

Also you can use plugin inside your package locally by requiring it as a regular package:, (*5)

php composer.phar require fduch/composer-netrc-auth-plugin

See more about plugin installation in official documentation, (*6)

The Versions

23/03 2016

dev-master

9999999-dev

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar fduch

authorization composer

23/03 2016

1.0.0

1.0.0.0

  Sources   Download

MIT

The Requires

 

The Development Requires

by Avatar fduch

authorization composer

22/05 2014

0.1.0

0.1.0.0

  Sources   Download

MIT

The Requires

 

The Development Requires

by Alex Medvedev

authorization composer

24/03 2014

0.0.1

0.0.1.0

  Sources   Download

MIT

The Requires

 

by Alex Medvedev

authorization composer