Skip to content

Should enqueue/enqueue also be added to "require" in composer.json for DBAL package? #433

Closed
@aarangara

Description

@aarangara

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".

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions