Closed bartmcleod closed 3 years ago
@bartmcleod
But you need symfony frameworkBundle? Or doctrine/orm-bundle?
I'm not sure if it's a good idea to don't have deps
If you do a search in the repository with symfony
, you will found "frameworkbundle, Form, etc"
@spike31 the symfony bundle has been replace by symfony/symfony
. It conflicts with a Symfony full project, so it can't be in require.
We do need doctrine orm. Did I remove too much? [I believe it wasn't in the deps, I think it isn't to allow others to have a different version, but I am not sure about the reasons]
I understand for symfony/symfony
, but the bundle use symfony classes. So we need to tell to composer if the bundle can be installed for SF 3.4 or 5.
Symfony 3.4 is in a different branch, we don't consider it here anymore.
I don't know how to tell composer that. If we put symfony/symfony in the requirements it won't install at all.
If we put symfony/framework-bundle in the requirements composer says it has been replaced by symfony/symfony
I am ok with anything in composer.json that works. I just had a lot of trouble to make it work at all.
The 3.4 branch is just for the bundle, in packagist, there is no constraints to install the bundle.
If we use classes from FrameworkBundle, just add the symfony/frameworkBundle
and pass tests. Same for others namespaces.
If think you can have a look to the https://github.com/lexik/LexikJWTAuthenticationBundle , the composer and travis. Because the maintenair is a member of the core team and the bundle has goods practices
I looked at it and from what I see it must be possible that way.
Ok, IMO, tags 4.4 and 4.4.1 not very good, because they have no deps...
I can replace those in the evening, until we get it right. Sorry for the inconvenience.
8 years of open source help me :D no problem
To allow installation with composer, symfony/symfony should not be required, because it would conflict with a symfony application. Mongodb is not strictly a requirement, but it is required for development of this bundle, so it should go to require-dev.