News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Jordi Boggiano:
Authentication management in Composer
May 28, 2014 @ 11:07:35

Jordi Boggiano has posted about a new feature in Composer, the popular dependency manager for PHP, around the handling of authentication information.

Up until today if you run a home-grown package repository serving private packages it was quite a pain to use with Composer. You did not have efficient way to password-protect the repository except by inlining the password in the composer.json or by typing the username/password every single time. With the merge of PR#1862 and some further improvements you can now remove credentials from your composer.json!

The new functionality allows for the external storage of the credentials in a file, either globally of in one relative to the repository. He also includes the command you can use to configure and set these username/password combinations and have them stored in the "auth.json" file.

0 comments voice your opinion now!
composer authentication management username password authjson json

Link: http://seld.be/notes/authentication-management-in-composer

blog comments powered by Disqus

Similar Posts

International PHP Magazine: IPM Poll Question: Which is your Favorite CMS written in PHP?

International PHP Magazine: IPM Poll Question: Which is your Favorite CMS written in PHP?

Community News: PHPUnit Now Available via Composer

Jordi Boggiano: Authentication management in Composer

Phil Sturgeon's Blog: Composer with CodeIgniter


Community Events





Don't see your event here?
Let us know!


symfony library opinion introduction series deployment package install zendserver update interview list tips api release podcast community framework laravel language

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework