3 ms·
I am not defending this project, I have complaints about it myself but some of your issues are ridiculous. > Not a composer package Thats like saying "its not
by stephenr 13y ago
I am not defending this project, I have complaints about it myself but some of your issues are ridiculous.
> Not a composer package
Thats like saying "its not web 2.0" frankly. If you can't manage to checkout a library/framework and make use of it without being reliant on a specific package manager, you shouldn't be writing software.
> Uses arcane define() statements to set configuration
I don't think you know what arcane means.
Also, using constants to set application options can work very well if used properly.
> Uses singleton classes
I'd much rather a project that makes smart use of Singletons than the ridiculous SuperMegaObjectFactoryConstructorHelperFactoryFactory shit that is apparently the "in" thing.
> make it PSR-1 and PSR-2 compliant
PSR is a fucking joke. Code consistency within a project is important. Between a million different projects? Not so much.
The "goal" of PSR has never been "hey heres the best way to do things". Its purely an exercise in documenting the MOST COMMON way a set of projects do things.
> make it fit within the composer packaging system
Also, the author must only eat fishes on fridays and must devote his sunday to the FSM.
Composer is not jesus, PSR is not the bible. Stop acting like they are magical items sent from the heavens.
- Navarr 13y ago> Thats like saying "its not web 2.0" frankly. If you can't manage to checkout a library/framework and make use of it without being reliant on a specific package manager, you shouldn't be writing software. Honestly, I would not start a new project with a library that does not support composer if I could help it. Supporting composer is easy and makes my life easy - not because I /can't/ checkout the library, but because I don't have to store the library in my VCS and I don't have to bother with transmitting it back and forth between servers or dealing with Pull Requests with massive file changes whenever I update the library.
- stephenr 13y agoIf your default plan without composer is "download X, Y and Z and add them to my own repo" I have some news for you.