In the documentation it's written that you can instanciate a factory (for localhost) with : `$factory = new \Enqueue\AmqpLib\AmqpConnectionFactory();` Though i get an error stating that the Enqueue\Dsn\Dsn class cannot be found. Everythink works fine if i give the factory an empty array. https://github.com/php-enqueue/enqueue-dev/blob/master/docs/transport/amqp_bunny.md
Activity
makasim commentedon Feb 25, 2019
Do you use composer to install the package?
TomPradat commentedon Feb 25, 2019
Yes i do, i tried to dump the autoloader but still had the problem. I have "enqueue/amqp-lib" as a dependency in my project
makasim commentedon Feb 25, 2019
You are right.
amqp-toolsshould require dsn pacakge. In fact it is required but in dev. https://github.com/php-enqueue/enqueue-dev/blob/master/pkg/amqp-tools/composer.json#L17should be moved to require section.
TomPradat commentedon Feb 25, 2019
Yes indeed, do you want me to create a PR or are you handling it ?
makasim commentedon Feb 25, 2019
That would be great if you could send it to us