News Feed
Sections




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

VG Tech:
Avoid Dependency on 3rd Party Sources with Composer
September 23, 2013 @ 09:36:51

On the VG Tech blog today there's a post that show you a way to reduce your dependencies on Composer (using Github) without sacrificing the use of the tool.

Composer is the defacto standard dependency manager for PHP out there, also here in VG. [...] For the most parts it has been a pleasant experience, but it creates a hard dependency towards external sources as we now require these sources to be available when updating/installing. [...] Since we use Composer for all our internal packages, we already had Satis set up, which basically is a package repository builder for Composer.

They include their Satis configuration and link to more information about the archive feature to bring a mirror of the repo in-house easily. There's also an example of the "require" section that defines the packages and version numbers you're expecting.

0 comments voice your opinion now!
composer satis mirror github configuration example

Link: http://tech.vg.no/2013/09/20/avoid-dependency-on-3rd-party-sources-with-composer/

blog comments powered by Disqus

Similar Posts

Zend Developer Zone: Refactoring PHP Code

Raphael Stolt's Blog: Creating Zend Framework snippets for TextMate

Jan Lehnardt's Blog: REST Controller for PHP Applications

Sebastian Bergmann's Blog: Integrating PHPUnit with Selenium

SitePoint PHP Blog: Git Hooks for Fun and Profit


Community Events

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


framework podcast interview api php7 laravel5 library version opinion unittest wordpress laravel language community list introduction series extension release voicesoftheelephpant

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