Can't install sonata news bundle - composer-php

I have a issue when I tried to install Sonata news Bundle. I can't find a post where someone have the same issue.
I tried to follow sonata documentation .
Here my composer :
"require": {
"php": ">=7.0",
"doctrine/doctrine-bundle": "^1.6",
"doctrine/doctrine-cache-bundle": "^1.2",
"doctrine/doctrine-migrations-bundle": "^1.2",
"doctrine/orm": "^2.5",
"doctrine/phpcr-bundle": "~1.3#dev",
"doctrine/phpcr-odm": "^1.4",
"egeloen/ckeditor-bundle": "^5.0",
"gedmo/doctrine-extensions": "^2.4",
"incenteev/composer-parameter-handler": "^2.0",
"jackalope/jackalope-doctrine-dbal": "~1.0",
"jms/translation-bundle": "^1.3",
"knplabs/knp-snappy-bundle": "~1.4",
"liuggio/excelbundle": "^2.1",
"sensio/distribution-bundle": "^5.0",
"sensio/framework-extra-bundle": "^3.0.2",
"sonata-project/admin-bundle": "^3.16",
"sonata-project/block-bundle": "^3.3",
"sonata-project/doctrine-orm-admin-bundle": "^3.1",
"sonata-project/easy-extends-bundle": "^2.1",
"sonata-project/media-bundle": "^3.5",
"sonata-project/user-bundle": "dev-add_support_for_fos_user2",
"stof/doctrine-extensions-bundle": "^1.2",
"symfony/assetic-bundle": "^2.8",
"symfony/monolog-bundle": "^3.0.2",
"symfony/polyfill-apcu": "^1.0",
"symfony/swiftmailer-bundle": "^2.3.10",
"symfony/symfony": "3.2.*",
"tijsverkoyen/css-to-inline-styles": "^2.2",
"twig/twig": "^1.0||^2.0"
},
When I tried :
composer require sonata-project/news-bundle
I have this answer :
Problem 1
- Installation request for sonata-project/user-bundle dev-add_support_for_fos_user2 -> satisfiable by sonata-project/user-bundle[dev-add_support_for_fos_user2].
- sonata-project/news-bundle 3.1.0 requires sonata-project/user-bundle ^3.0 -> satisfiable by sonata-project/user-bundle[3.x-dev].
- sonata-project/news-bundle 3.1.1 requires sonata-project/user-bundle ^3.0 -> satisfiable by sonata-project/user-bundle[3.x-dev].
- sonata-project/news-bundle 3.1.2 requires sonata-project/user-bundle ^3.0 -> satisfiable by sonata-project/user-bundle[3.x-dev].
- Conclusion: don't install sonata-project/user-bundle 3.x-dev
- Installation request for sonata-project/news-bundle ^3.1 -> satisfiable by sonata-project/news-bundle[3.1.0, 3.1.1, 3.1.2].
So, I tried with dev-master version (4.x-dev) of sonata user bundle :
Here my composer :
"require": {
"php": ">=7.0",
"doctrine/doctrine-bundle": "^1.6",
"doctrine/doctrine-cache-bundle": "^1.2",
"doctrine/doctrine-migrations-bundle": "^1.2",
"doctrine/orm": "^2.5",
"doctrine/phpcr-bundle": "~1.3#dev",
"doctrine/phpcr-odm": "^1.4",
"egeloen/ckeditor-bundle": "^5.0",
"gedmo/doctrine-extensions": "^2.4",
"incenteev/composer-parameter-handler": "^2.0",
"jackalope/jackalope-doctrine-dbal": "~1.0",
"jms/translation-bundle": "^1.3",
"knplabs/knp-snappy-bundle": "~1.4",
"liuggio/excelbundle": "^2.1",
"sensio/distribution-bundle": "^5.0",
"sensio/framework-extra-bundle": "^3.0.2",
"sonata-project/admin-bundle": "^3.16",
"sonata-project/block-bundle": "^3.3",
"sonata-project/doctrine-orm-admin-bundle": "^3.1",
"sonata-project/easy-extends-bundle": "^2.1",
"sonata-project/media-bundle": "^3.5",
"sonata-project/user-bundle": "dev-master",
"stof/doctrine-extensions-bundle": "^1.2",
"symfony/assetic-bundle": "^2.8",
"symfony/monolog-bundle": "^3.0.2",
"symfony/polyfill-apcu": "^1.0",
"symfony/swiftmailer-bundle": "^2.3.10",
"symfony/symfony": "3.2.9",
"tijsverkoyen/css-to-inline-styles": "^2.2",
"twig/twig": "^1.0||^2.0"
},
I have this answer :
Problem 1
- Installation request for sonata-project/user-bundle dev-master -> satisfiable by sonata-project/user-bundle[dev-master].
- sonata-project/news-bundle 3.1.0 requires sonata-project/user-bundle ^3.0 -> satisfiable by sonata-project/user-bundle[3.x-dev].
- sonata-project/news-bundle 3.1.1 requires sonata-project/user-bundle ^3.0 -> satisfiable by sonata-project/user-bundle[3.x-dev].
- sonata-project/news-bundle 3.1.2 requires sonata-project/user-bundle ^3.0 -> satisfiable by sonata-project/user-bundle[3.x-dev].
- Conclusion: don't install sonata-project/user-bundle 3.x-dev
- Installation request for sonata-project/news-bundle ^3.1 -> satisfiable by sonata-project/news-bundle[3.1.0, 3.1.1, 3.1.2].
With :
"sonata-project/user-bundle": "3.x-dev",
Here the answer :
Problem 1
- Installation request for sonata-project/user-bundle 3.x-dev -> satisfiable by sonata-project/user-bundle[3.x-dev].
- Conclusion: remove symfony/symfony v3.2.9
- Conclusion: don't install symfony/symfony v3.2.9
- sonata-project/user-bundle 3.x-dev requires symfony/security ^2.3 -> satisfiable by symfony/security[v2.3.35, v2.3.36, v2.3.37, v2.3.38, v2.3.39, v2.3.40, v2.3.41, v2.3.42, v2.4.0, v2.4.1, v2.4.10, v2.4.2, v2.4.3, v2.4.4, v2.4.5, v2.4.6, v2.4.7, v2.4.8, v2.4.9, v2.5.0, v2.5.1, v2.5.10, v2.5.11, v2.5.12, v2.5.2, v2.5.3, v2.5.4, v2.5.5, v2.5.6, v2.5.7, v2.5.8, v2.5.9, v2.6.0, v2.6.1, v2.6.10, v2.6.11, v2.6.12, v2.6.13, v2.6.2, v2.6.3, v2.6.4, v2.6.5, v2.6.6, v2.6.7, v2.6.8, v2.6.9, v2.7.0, v2.7.1, v2.7.10, v2.7.11, v2.7.12, v2.7.13, v2.7.14, v2.7.15, v2.7.16, v2.7.17, v2.7.18, v2.7.19, v2.7.2, v2.7.20, v2.7.21, v2.7.22, v2.7.23, v2.7.24, v2.7.25, v2.7.26, v2.7.27, v2.7.28, v2.7.29, v2.7.3, v2.7.30, v2.7.31, v2.7.32, v2.7.4, v2.7.5, v2.7.6, v2.7.7, v2.7.8, v2.7.9, v2.8.0, v2.8.1, v2.8.10, v2.8.11, v2.8.12, v2.8.13, v2.8.14, v2.8.15, v2.8.16, v2.8.17, v2.8.18, v2.8.19, v2.8.2, v2.8.20, v2.8.21, v2.8.22, v2.8.23, v2.8.24, v2.8.25, v2.8.3, v2.8.4, v2.8.5, v2.8.6, v2.8.7, v2.8.8, v2.8.9, v2.3.0, v2.3.1, v2.3.10, v2.3.11, v2.3.12, v2.3.13, v2.3.14, v2.3.15, v2.3.16, v2.3.17, v2.3.18, v2.3.19, v2.3.2, v2.3.20, v2.3.21, v2.3.22, v2.3.23, v2.3.24, v2.3.25, v2.3.26, v2.3.27, v2.3.28, v2.3.29, v2.3.3, v2.3.30, v2.3.31, v2.3.32, v2.3.33, v2.3.34, v2.3.4, v2.3.5, v2.3.6, v2.3.7, v2.3.8, v2.3.9].
- don't install symfony/security v2.4.0|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.4.1|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.4.10|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.4.2|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.4.3|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.4.4|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.4.5|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.4.6|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.4.7|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.4.8|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.4.9|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.5.0|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.5.1|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.5.10|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.5.11|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.5.12|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.5.2|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.5.3|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.5.4|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.5.5|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.5.6|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.5.7|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.5.8|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.5.9|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.6.0|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.6.1|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.6.10|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.6.11|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.6.12|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.6.13|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.6.2|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.6.3|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.6.4|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.6.5|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.6.6|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.6.7|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.6.8|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.6.9|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.7.0|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.7.1|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.7.10|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.7.11|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.7.12|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.7.13|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.7.14|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.7.15|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.7.16|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.7.17|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.7.18|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.7.19|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.7.2|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.7.20|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.7.21|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.7.22|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.7.23|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.7.24|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.7.25|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.7.26|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.7.27|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.7.28|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.7.29|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.7.3|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.7.30|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.7.31|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.7.32|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.7.4|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.7.5|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.7.6|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.7.7|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.7.8|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.7.9|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.8.0|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.8.1|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.8.10|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.8.11|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.8.12|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.8.13|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.8.14|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.8.15|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.8.16|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.8.17|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.8.18|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.8.19|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.8.2|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.8.20|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.8.21|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.8.22|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.8.23|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.8.24|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.8.25|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.8.3|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.8.4|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.8.5|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.8.6|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.8.7|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.8.8|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.8.9|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.3.0|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.3.1|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.3.10|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.3.11|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.3.12|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.3.13|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.3.14|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.3.15|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.3.16|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.3.17|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.3.18|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.3.19|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.3.2|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.3.20|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.3.21|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.3.22|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.3.23|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.3.24|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.3.25|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.3.26|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.3.27|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.3.28|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.3.29|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.3.3|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.3.30|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.3.31|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.3.32|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.3.33|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.3.34|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.3.35|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.3.36|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.3.37|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.3.38|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.3.39|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.3.4|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.3.40|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.3.41|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.3.42|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.3.5|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.3.6|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.3.7|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.3.8|don't install symfony/symfony v3.2.9
- don't install symfony/security v2.3.9|don't install symfony/symfony v3.2.9
- Installation request for symfony/symfony 3.2.9 -> satisfiable by symfony/symfony[v3.2.9].
Anyone can help me ?
Thank you.

At the moment, SonataNewsBundle lacks support of Symfony 3 or higher.
There is this open issue: https://github.com/sonata-project/SonataNewsBundle/issues/348
I see two options
You could implement Symfony 3 support according to the issue above, or require Symfony 2.8 in your project.
"require": {
"php": ">=7.0",
...
"symfony/symfony": "^2.8"
"sonata-project/user-bundle": "^3.2"
...
Just a note: please forget about "dev"-versions as long as you don't need them or developing them. You might break your project any time by just updating, which you should consider very carefully.

Related

Installing composer package inside laravel that has dependency in laravel componenets

I am installing a package inside laravel project.
The package has the following dependencies:
"require": {
"illuminate/database": "^5.6",
"tightenco/collect": "^5.6"
}
If I install the package in a fresh composer project it works perfectly.
this is the errors i get.
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Conclusion: don't install laravel/framework v5.5.39
- Conclusion: don't install laravel/framework v5.5.38
- Conclusion: don't install laravel/framework v5.5.37
- Conclusion: don't install laravel/framework v5.5.36
- Conclusion: don't install laravel/framework v5.5.35
- Conclusion: remove laravel/framework v5.5.34
- Conclusion: don't install laravel/framework v5.5.34
- Conclusion: don't install laravel/framework v5.5.33
- Conclusion: don't install laravel/framework v5.5.32
- Conclusion: don't install laravel/framework v5.5.31
- Conclusion: don't install laravel/framework v5.5.30
- Conclusion: don't install laravel/framework v5.5.29
- Conclusion: don't install laravel/framework v5.5.28
- Conclusion: don't install laravel/framework v5.5.27
- Conclusion: don't install laravel/framework v5.5.26
- Conclusion: don't install laravel/framework v5.5.25
- Conclusion: don't install laravel/framework v5.5.24
- Conclusion: don't install laravel/framework v5.5.23
- Conclusion: don't install laravel/framework v5.5.22
- Conclusion: don't install laravel/framework v5.5.21
- Conclusion: don't install laravel/framework v5.5.20
- Conclusion: don't install laravel/framework v5.5.19
- Conclusion: don't install laravel/framework v5.5.18
- Conclusion: don't install laravel/framework v5.5.17
- Conclusion: don't install laravel/framework v5.5.16
- Conclusion: don't install laravel/framework v5.5.15
- Conclusion: don't install laravel/framework v5.5.14
- Conclusion: don't install laravel/framework v5.5.13
- Conclusion: don't install laravel/framework v5.5.12
- Conclusion: don't install laravel/framework v5.5.11
- Conclusion: don't install laravel/framework v5.5.10
- Conclusion: don't install laravel/framework v5.5.9
- Conclusion: don't install laravel/framework v5.5.8
- Conclusion: don't install laravel/framework v5.5.7
- Conclusion: don't install laravel/framework v5.5.6
- Conclusion: don't install laravel/framework v5.5.5
- Conclusion: don't install laravel/framework v5.5.4
- Conclusion: don't install laravel/framework v5.5.3
- Installation request for avifatal/sql-schema-diff dev-master -> satisfiable by avifatal/sql-schema-diff[dev-master].
- Conclusion: don't install laravel/framework v5.5.2
- Conclusion: don't install laravel/framework v5.5.1
- avifatal/sql-schema-diff dev-master requires illuminate/database ^5.6 -> satisfiable by illuminate/database[v5.6.0, v5.6.1, v5.6.10, v5.6.11, v5.6.2, v5.6.3, v5.6.4, v5.6.5, v5.6.6, v5.6.7, v5.6.8, v5.6.9].
- don't install illuminate/database v5.6.0|don't install laravel/framework v5.5.0
- don't install illuminate/database v5.6.1|don't install laravel/framework v5.5.0
- don't install illuminate/database v5.6.10|don't install laravel/framework v5.5.0
- don't install illuminate/database v5.6.11|don't install laravel/framework v5.5.0
- don't install illuminate/database v5.6.2|don't install laravel/framework v5.5.0
- don't install illuminate/database v5.6.3|don't install laravel/framework v5.5.0
- don't install illuminate/database v5.6.4|don't install laravel/framework v5.5.0
- don't install illuminate/database v5.6.5|don't install laravel/framework v5.5.0
- don't install illuminate/database v5.6.6|don't install laravel/framework v5.5.0
- don't install illuminate/database v5.6.7|don't install laravel/framework v5.5.0
- don't install illuminate/database v5.6.8|don't install laravel/framework v5.5.0
- don't install illuminate/database v5.6.9|don't install laravel/framework v5.5.0
- Installation request for laravel/framework 5.5.* -> satisfiable by laravel/framework[v5.5.0, v5.5.1, v5.5.10, v5.5.11, v5.5.12, v5.5.13, v5.5.14, v5.5.15, v5.5.16, v5.5.17, v5.5.18, v5.5.19, v5.5.2, v5.5.20, v5.5.21, v5.5.22, v5.5.23, v5.5.24, v5.5.25, v5.5.26, v5.5.27, v5.5.28, v5.5.29, v5.5.3, v5.5.30, v5.5.31, v5.5.32, v5.5.33, v5.5.34, v5.5.35, v5.5.36, v5.5.37, v5.5.38, v5.5.39, v5.5.4, v5.5.5, v5.5.6, v5.5.7, v5.5.8, v5.5.9].
The package you are trying to add has dependencies which are not supported by your current version of laravel so you need to upgrade your laravel framework version in order to install that package.
Simply set "laravel/framework": "5.6.*" in require section of composer.json file and than run composer update.

Cannot install vinkla/pusher in laravel

I am trying to integrate Pusher with Laravel application. When I try to install Pusher Bridge vinkla/pusher I am getting below error
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for vinkla/pusher ^2.3 -> satisfiable by vinkla/pusher[2.3.0].
- Conclusion: remove laravel/framework v5.0.35
- Conclusion: don't install laravel/framework v5.0.35
- vinkla/pusher 2.3.0 requires illuminate/contracts 5.1.* || 5.2.* || 5.3.* -> satisfiable by illuminate/contracts[v5.1.1, v5.1.13, v5.1.16, v5.1.20, v5.1.22, v5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.8, v5.2.0, v5.2.19, v5.2.21, v5.2.24, v5.2.25, v5.2.26, v5.2.27, v5.2.28, v5.2.31, v5.2.32, v5.2.37, v5.2.6, v5.2.7].
- don't install illuminate/contracts v5.1.1|don't install laravel/framework v5.0.35
- don't install illuminate/contracts v5.1.13|don't install laravel/framework v5.0.35
- don't install illuminate/contracts v5.1.16|don't install laravel/framework v5.0.35
- don't install illuminate/contracts v5.1.20|don't install laravel/framework v5.0.35
- don't install illuminate/contracts v5.1.22|don't install laravel/framework v5.0.35
- don't install illuminate/contracts v5.1.25|don't install laravel/framework v5.0.35
- don't install illuminate/contracts v5.1.28|don't install laravel/framework v5.0.35
- don't install illuminate/contracts v5.1.30|don't install laravel/framework v5.0.35
- don't install illuminate/contracts v5.1.31|don't install laravel/framework v5.0.35
- don't install illuminate/contracts v5.1.8|don't install laravel/framework v5.0.35
- don't install illuminate/contracts v5.2.0|don't install laravel/framework v5.0.35
- don't install illuminate/contracts v5.2.19|don't install laravel/framework v5.0.35
- don't install illuminate/contracts v5.2.21|don't install laravel/framework v5.0.35
- don't install illuminate/contracts v5.2.24|don't install laravel/framework v5.0.35
- don't install illuminate/contracts v5.2.25|don't install laravel/framework v5.0.35
- don't install illuminate/contracts v5.2.26|don't install laravel/framework v5.0.35
- don't install illuminate/contracts v5.2.27|don't install laravel/framework v5.0.35
- don't install illuminate/contracts v5.2.28|don't install laravel/framework v5.0.35
- don't install illuminate/contracts v5.2.31|don't install laravel/framework v5.0.35
- don't install illuminate/contracts v5.2.32|don't install laravel/framework v5.0.35
- don't install illuminate/contracts v5.2.37|don't install laravel/framework v5.0.35
- don't install illuminate/contracts v5.2.6|don't install laravel/framework v5.0.35
- don't install illuminate/contracts v5.2.7|don't install laravel/framework v5.0.35
- Installation request for laravel/framework (locked at v5.0.35, required as 5.0.*) -> satisfiable by laravel/framework[v5.0.35].
Please help.
The latest version of vinkla/pusher 2.3.0 requires illuminate packages with version 5.1.x, but it seems your versions are 5.0.x, so you should be ok installing version 2.1.0 which is ok with 5.0.x:
composer require vinkla/pusher:2.1.0

Acetone package Laravel 5.1 installation

I need to use some package with Laravel 5.1, for clearing cache on varnish.
I have tried with acetone but seems like I can't use it with the 5.1 version, because it throws the below listed error. The package is for Laravel 5 version: http://packalyst.com/packages/package/ademes/acetone
But the error says that the package requires illuminate/support 4.x:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Conclusion: remove laravel/framework v5.1.31
- Conclusion: don't install laravel/framework v5.1.31
- Conclusion: don't install laravel/framework v5.1.30
- Conclusion: don't install laravel/framework v5.1.29
- Conclusion: don't install laravel/framework v5.1.28
- Conclusion: don't install laravel/framework v5.1.27
- Conclusion: don't install laravel/framework v5.1.26
- Conclusion: don't install laravel/framework v5.1.25
- Conclusion: don't install laravel/framework v5.1.24
- Conclusion: don't install laravel/framework v5.1.23
- Conclusion: don't install laravel/framework v5.1.22
- Conclusion: don't install laravel/framework v5.1.21
- Conclusion: don't install laravel/framework v5.1.20
- Conclusion: don't install laravel/framework v5.1.19
- Conclusion: don't install laravel/framework v5.1.18
- Conclusion: don't install laravel/framework v5.1.17
- Conclusion: don't install laravel/framework v5.1.16
- Conclusion: don't install laravel/framework v5.1.15
- Conclusion: don't install laravel/framework v5.1.14
- Conclusion: don't install laravel/framework v5.1.13
- Conclusion: don't install laravel/framework v5.1.12
- Conclusion: don't install laravel/framework v5.1.11
- Conclusion: don't install laravel/framework v5.1.10
- Conclusion: don't install laravel/framework v5.1.9
- Conclusion: don't install laravel/framework v5.1.8
- Conclusion: don't install laravel/framework v5.1.7
- Conclusion: don't install laravel/framework v5.1.6
- Conclusion: don't install laravel/framework v5.1.5
- Conclusion: don't install laravel/framework v5.1.4
- Conclusion: don't install laravel/framework v5.1.3
- Conclusion: don't install laravel/framework v5.1.2
- Installation request for jdare/acetone dev-master -> satisfiable by jdare/acetone[dev-master].
- Conclusion: don't install laravel/framework v5.1.1
- Conclusion: don't install laravel/framework v5.1.0
- jdare/acetone dev-master requires illuminate/support 4.x -> satisfiable by illuminate/support[4.0.x-dev, 4.1.x-dev, 4.2.x-dev, v4.0.0, v4.0.0-BETA2, v4.0.0-BETA3, v4.0.0-BETA4, v4.0.1, v4.0.10, v4.0.2, v4.0.3, v4.0.4, v4.0.5, v4.0.6, v4.0.7, v4.0.8, v4.0.9, v4.1.0, v4.1.1, v4.1.10, v4.1.11, v4.1.12, v4.1.13, v4.1.14, v4.1.15, v4.1.16, v4.1.17, v4.1.18, v4.1.19, v4.1.2, v4.1.20, v4.1.21, v4.1.22, v4.1.23, v4.1.24, v4.1.25, v4.1.26, v4.1.27, v4.1.28, v4.1.29, v4.1.3, v4.1.30, v4.1.4, v4.1.5, v4.1.6, v4.1.7, v4.1.8, v4.1.9, v4.2.0-BETA1, v4.2.1, v4.2.12, v4.2.16, v4.2.17, v4.2.2, v4.2.3, v4.2.4, v4.2.5, v4.2.6, v4.2.7, v4.2.8, v4.2.9].
- don't install illuminate/support 4.0.x-dev|don't install laravel/framework 5.1.x-dev
- don't install illuminate/support 4.1.x-dev|don't install laravel/framework 5.1.x-dev
- don't install illuminate/support 4.2.x-dev|don't install laravel/framework 5.1.x-dev
- don't install illuminate/support v4.0.0|don't install laravel/framework 5.1.x-dev
- don't install illuminate/support v4.0.0-BETA2|don't install laravel/framework 5.1.x-dev
- don't install illuminate/support v4.0.0-BETA3|don't install laravel/framework 5.1.x-dev
- don't install illuminate/support v4.0.0-BETA4|don't install laravel/framework 5.1.x-dev
- don't install illuminate/support v4.0.1|don't install laravel/framework 5.1.x-dev
- don't install illuminate/support v4.0.10|don't install laravel/framework 5.1.x-dev
- don't install illuminate/support v4.0.2|don't install laravel/framework 5.1.x-dev
- don't install illuminate/support v4.0.3|don't install laravel/framework 5.1.x-dev
- don't install illuminate/support v4.0.4|don't install laravel/framework 5.1.x-dev
- don't install illuminate/support v4.0.5|don't install laravel/framework 5.1.x-dev
- don't install illuminate/support v4.0.6|don't install laravel/framework 5.1.x-dev
- don't install illuminate/support v4.0.7|don't install laravel/framework 5.1.x-dev
- don't install illuminate/support v4.0.8|don't install laravel/framework 5.1.x-dev
- don't install illuminate/support v4.0.9|don't install laravel/framework 5.1.x-dev
- don't install illuminate/support v4.1.0|don't install laravel/framework 5.1.x-dev
- don't install illuminate/support v4.1.1|don't install laravel/framework 5.1.x-dev
- don't install illuminate/support v4.1.10|don't install laravel/framework 5.1.x-dev
- don't install illuminate/support v4.1.11|don't install laravel/framework 5.1.x-dev
- don't install illuminate/support v4.1.12|don't install laravel/framework 5.1.x-dev
- don't install illuminate/support v4.1.13|don't install laravel/framework 5.1.x-dev
- don't install illuminate/support v4.1.14|don't install laravel/framework 5.1.x-dev
- don't install illuminate/support v4.1.15|don't install laravel/framework 5.1.x-dev
- don't install illuminate/support v4.1.16|don't install laravel/framework 5.1.x-dev
- don't install illuminate/support v4.1.17|don't install laravel/framework 5.1.x-dev
- don't install illuminate/support v4.1.18|don't install laravel/framework 5.1.x-dev
- don't install illuminate/support v4.1.19|don't install laravel/framework 5.1.x-dev
- don't install illuminate/support v4.1.2|don't install laravel/framework 5.1.x-dev
- don't install illuminate/support v4.1.20|don't install laravel/framework 5.1.x-dev
- don't install illuminate/support v4.1.21|don't install laravel/framework 5.1.x-dev
- don't install illuminate/support v4.1.22|don't install laravel/framework 5.1.x-dev
- don't install illuminate/support v4.1.23|don't install laravel/framework 5.1.x-dev
- don't install illuminate/support v4.1.24|don't install laravel/framework 5.1.x-dev
- don't install illuminate/support v4.1.25|don't install laravel/framework 5.1.x-dev
- don't install illuminate/support v4.1.26|don't install laravel/framework 5.1.x-dev
- don't install illuminate/support v4.1.27|don't install laravel/framework 5.1.x-dev
- don't install illuminate/support v4.1.28|don't install laravel/framework 5.1.x-dev
- don't install illuminate/support v4.1.29|don't install laravel/framework 5.1.x-dev
- don't install illuminate/support v4.1.3|don't install laravel/framework 5.1.x-dev
- don't install illuminate/support v4.1.30|don't install laravel/framework 5.1.x-dev
- don't install illuminate/support v4.1.4|don't install laravel/framework 5.1.x-dev
- don't install illuminate/support v4.1.5|don't install laravel/framework 5.1.x-dev
- don't install illuminate/support v4.1.6|don't install laravel/framework 5.1.x-dev
- don't install illuminate/support v4.1.7|don't install laravel/framework 5.1.x-dev
- don't install illuminate/support v4.1.8|don't install laravel/framework 5.1.x-dev
- don't install illuminate/support v4.1.9|don't install laravel/framework 5.1.x-dev
- don't install illuminate/support v4.2.0-BETA1|don't install laravel/framework 5.1.x-dev
- don't install illuminate/support v4.2.1|don't install laravel/framework 5.1.x-dev
- don't install illuminate/support v4.2.12|don't install laravel/framework 5.1.x-dev
- don't install illuminate/support v4.2.16|don't install laravel/framework 5.1.x-dev
- don't install illuminate/support v4.2.17|don't install laravel/framework 5.1.x-dev
- don't install illuminate/support v4.2.2|don't install laravel/framework 5.1.x-dev
- don't install illuminate/support v4.2.3|don't install laravel/framework 5.1.x-dev
- don't install illuminate/support v4.2.4|don't install laravel/framework 5.1.x-dev
- don't install illuminate/support v4.2.5|don't install laravel/framework 5.1.x-dev
- don't install illuminate/support v4.2.6|don't install laravel/framework 5.1.x-dev
- don't install illuminate/support v4.2.7|don't install laravel/framework 5.1.x-dev
- don't install illuminate/support v4.2.8|don't install laravel/framework 5.1.x-dev
- don't install illuminate/support v4.2.9|don't install laravel/framework 5.1.x-dev
- Installation request for laravel/framework 5.1.* -> satisfiable by laravel/framework[5.1.x-dev, v5.1.0, v5.1.1, v5.1.10, v5.1.11, v5.1.12, v5.1.13, v5.1.14, v5.1.15, v5.1.16, v5.1.17, v5.1.18, v5.1.19, v5.1.2, v5.1.20, v5.1.21, v5.1.22, v5.1.23, v5.1.24, v5.1.25, v5.1.26, v5.1.27, v5.1.28, v5.1.29, v5.1.3, v5.1.30, v5.1.31, v5.1.4, v5.1.5, v5.1.6, v5.1.7, v5.1.8, v5.1.9].
This is my composer.json file:
"name": "laravel/laravel",
"description": "The Laravel Framework.",
"keywords": ["framework", "laravel"],
"license": "MIT",
"type": "project",
"require": {
"php": ">=5.5.9",
"laravel/framework": "5.1.*",
"barryvdh/laravel-cors": "^0.8.0",
"doctrine/dbal": "^2.5",
"jdare/acetone": "dev-master"
},
"require-dev": {
"fzaninotto/faker": "~1.4",
"mockery/mockery": "0.9.*",
"phpunit/phpunit": "~4.0",
"phpspec/phpspec": "~2.1"
},
"autoload": {
"classmap": [
"database"
],
"psr-4": {
"App\\": "app/"
}
},
"autoload-dev": {
"classmap": [
"tests/TestCase.php"
]
},
"scripts": {
"post-install-cmd": [
"php artisan clear-compiled",
"php artisan optimize"
],
"post-update-cmd": [
"php artisan clear-compiled",
"php artisan optimize"
],
"post-root-package-install": [
"php -r \"copy('.env.example', '.env');\""
],
"post-create-project-cmd": [
"php artisan key:generate"
]
},
"config": {
"preferred-install": "dist"
},
"minimum-stability": "dev",
"prefer-stable": true
Is there any solution to it or some other package to use to do the above mentioned task ?
It looks like JDare/Acetone is a Laravel 4 package and you are using Laravel 5:
Laravel4 package for purging & banning cached items in Varnish
This package requires illuminate/support 4.x but Laravel 5 is using illuminate/support 5.x which makes it incompatible.
But there exists a fork of Acetone for Laravel 5 which is lhj1982/Acetone. This is not available via Packagist so you would have to overide the package with the fork in your composer.json:
"repositories": [
{
"type": "package",
"package": {
"name": "jdare/acetone",
"version": "dev-master",
"source": {
"url": "https://github.com/lhj1982/Acetone.git",
"type": "git",
"reference": "master"
},
"autoload": {
"classmap": [""]
}
}
}
],
Then you can require the package as usual.
"require": {
"jdare/acetone": "dev-master"
},
Be aware that this is not an official fork and I did not test this fork, but it might work. Another way would be forking the original project yourself and add Laravel 5 support for it.
After composer update you can run composer show jdare/acetone -v to verify that the fork was pulled.
You should see something similar:
$ composer show jdare/acetone -v
name : jdare/acetone
descrip. :
keywords :
versions : * dev-master
type : library
source : [git] https://github.com/lhj1982/Acetone.git master
dist : []
names : jdare/acetone
autoload
classmap

Doctrine ODM with symfony 3.0.*

i'm trying to install the Dotrine ODM bundle but composer returns
Your requirements could not be resolved to an installable set of packages.
my composer.json file looks like this :
"require": {
"php": ">=5.5.9",
"symfony/symfony": "3.0.*",
"doctrine/orm": "^2.5",
"doctrine/doctrine-bundle": "^1.6",
"doctrine/doctrine-cache-bundle": "^1.2",
"symfony/swiftmailer-bundle": "^2.3",
"symfony/monolog-bundle": "^2.8",
"sensio/distribution-bundle": "^5.0",
"sensio/framework-extra-bundle": "^3.0.2",
"incenteev/composer-parameter-handler": "^2.0",
"doctrine/mongodb-odm": "~1.0",
"doctrine/mongodb-odm-bundle": "~3.0"
},
According to the full composer error message (see below), doctrine ODM needs symfony2.8.2 max version.
Does it mean the bundle is not symfony3.0.*-ready yet or am i missing something (i.e composer configs...)
full composer log :
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Conclusion: remove symfony/symfony v3.0.1
- Conclusion: don't install symfony/symfony v3.0.1
- doctrine/mongodb-odm-bundle 3.0.1 requires symfony/framework-bundle ~2.1 -> satisfiable by symfony/framework-bundle[v2.1.0, v2.1.1, v2.1.10, v2.1.11, v2.1.12, v2.1.13, v2.1.2, v2.1.3, v2.1.4, v2.1.5, v2.1.6, v2.1.7, v2.1.8, v2.1.9, v2.2.0, v2.2.1, v2.2.10, v2.2.11, v2.2.2, v2.2.3, v2.2.4, v2.2.5, v2.2.6, v2.2.7, v2.2.8, v2.2.9, v2.3.0, v2.3.1, v2.3.10, v2.3.11, v2.3.12, v2.3.13, v2.3.14, v2.3.15, v2.3.16, v2.3.17, v2.3.18, v2.3.19, v2.3.2, v2.3.20, v2.3.21, v2.3.22, v2.3.23, v2.3.24, v2.3.25, v2.3.26, v2.3.27, v2.3.28, v2.3.29, v2.3.3, v2.3.30, v2.3.31, v2.3.32, v2.3.33, v2.3.34, v2.3.35, v2.3.36, v2.3.37, v2.3.4, v2.3.5, v2.3.6, v2.3.7, v2.3.8, v2.3.9, v2.4.0, v2.4.1, v2.4.10, v2.4.2, v2.4.3, v2.4.4, v2.4.5, v2.4.6, v2.4.7, v2.4.8, v2.4.9, v2.5.0, v2.5.1, v2.5.10, v2.5.11, v2.5.12, v2.5.2, v2.5.3, v2.5.4, v2.5.5, v2.5.6, v2.5.7, v2.5.8, v2.5.9, v2.6.0, v2.6.1, v2.6.10, v2.6.11, v2.6.12, v2.6.13, v2.6.2, v2.6.3, v2.6.4, v2.6.5, v2.6.6, v2.6.7, v2.6.8, v2.6.9, v2.7.0, v2.7.1, v2.7.2, v2.7.3, v2.7.4, v2.7.5, v2.7.6, v2.7.7, v2.7.8, v2.7.9, v2.8.0, v2.8.1, v2.8.2].
- doctrine/mongodb-odm-bundle 3.0.2 requires symfony/framework-bundle ~2.1 -> satisfiable by symfony/framework-bundle[v2.1.0, v2.1.1, v2.1.10, v2.1.11, v2.1.12, v2.1.13, v2.1.2, v2.1.3, v2.1.4, v2.1.5, v2.1.6, v2.1.7, v2.1.8, v2.1.9, v2.2.0, v2.2.1, v2.2.10, v2.2.11, v2.2.2, v2.2.3, v2.2.4, v2.2.5, v2.2.6, v2.2.7, v2.2.8, v2.2.9, v2.3.0, v2.3.1, v2.3.10, v2.3.11, v2.3.12, v2.3.13, v2.3.14, v2.3.15, v2.3.16, v2.3.17, v2.3.18, v2.3.19, v2.3.2, v2.3.20, v2.3.21, v2.3.22, v2.3.23, v2.3.24, v2.3.25, v2.3.26, v2.3.27, v2.3.28, v2.3.29, v2.3.3, v2.3.30, v2.3.31, v2.3.32, v2.3.33, v2.3.34, v2.3.35, v2.3.36, v2.3.37, v2.3.4, v2.3.5, v2.3.6, v2.3.7, v2.3.8, v2.3.9, v2.4.0, v2.4.1, v2.4.10, v2.4.2, v2.4.3, v2.4.4, v2.4.5, v2.4.6, v2.4.7, v2.4.8, v2.4.9, v2.5.0, v2.5.1, v2.5.10, v2.5.11, v2.5.12, v2.5.2, v2.5.3, v2.5.4, v2.5.5, v2.5.6, v2.5.7, v2.5.8, v2.5.9, v2.6.0, v2.6.1, v2.6.10, v2.6.11, v2.6.12, v2.6.13, v2.6.2, v2.6.3, v2.6.4, v2.6.5, v2.6.6, v2.6.7, v2.6.8, v2.6.9, v2.7.0, v2.7.1, v2.7.2, v2.7.3, v2.7.4, v2.7.5, v2.7.6, v2.7.7, v2.7.8, v2.7.9, v2.8.0, v2.8.1, v2.8.2].
- doctrine/mongodb-odm-bundle v3.0.0 requires symfony/framework-bundle ~2.1 -> satisfiable by symfony/framework-bundle[v2.1.0, v2.1.1, v2.1.10, v2.1.11, v2.1.12, v2.1.13, v2.1.2, v2.1.3, v2.1.4, v2.1.5, v2.1.6, v2.1.7, v2.1.8, v2.1.9, v2.2.0, v2.2.1, v2.2.10, v2.2.11, v2.2.2, v2.2.3, v2.2.4, v2.2.5, v2.2.6, v2.2.7, v2.2.8, v2.2.9, v2.3.0, v2.3.1, v2.3.10, v2.3.11, v2.3.12, v2.3.13, v2.3.14, v2.3.15, v2.3.16, v2.3.17, v2.3.18, v2.3.19, v2.3.2, v2.3.20, v2.3.21, v2.3.22, v2.3.23, v2.3.24, v2.3.25, v2.3.26, v2.3.27, v2.3.28, v2.3.29, v2.3.3, v2.3.30, v2.3.31, v2.3.32, v2.3.33, v2.3.34, v2.3.35, v2.3.36, v2.3.37, v2.3.4, v2.3.5, v2.3.6, v2.3.7, v2.3.8, v2.3.9, v2.4.0, v2.4.1, v2.4.10, v2.4.2, v2.4.3, v2.4.4, v2.4.5, v2.4.6, v2.4.7, v2.4.8, v2.4.9, v2.5.0, v2.5.1, v2.5.10, v2.5.11, v2.5.12, v2.5.2, v2.5.3, v2.5.4, v2.5.5, v2.5.6, v2.5.7, v2.5.8, v2.5.9, v2.6.0, v2.6.1, v2.6.10, v2.6.11, v2.6.12, v2.6.13, v2.6.2, v2.6.3, v2.6.4, v2.6.5, v2.6.6, v2.6.7, v2.6.8, v2.6.9, v2.7.0, v2.7.1, v2.7.2, v2.7.3, v2.7.4, v2.7.5, v2.7.6, v2.7.7, v2.7.8, v2.7.9, v2.8.0, v2.8.1, v2.8.2].
- don't install symfony/framework-bundle v2.3.0|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.3.1|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.3.10|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.3.11|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.3.12|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.3.13|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.3.14|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.3.15|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.3.16|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.3.17|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.3.18|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.3.19|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.3.2|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.3.20|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.3.21|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.3.22|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.3.23|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.3.24|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.3.25|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.3.26|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.3.27|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.3.28|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.3.29|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.3.3|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.3.30|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.3.31|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.3.32|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.3.33|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.3.34|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.3.35|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.3.36|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.3.37|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.3.4|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.3.5|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.3.6|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.3.7|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.3.8|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.3.9|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.4.0|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.4.1|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.4.10|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.4.2|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.4.3|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.4.4|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.4.5|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.4.6|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.4.7|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.4.8|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.4.9|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.5.0|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.5.1|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.5.10|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.5.11|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.5.12|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.5.2|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.5.3|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.5.4|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.5.5|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.5.6|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.5.7|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.5.8|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.5.9|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.6.0|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.6.1|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.6.10|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.6.11|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.6.12|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.6.13|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.6.2|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.6.3|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.6.4|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.6.5|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.6.6|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.6.7|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.6.8|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.6.9|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.7.0|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.7.1|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.7.2|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.7.3|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.7.4|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.7.5|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.7.6|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.7.7|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.7.8|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.7.9|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.8.0|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.8.1|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.8.2|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.1.0|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.1.1|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.1.10|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.1.11|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.1.12|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.1.13|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.1.2|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.1.3|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.1.4|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.1.5|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.1.6|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.1.7|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.1.8|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.1.9|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.2.0|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.2.1|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.2.10|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.2.11|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.2.2|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.2.3|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.2.4|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.2.5|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.2.6|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.2.7|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.2.8|don't install symfony/symfony v3.0.0
- don't install symfony/framework-bundle v2.2.9|don't install symfony/symfony v3.0.0
- Installation request for symfony/symfony 3.0.* -> satisfiable by symfony/symfony[v3.0.0, v3.0.1].
- Installation request for doctrine/mongodb-odm-bundle ~3.0 -> satisfiable by doctrine/mongodb-odm-bundle[3.0.1, 3.0.2, v3.0.0].
You can also just do :
"doctrine/mongodb-odm": "~1.0",
"doctrine/mongodb-odm-bundle": "#dev"
and specify the dev flag.
Then do:
$ php composer.phar update doctrine/mongodb-odm doctrine/mongodb-odm-bundle
The dev version should be functional but expect things to change as code is being constantly applied.

composer install : Your requirements could not be resolved to an installable set of packages

might be repeated question. Tried the old one.
I'm getting the error composer install : Your requirements could not be resolved to an installable set of packages
my composer.json is
"require": {
"laravel/framework": "4.2.*",
"laravelbook/ardent": "dev-master",
"ollieread/multiauth": "dev-master",
"intervention/image": "2.*",
"yajra/laravel-datatables-oracle": "~3.0",
"barryvdh/laravel-dompdf": "0.4.*",
"mnshankar/CSV": "1.8"
},
the error i'm getting,
Problem 1
- Conclusion: don't install laravel/framework v5.1.26
- Conclusion: don't install illuminate/validation v5.1.25
- Conclusion: don't install illuminate/filesystem v4.2.17
- Conclusion: don't install illuminate/validation v5.1.22
- Conclusion: don't install illuminate/filesystem v4.2.16
- Conclusion: don't install illuminate/validation v5.1.20
- Conclusion: don't install illuminate/filesystem v4.2.12
- Conclusion: don't install illuminate/validation v5.1.16
- Conclusion: don't install illuminate/filesystem v4.2.9
- Conclusion: don't install illuminate/filesystem v4.2.8
- Conclusion: don't install illuminate/validation v5.1.13
- Conclusion: don't install illuminate/filesystem v4.2.7
- Conclusion: don't install illuminate/validation v5.1.8
- Conclusion: don't install illuminate/filesystem v4.2.6
- Conclusion: don't install illuminate/validation v5.1.6
- Conclusion: don't install illuminate/filesystem v4.2.5
- Conclusion: don't install illuminate/validation v5.1.2
- Conclusion: don't install illuminate/filesystem v4.2.4
- Conclusion: don't install illuminate/filesystem v4.2.3
- Conclusion: don't install illuminate/filesystem v4.2.2
- Conclusion: don't install illuminate/filesystem v4.2.1
- Conclusion: don't install illuminate/filesystem v4.1.30
- Conclusion: don't install illuminate/filesystem v4.1.29
- Conclusion: don't install illuminate/filesystem v4.1.28
- Conclusion: don't install illuminate/filesystem v4.1.27
- Conclusion: don't install illuminate/filesystem v4.1.26
- Conclusion: don't install illuminate/filesystem v4.1.25
- Conclusion: don't install illuminate/filesystem v4.1.24
- Conclusion: don't install illuminate/filesystem v4.1.23
- Conclusion: don't install illuminate/filesystem v4.1.22
- Conclusion: don't install illuminate/filesystem v4.1.21
- Conclusion: don't install illuminate/filesystem v4.1.20
- Conclusion: don't install illuminate/filesystem v4.1.19
- Conclusion: don't install illuminate/filesystem v4.1.18
- Conclusion: don't install illuminate/filesystem v4.1.17
- Conclusion: don't install illuminate/filesystem v4.1.16
- Conclusion: don't install illuminate/filesystem v4.1.15
- Conclusion: don't install illuminate/filesystem v4.1.14
- Conclusion: don't install illuminate/filesystem v4.1.13
- Conclusion: don't install illuminate/filesystem v4.1.12
- Conclusion: don't install illuminate/filesystem v4.1.11
- Conclusion: don't install illuminate/filesystem v4.1.10
- Conclusion: don't install illuminate/filesystem v4.1.9
- Conclusion: don't install illuminate/filesystem v4.1.8
- Conclusion: don't install illuminate/filesystem v4.1.7
- Conclusion: don't install illuminate/filesystem v4.1.6
- Conclusion: don't install illuminate/filesystem v4.1.5
- Conclusion: don't install illuminate/filesystem v4.1.4
- Conclusion: don't install illuminate/filesystem v4.1.3
- Installation request for laravelbook/ardent dev-master -> satisfiable by laravelbook/ardent[dev-master].
- Conclusion: don't install illuminate/filesystem v4.1.2
- Installation request for ollieread/multiauth dev-master -> satisfiable by ollieread/multiauth[dev-master].
- don't install illuminate/filesystem v4.1.0|don't install laravel/framework v5.1.0
- don't install illuminate/filesystem v4.1.0|don't install laravel/framework v5.1.1
- don't install illuminate/filesystem v4.1.0|don't install laravel/framework v5.1.10
- don't install illuminate/filesystem v4.1.0|don't install laravel/framework v5.1.11
- don't install illuminate/filesystem v4.1.0|don't install laravel/framework v5.1.12
- don't install illuminate/filesystem v4.1.0|don't install laravel/framework v5.1.13
- don't install illuminate/filesystem v4.1.0|don't install laravel/framework v5.1.14
- don't install illuminate/filesystem v4.1.0|don't install laravel/framework v5.1.15
- don't install illuminate/filesystem v4.1.0|don't install laravel/framework v5.1.16
- don't install illuminate/filesystem v4.1.0|don't install laravel/framework v5.1.17
- don't install illuminate/filesystem v4.1.0|don't install laravel/framework v5.1.18
- don't install illuminate/filesystem v4.1.0|don't install laravel/framework v5.1.19
- don't install illuminate/filesystem v4.1.0|don't install laravel/framework v5.1.2
- don't install illuminate/filesystem v4.1.0|don't install laravel/framework v5.1.20
- don't install illuminate/filesystem v4.1.0|don't install laravel/framework v5.1.21
- don't install illuminate/filesystem v4.1.0|don't install laravel/framework v5.1.22
- don't install illuminate/filesystem v4.1.0|don't install laravel/framework v5.1.23
- don't install illuminate/filesystem v4.1.0|don't install laravel/framework v5.1.24
- don't install illuminate/filesystem v4.1.0|don't install laravel/framework v5.1.25
- don't install illuminate/filesystem v4.1.0|don't install laravel/framework v5.1.3
- don't install illuminate/filesystem v4.1.0|don't install laravel/framework v5.1.4
- don't install illuminate/filesystem v4.1.0|don't install laravel/framework v5.1.5
- don't install illuminate/filesystem v4.1.0|don't install laravel/framework v5.1.6
- don't install illuminate/filesystem v4.1.0|don't install laravel/framework v5.1.7
- don't install illuminate/filesystem v4.1.0|don't install laravel/framework v5.1.8
- don't install illuminate/filesystem v4.1.0|don't install laravel/framework v5.1.9
- ollieread/multiauth dev-master requires illuminate/filesystem ~4.1|~4.2 -> satisfiable by illuminate/filesystem[v4.1.0, v4.1.1, v4.1.10, v4.1.11, v4.1.12, v4.1.13, v4.1.14, v4.1.15, v4.1.16, v4.1.17, v4.1.18, v4.1.19, v4.1.2, v4.1.20, v4.1.21, v4.1.22, v4.1.23, v4.1.24, v4.1.25, v4.1.26, v4.1.27, v4.1.28, v4.1.29, v4.1.3, v4.1.30, v4.1.4, v4.1.5, v4.1.6, v4.1.7, v4.1.8, v4.1.9, v4.2.1, v4.2.12, v4.2.16, v4.2.17, v4.2.2, v4.2.3, v4.2.4, v4.2.5, v4.2.6, v4.2.7, v4.2.8, v4.2.9].
- Conclusion: don't install illuminate/filesystem v4.1.1
- Installation request for laravel/framework 5.1.* -> satisfiable by laravel/framework[v5.1.0, v5.1.1, v5.1.10, v5.1.11, v5.1.12, v5.1.13, v5.1.14, v5.1.15, v5.1.16, v5.1.17, v5.1.18, v5.1.19, v5.1.2, v5.1.20, v5.1.21, v5.1.22, v5.1.23, v5.1.24, v5.1.25, v5.1.26, v5.1.3, v5.1.4, v5.1.5, v5.1.6, v5.1.7, v5.1.8, v5.1.9].
- laravelbook/ardent dev-master requires illuminate/validation ~5.1 -> satisfiable by laravel/framework[v5.1.0, v5.1.1, v5.1.10, v5.1.11, v5.1.12, v5.1.13, v5.1.14, v5.1.15, v5.1.16, v5.1.17, v5.1.18, v5.1.19, v5.1.2, v5.1.20, v5.1.21, v5.1.22, v5.1.23, v5.1.24, v5.1.25, v5.1.26, v5.1.3, v5.1.4, v5.1.5, v5.1.6, v5.1.7, v5.1.8, v5.1.9], illuminate/validation[v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v5.1.25, v5.1.6, v5.1.8].
- Conclusion: don't install illuminate/validation v5.1.1|install laravel/framework v5.1.25
I'm facing problem in finding which doesn't compatible with?
laravel-ardent/ardent package requires Laravel 5.1.
There's two ways to resolve this conflict:
1. Upgrade Laravel to 5.1 (highly recommend this one!):
"laravel/framework": "5.1.*",
2. Downgrade laravel-ardent/ardent to v2.1.0 as it works with Laravel 4.0:
"laravelbook/ardent": "2.1.0",
What worked for me was using:
composer require yajra/laravel-datatables-oracle:~5.0
in the terminal.
This worked for me:
composer require yajra/laravel-datatables-buttons:^3.2

Resources