I am creating an external bundle but during development I wish to test it along side a full project.
Inside my composer.json
I have:
"repositories": [
{
"type": "path",
"url": "../path-to-my-project"
}
],
and in the require
section "acme/my-package": "*"
I'm also adding the FQNS to the autoload
config:
"autoload": {
"psr-4": {
"App\\": "src/",
"Acme\\Bundle\\MyBundle\\": "vendor/acme/my-package"
}
}
Inside the bundles.php
I have Acme\Bundle\MyBundle\MyBundleBundle::class => ['all' => true],
but this file isn't triggered, I have tried using bin/console cache:clear
with a var_dump
and exit
and it never gets called. What am I missing?