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

PHPBuilder.com: Implementing User Authentication and Session Management with PHP

DevShed: User Management Explained: Overview

DevShed: Private Pages with PHP and Text Files

PHPMaster.com: PHP Dependency Management with Composer

Ryan Malesevich's Blog: MD5 to SHA-1 in PHP and MySQL (Part 1)


Community Events





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


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

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