News for hackers. Stuff that matters.

krazymelvin

Re:High Quality PHP on Tuesday December 24, 2013 @11:54AM (#6960092)
Re:Adventures in PHP Development: Composer 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:Mammouth is a small language that compiles into PHP on Monday July 15, 2013 @08:37AM (#6045105)
It's also unnecessary, you can just do this:

    foreach ($contacts as $contact)
        echo $contact;
Re:Ewww, You Use PHP? on Wednesday May 22, 2013 @12:19AM (#5748853)
People really need to stop posting that fractal article. Any PHP dev worth their salt would be able to tell you that guy clearly has no major experience with PHP (or any understanding of OOP for that matter).

Here's a few discussions on just how wrong [1] and clueless he really is [2].

[1] https://news.ycombinator.com/item?id=4177516 [2] http://forums.devshed.com/php-development-5/php-is-a-fractal...