|
|
|
|
|
by stephenr
3119 days ago
|
|
I can basically understand if you said "you need to support composer (be on packagist). But seriously? The only psr that would apply is autoloading (which it does use) and code style. Given the amount of random fucking shit people include via language level package managers, if your concern is "oh the braces are in the wrong spot" I think you need to re-evaluate your priorities |
|
Granted a lot of these criticisms are often levied by trendy kids reinventing the wheel with Ruby, MongoDB, NodeJS, Go, Docker, etc (2008-2017 roughly), but unfortunately they tend the tone for tech as a whole, so PHP still has this very negative reputation even though we tend to get more shit done, make more money, and spend less time learning the latest new fad.
Adhering to PSRs goes a long way to combat that stereotype by having a consistent look and feel to open source packages. Attention to detail leads to code quality. Initiatives like phptherightway really help out the community by putting people on the right track from day #1.
I agree there's a ton of utter shit out there on packagist and I avoid 99.9% of it like the plague for this very reason.