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:
Composer an update on require-dev
March 04, 2013 @ 12:38:33

Jordi Boggiano has a new post to his site about a recent update to the Composer tool that can help make managing development-only dependencies a bit easier.

Using require-dev in Composer you can declare the dependencies you need for development/testing. It works in most simple cases, but when the dev dependencies overlap with the regular ones, it can get tricky to handle. In too many cases it also tends to just fail at resolving dependencies with quite strange error messages. Since this was quite unreliable, I set out to rework the whole feature this week-end. The patch has been merged, and it fixes six open issues which is great.

Additionally, to make it easier to work with the development dependencies, they'll by default be installed when you run an "update" in your repository. If you don't want them, you can still use "--no-dev". Also, Composer will manage them in a seperate section from the normal "require" packages. If you're not using Composer to manage your application's dependencies, look over on getcomposer.org for more details.

0 comments voice your opinion now!
composer requiredev update install workflow nodev dev


blog comments powered by Disqus

Similar Posts

Jordi Boggiano: Composer: an update on require-dev

Smashing Magazine: Cleaning Up The Mess: How To Keep Your Coding Workflow Organized

Hannes Magnusson's Blog: PhD: The [PH]P based [D]ocbook renderer RC1 released

Liip Blog: Easily Test PHP 5.4 Beta on OS X with PHP-OSX

Do It Yourself Web Development: Setting Up Composer PHP Dependencies Manager in Windows


Community Events

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


library application symfony2 api podcast framework community example configure conference introduction php7 performance laravel composer release opinion part2 series interview

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