Closed
Description
I imported only dbal
package using composer require enqueue/dbal
and tested a simple example from the docs, but it failed to create the message since it cannot find the class Enqueue\Util\JSON
Then I looked into the DbalProducer
class file and found that the class Enqueue\Util\JSON
is part of the enqueue/enqueue
package so I had to import enqueue/enqueue
separately.
So since, enqueue/dbal
package cannot work without importing enqueue/enqueue
, should the enqueue/enqueue
also be added to "require" in the composer.json
for enqueue/dbal
?
I can see that it's already present in "require-dev".