Hacker News new | ask | show | jobs
by TazeTSchnitzel 3846 days ago
Also maybe a namespace. I doubt they're the only person to have ever made a class called `\Client` :)

http://phptherightway.com/

Though I notice that the README states "[i]ts goal [is] to have one easy to use PHP file without dependencies", and they point out there's already a proper package out there, kelunik/acme. If the goal is a single file with no dependencies, I can understand the lack of Composer, as it's not really targeted at that audience.

2 comments

If the target audience are those developers manually including everything, then it's not a package for me. Using composer is completely unrelated to having (or rather not) dependencies. It's actually pretty much the opposite: a way of distributing your package to projects who wish to use it. So again: please use composer.

Completely agree with the namespace. You HAVE to namespace it :) Hope it helps

Composer is awesome, but this is not a package ready to use! (at least not now). Valid point for namespace.
Thank you for the great link.