-
Notifications
You must be signed in to change notification settings - Fork 18
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
PHP Version
8.2.0
CodeIgniter4 Version
4.7.0
Queue Package Version
dev-develop
Which operating systems have you tested for this bug?
Windows
Which server did you use?
apache
Queue Driver
database mysql
Queue Configuration
Trying to setup que configuration but i get Command "queue:publish" not found.
What happened?
After installing codeigniter4/queue via composer, the queue:publish (and all queue:*) commands are not discovered by php spark list, even with proper configuration.
Environment:
- CodeIgniter v4.7.0
- PHP 8.2.20 (MAMP)
- macOS
- codeigniter4/queue: dev-develop
Steps to Reproduce
- composer require codeigniter4/queue:dev-develop
- Add namespace to app/Config/Autoload.php
public $psr4 = [
APP_NAMESPACE => APPPATH,
'CodeIgniter\\Queue' => ROOTPATH . 'vendor/codeigniter4/queue/src',
];- Add 'commands' to $aliases in app/Config/Modules.php
public $aliases = [
'commands',
'events',
'filters',
'registrars',
'routes',
'services',
];- Verify namespace is found: php spark namespaces shows CodeIgniter\Queue as Found? Yes
- Run php spark queue:publish
Expected Output
Command runs and publishes Queue.php config file.
Actual: Command "queue:publish" not found.
php spark list does not show any queue:* commands.
Anything else?
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working