News Feed
Sections




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

PHPClasses.org:
Speedup Your Web Deployments Using Composer to Install PHP Classes Packages
December 12, 2013 @ 11:43:01

On the PHPClasses.org site today Manuel Lemos has a new post showing how you can use Composer in your deployments to help install packages from the PHPClasses site.

You can install one or more packages from PHP Classes, JS Classes or other Composer repository sites. [...] To make it simpler for you, PHP Classes and JS Classes generate a sample composer.json file for each package available in the Composer repository. Just go in the page of the package you want to install and click on the Install with Composer link.

He includes a brief guide on installing Composer and an example of the resulting "composer.json" file when you click on a link in a package. He points out the use of logins (depends on the package maintainer) and the use of an "auth.json" to automatically provide this information.

This is a great example of how a site that puts the Composer ecosystem to work to provide packages outside of Packagist. Composer, by default, relies on Packagist for its package information, but you can provide alternate repositories too - including using something like Satis for local packages.

0 comments voice your opinion now!
phpclasses composer install repository custom

Link: http://www.phpclasses.org/blog/post/221-Speedup-Your-Web-Deployments-Using-Composer-to-Install-PHP-Classes-Packages.html

blog comments powered by Disqus

Similar Posts

Brian Cline's Blog: Installing PHPUnit on WAMPServer

Stoyan Stefanov's Blog: Text_Highlighter 0.7.1 and hiliteme.com updates

PHPBuilder.com: Clustered File Systems and PHP

Greg Beaver\'s Blog: Custom project timeline/bug tracker for Chiara_PEAR_Server

PHPClasses.org: Lately in PHP, Episode 23 - Will it ever Matter if PHP Sucks?


Community Events





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


language introduction development symfony podcast framework community conference developer laravel release series deployment list threedevsandamaybe zendserver code tips interview api

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