Hacker News new | past | comments | ask | show | jobs | submit login

All this is very true.

Modern PHP is not the PHP of yesteryear. With Composer for dependancy management and sticking to the PSR's you can build very stable, testable, and modern applications that change minds about PHP.




The thing is you have to be a medium-to-expert to be confident about Composer dependencies, every new dev is going to use the language API, which resembles a bunch of functions with no general pattern.

PHP users need to keep it together and set a common base, a standard library with sane defaults.


I am new to PHP and I started right off with composer -- all you have to do is composer require pkg dev-master [or other pin].

I don't see how this is different from gem install pkg.


Some of the biggest names in PHP are working on that exact idea!


With previous versions very stable, testable and modern applications could be built as well.

Things like object type hinting can help building stable apps but imho it is still the work of the programmer that can break or make it.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: