News for hackers. Stuff that matters.
Re:Adventures in PHP Development: Composer by krazymelvin on Wednesday August 14, 2013 @09:10PM (#6215564)
> I quite like the npm way of adding --save or --save-dev when installing a package to add it to the package.json file automatically. Composer does not do that, in any way that I could find at least.

You can install individual packages using the `require` command:

    composer require monolog/monolog:*
http://getcomposer.org/doc/03-cli.md#require
Re:Adventures in PHP Development: Composer by niteshade on Thursday August 15, 2013 @07:59PM (#6221385)
Oh, thanks very much :)