FOSOAuthServerBundle
FOSOAuthServerBundle copied to clipboard
security-bundle conflicts with symfony 2.8
Hi there, I'm trying to install FOSOAuthServerBundle in a symfony 2.8 without any luck.
I'm running composer over php 7.1 and the error looks like this:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Conclusion: remove symfony/symfony v2.8.33
....
friendsofsymfony/oauth-server-bundle dev-master requires symfony/security-bundle ~3.0|^4.0 -> satisfiable by symfony/security-bundle[v3.0.0, v3.0.1, v3.0.2, v3.0.3, v3.0.4, v3.0.5, v3.0.6, v3.0.7, v3.0.8, v3.0.9, v3.1.0, v3.1.1, v3.1.10, v3.1.2, v3.1.3, v3.1.4, v3.1.5, v3.1.6, v3.1.7, v3.1.8, v3.1.9, v3.2.0, v3.2.1, v3.2.10, v3.2.11, v3.2.12, v3.2.13, v3.2.14, v3.2.2, v3.2.3, v3.2.4, v3.2.5, v3.2.6, v3.2.7, v3.2.8, v3.2.9, v3.3.0, v3.3.1, v3.3.10, v3.3.11, v3.3.12, v3.3.13, v3.3.14, v3.3.15, v3.3.2, v3.3.3, v3.3.4, v3.3.5, v3.3.6, v3.3.7, v3.3.8, v3.3.9, v3.4.0, v3.4.1, v3.4.2, v3.4.3, v4.0.0, v4.0.1, v4.0.2, v4.0.3].
....
Any idea? Thanks.
Master branch is not compatible with Symfony 2, use released version instead of pulling from live brancjes, especially master.
Ok, thanks for the quick response.
Which version is better for 2.8?
"friendsofsymfony/oauth-server-bundle": "1.5"
You don't need to specify a version. If you configure Composer correctly, it figures out the best version it can use with your current setup. But yes, that would be 1.5.