wa0x6e/Fresque

Add ZetaComponents as composer requirement

ruudk opened this issue · 9 comments

Love your work in this. But I really don't like the fact that I'll have to use PEAR.

Wouldn't it be better to just add the ZetaComponents (+ php resque) dependencies to composer? Because ZetaComponents is on Packagist: http://packagist.org/packages/zetacomponents/

And maybe it would be better to just use the Symfony2 Console component and a PSR-0 autoloader? That way you can build this in PHP 5.3 with namespace support.

Symfony2 Console component is not as powerful as ZetaComponents'. ZetaComponents is used by a lot of other tools, such as phpcpd, phpcdp, phploc, etc ... and I was assuming that anyone who have one of these tools installed, will already have the pear zeta installed.

Main reason I'm using ZetaComponents via PEAR is because I was having trouble autoloading the classes with the packagist package. I'll give it another try when I'll have the time.

ZetaComponents added as a Composer dependencies. Just discovered that Composer has its own autoloader class.

Awesome! Thanks :)

Ok, I've asked PHP-Resque to also add a Composer.json file. Can you add that as a requirement for Fresque?

chrisboulton/php-resque#59 (comment)

Sure, once they add it

Added

👍