News Feed
Sections




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

Rob Allen:
Global installation of PHP tools with Composer
December 23, 2013 @ 09:39:13

Rob Allen has a quick post today showing how to use Composer to globally install tools and libraries on your system.

The Composer package manager along with the Packagist repository site is quickly becoming the defacto PHP package management system. One feature I found out about recently is that you can install packages globally rather than locally into your project. I think that this is most useful for development tools, such as PHPUnit which are then available everywhere.

He includes the command syntax you'll need to do the global install, showing an example with the popular PHP unit testing tool PHPUnit. There's also a "global update" command you can use to update these packages (or add more) later on too.

0 comments voice your opinion now!
global install tools composer example command

Link: http://akrabat.com/php/global-installation-of-php-tools-with-composer/

blog comments powered by Disqus

Similar Posts

Juan Treminio: Composer Namespaces in 5 Minutes

Cormac's Blog: Read-only object variables in php using magic methods

Codeacy Blog: Your Greatest Code Quality Threats and How to Solve Them

Chris Jones: Using PHP 5.5's New "Opcache" Opcode Cache

PHPBuilder.com: 10 Easy Examples for Deciphering PHP Regular Expressions


Community Events





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


framework laravel opinion refactor install introduction series community code api unittest threedevsandamaybe release list podcast symfony2 testing developer language interview

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