I am a newer in packagist development.
I made two commands to make documents ands cruds on my symfony6 project for mongo Documents (with auto documentation from nelmio-api-bundle).
Now I use this commands in many projects and I want to create a bundle to make the modifications on these commands easier in all my projects.
So, I created a project, using the symfony documentation for create a bundle. I pushed it on github, then and I created a package successfully on packagist.
I can require my bundle using composer require ama/symfony-mongo-maker-bundle:dev-main but when i call my commands (ex: symfony console make:document), I have an error :
" There are no commands defined in the "make" namespace. ".
It's my first and very small crash-test bundle project. I haven't been able to find the solution in the Symfony documentation or in the examples from other bundles, as they are all so different from each other. I would be truly grateful if someone could show me the way.
My bundle repository here My package link here
Thank you :)
I tried many configurations in services.yaml, re-make my bundle from scratch, clear composer...