And the obligatory response: https://news.ycombinator.com/item?id=4177516
> 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…
It's also unnecessary, you can just do this: foreach ($contacts as $contact) echo $contact;
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…
And the obligatory response: https://news.ycombinator.com/item?id=4177516
> 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…
It's also unnecessary, you can just do this: foreach ($contacts as $contact) echo $contact;
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…