Composer-izing
szepeviktor opened this issue · 3 comments
Hello @antecedent !
Would you welcome a PR introducing class autoloading?
Composer requires PHP 5.3.2+ to run.
It would not introduce starting Patchwork.php as in #44
That would be great! We do, however, need to keep some backward compatibility for now, so including Patchwork.php
should still be a valid way to start Patchwork. Aside from that, it's fine and very much welcome :)
I just discovered this library today so I wanted to try it, but the lack of composer autoloading is making me impossible to use it in my current project architecture (I can't use require_once ...
on my code).
I found how to bypass this by adding myself Patchwork.php in my own composer.json "autoload-dev" section, but if this could be done automagically by Patchwork itself, that would be definitly better!