Related
I have an error when I want to run the composer require on my project. errors issued like this:
# composer require spatie/laravel-link-checker
Using version ^4.1 for spatie/laravel-link-checker
./composer.json has been updated
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 laravel/framework v5.8.18
- Conclusion: don't install laravel/framework v5.8.18
- spatie/laravel-link-checker 4.1.0 requires illuminate/support ~5.6.0 -> satisfiable by illuminate/support[5.6.x-dev, v5.6.0, v5.6.1, v5.6.10, v5.6.11, v5.6.12, v5.6.13, v5.6.14, v5.6.15, v5.6.16, v5.6.17, v5.6.19, v5.6.2, v5.6.20, v5.6.21, v5.6.22, v5.6.23, v5.6.24, v5.6.25, v5.6.26, v5.6.27, v5.6.28, v5.6.29, v5.6.3, v5.6.30, v5.6.31, v5.6.32, v5.6.33, v5.6.34, v5.6.35, v5.6.36, v5.6.37, v5.6.38, v5.6.39, v5.6.4, v5.6.5, v5.6.6, v5.6.7, v5.6.8, v5.6.9], laravel/framework[5.6.x-dev].
- spatie/laravel-link-checker 4.1.1 requires laravel/framework ~5.6.0|~5.7.0 -> satisfiable by laravel/framework[5.6.x-dev, 5.7.x-dev].
- don't install illuminate/support 5.6.x-dev|don't install laravel/framework v5.8.18
- don't install illuminate/support v5.6.0|don't install laravel/framework v5.8.18
- don't install illuminate/support v5.6.1|don't install laravel/framework v5.8.18
- don't install illuminate/support v5.6.10|don't install laravel/framework v5.8.18
- don't install illuminate/support v5.6.11|don't install laravel/framework v5.8.18
- don't install illuminate/support v5.6.12|don't install laravel/framework v5.8.18
- don't install illuminate/support v5.6.13|don't install laravel/framework v5.8.18
- don't install illuminate/support v5.6.14|don't install laravel/framework v5.8.18
- don't install illuminate/support v5.6.15|don't install laravel/framework v5.8.18
- don't install illuminate/support v5.6.16|don't install laravel/framework v5.8.18
- don't install illuminate/support v5.6.17|don't install laravel/framework v5.8.18
- don't install illuminate/support v5.6.19|don't install laravel/framework v5.8.18
- don't install illuminate/support v5.6.2|don't install laravel/framework v5.8.18
- don't install illuminate/support v5.6.20|don't install laravel/framework v5.8.18
- don't install illuminate/support v5.6.21|don't install laravel/framework v5.8.18
- don't install illuminate/support v5.6.22|don't install laravel/framework v5.8.18
- don't install illuminate/support v5.6.23|don't install laravel/framework v5.8.18
- don't install illuminate/support v5.6.24|don't install laravel/framework v5.8.18
- don't install illuminate/support v5.6.25|don't install laravel/framework v5.8.18
- don't install illuminate/support v5.6.26|don't install laravel/framework v5.8.18
- don't install illuminate/support v5.6.27|don't install laravel/framework v5.8.18
- don't install illuminate/support v5.6.28|don't install laravel/framework v5.8.18
- don't install illuminate/support v5.6.29|don't install laravel/framework v5.8.18
- don't install illuminate/support v5.6.3|don't install laravel/framework v5.8.18
- don't install illuminate/support v5.6.30|don't install laravel/framework v5.8.18
- don't install illuminate/support v5.6.31|don't install laravel/framework v5.8.18
- don't install illuminate/support v5.6.32|don't install laravel/framework v5.8.18
- don't install illuminate/support v5.6.33|don't install laravel/framework v5.8.18
- don't install illuminate/support v5.6.34|don't install laravel/framework v5.8.18
- don't install illuminate/support v5.6.35|don't install laravel/framework v5.8.18
- don't install illuminate/support v5.6.36|don't install laravel/framework v5.8.18
- don't install illuminate/support v5.6.37|don't install laravel/framework v5.8.18
- don't install illuminate/support v5.6.38|don't install laravel/framework v5.8.18
- don't install illuminate/support v5.6.39|don't install laravel/framework v5.8.18
- don't install illuminate/support v5.6.4|don't install laravel/framework v5.8.18
- don't install illuminate/support v5.6.5|don't install laravel/framework v5.8.18
- don't install illuminate/support v5.6.6|don't install laravel/framework v5.8.18
- don't install illuminate/support v5.6.7|don't install laravel/framework v5.8.18
- don't install illuminate/support v5.6.8|don't install laravel/framework v5.8.18
- don't install illuminate/support v5.6.9|don't install laravel/framework v5.8.18
- Can only install one of: laravel/framework[5.6.x-dev, v5.8.18].
- Can only install one of: laravel/framework[5.7.x-dev, v5.8.18].
- Installation request for laravel/framework (locked at v5.8.18, required as 5.8.*) -> satisfiable by laravel/framework[v5.8.18].
- Installation request for spatie/laravel-link-checker ^4.1 -> satisfiable by spatie/laravel-link-checker[4.1.0, 4.1.1].
Installation failed, reverting ./composer.json to its original content.
I'm using Laravel 5.8.
This is my Composer.json
{
"name": "laravel/laravel",
"type": "project",
"description": "The Laravel Framework.",
"keywords": [
"framework",
"laravel"
],
"license": "MIT",
"require": {
"php": "^7.1.3",
"appzcoder/laravel-admin": "^3.1",
"barryvdh/laravel-debugbar": "^3.2",
"chriskonnertz/open-graph": "^1.0",
"cviebrock/eloquent-sluggable": "4.8",
"davejamesmiller/laravel-breadcrumbs": "5.x",
"doctrine/dbal": "v2.4.2",
"fideloper/proxy": "^4.0",
"gpressutto5/laravel-slack": "^1.1",
"guzzlehttp/guzzle": "^6.3",
"intervention/image": "^2.4",
"laravel/framework": "5.8.*",
"laravel/slack-notification-channel": "^2.0",
"laravel/tinker": "^1.0",
"layershifter/tld-extract": "^2.0",
"malhal/laravel-geographical": "^1.0",
"yajra/laravel-datatables-oracle": "^9.0"
},
"require-dev": {
"beyondcode/laravel-dump-server": "^1.0",
"filp/whoops": "^2.0",
"fzaninotto/faker": "^1.4",
"laravel/telescope": "^2.0",
"mockery/mockery": "^1.0",
"nunomaduro/collision": "^2.0",
"phpunit/phpunit": "^7.5"
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true
},
"extra": {
"laravel": {
"dont-discover": []
}
},
"autoload": {
"classmap": [
"database/seeds",
"database/factories"
]
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"minimum-stability": "dev",
"prefer-stable": true,
"scripts": {
"post-autoload-dump": [
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
"#php artisan package:discover --ansi"
],
"post-root-package-install": [
"#php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"post-create-project-cmd": [
"#php artisan key:generate --ansi"
]
}
}
anyone who can help me?
Thanks
laravel-link-checker package (which is, by the way, abandoned) requires laravel framework 5.6/5.7 (as you can see in its packagist page. You have Laravel 5.8 and that is not satisfiable.
You can take the sources of laravel-link-checker and re-package it but it's not guaranteed it will work for Laravel 5.8.
We try to install the following composer.json (.lock was deleted)
composer install -vvvvv
and get
Something's changed, looking at all rules again (pass #47)
In pass 47 it stay's forever.
Then we tried:
composer update -vvvv --lock
Which yields the error:
Problem 1
- The requested package laravel/framework (installed at v5.5.40, required as 5.6.*) is satisfiable by laravel/framework[v5.5.40] but these conflict with your requirements or minimum-stability.
Problem 2
- Conclusion: don't install laravel/framework v5.6.39
- Conclusion: don't install laravel/framework v5.6.38
- Conclusion: don't install laravel/framework v5.6.37
- Conclusion: don't install laravel/framework v5.6.36
- Conclusion: don't install laravel/framework v5.6.35
- Conclusion: don't install laravel/framework v5.6.34
- Conclusion: don't install laravel/framework v5.6.33
- Conclusion: don't install laravel/framework v5.6.32
- Conclusion: don't install laravel/framework v5.6.31
- Conclusion: don't install laravel/framework v5.6.30
- Conclusion: don't install laravel/framework v5.6.29
- Conclusion: don't install laravel/framework v5.6.28
- Conclusion: don't install laravel/framework v5.6.27
- Conclusion: don't install laravel/framework v5.6.26
- Conclusion: don't install laravel/framework v5.6.25
- Conclusion: don't install laravel/framework v5.6.24
- Conclusion: don't install laravel/framework v5.6.23
- Conclusion: don't install laravel/framework v5.6.22
- Conclusion: don't install laravel/framework v5.6.21
- Conclusion: don't install laravel/framework v5.6.20
- Conclusion: don't install laravel/framework v5.6.19
- Conclusion: don't install laravel/framework v5.6.18
- Conclusion: don't install laravel/framework v5.6.17
- Conclusion: don't install laravel/framework v5.6.16
- Conclusion: don't install laravel/framework v5.6.15
- Conclusion: don't install laravel/framework v5.6.14
- Conclusion: don't install laravel/framework v5.6.13
- Conclusion: don't install laravel/framework v5.6.12
- Conclusion: don't install laravel/framework v5.6.11
- Conclusion: don't install laravel/framework v5.6.10
- Conclusion: don't install laravel/framework v5.6.9
- Conclusion: don't install laravel/framework v5.6.8
- Conclusion: don't install laravel/framework v5.6.7
- Conclusion: don't install laravel/framework v5.6.6
- Conclusion: don't install laravel/framework v5.6.5
- Conclusion: don't install laravel/framework v5.6.4
- Conclusion: don't install laravel/framework v5.6.3
- Conclusion: don't install laravel/framework v5.6.2
- Conclusion: don't install laravel/framework v5.6.1
- laravelcollective/html v5.5.4 requires illuminate/view 5.5.* -> satisfiable by laravel/framework[v5.5.40], illuminate/view[v5.5.0, v5.5.16, v5.5.17, v5.5.2, v5.5.28, v5.5.33, v5.5.34, v5.5.35, v5.5.36, v5.5.37, v5.5.39, v5.5.40, v5.5.41, v5.5.43, v5.5.44].
- laravelcollective/html v5.5.4 requires illuminate/view 5.5.* -> satisfiable by laravel/framework[v5.5.40], illuminate/view[v5.5.0, v5.5.16, v5.5.17, v5.5.2, v5.5.28, v5.5.33, v5.5.34, v5.5.35, v5.5.36, v5.5.37, v5.5.39, v5.5.40, v5.5.41, v5.5.43, v5.5.44].
- Can only install one of: laravel/framework[v5.6.0, v5.5.40].
- don't install illuminate/view v5.5.0|don't install laravel/framework v5.6.0
- don't install illuminate/view v5.5.16|don't install laravel/framework v5.6.0
- don't install illuminate/view v5.5.17|don't install laravel/framework v5.6.0
- don't install illuminate/view v5.5.2|don't install laravel/framework v5.6.0
- don't install illuminate/view v5.5.28|don't install laravel/framework v5.6.0
- don't install illuminate/view v5.5.33|don't install laravel/framework v5.6.0
- don't install illuminate/view v5.5.34|don't install laravel/framework v5.6.0
- don't install illuminate/view v5.5.35|don't install laravel/framework v5.6.0
- don't install illuminate/view v5.5.36|don't install laravel/framework v5.6.0
- don't install illuminate/view v5.5.37|don't install laravel/framework v5.6.0
- don't install illuminate/view v5.5.39|don't install laravel/framework v5.6.0
- don't install illuminate/view v5.5.40|don't install laravel/framework v5.6.0
- don't install illuminate/view v5.5.41|don't install laravel/framework v5.6.0
- don't install illuminate/view v5.5.43|don't install laravel/framework v5.6.0
- don't install illuminate/view v5.5.44|don't install laravel/framework v5.6.0
- Installation request for laravel/framework 5.6.* -> satisfiable by laravel/framework[v5.6.0, v5.6.1, v5.6.10, v5.6.11, v5.6.12, v5.6.13, v5.6.14, v5.6.15, v5.6.16, v5.6.17, v5.6.18, v5.6.19, v5.6.2, v5.6.20, v5.6.21, v5.6.22, v5.6.23, v5.6.24, v5.6.25, v5.6.26, v5.6.27, v5.6.28, v5.6.29, v5.6.3, v5.6.30, v5.6.31, v5.6.32, v5.6.33, v5.6.34, v5.6.35, v5.6.36, v5.6.37, v5.6.38, v5.6.39, v5.6.4, v5.6.5, v5.6.6, v5.6.7, v5.6.8, v5.6.9].
- Installation request for laravelcollective/html (installed at v5.5.4, required as ~5.0) -> satisfiable by laravelcollective/html[v5.5.4].
Then we switched to a more loose composer.json, also we switched to PHP 7.2
{
"name": "x/y",
"keywords": [
"framework",
"laravel"
],
"license": "MIT",
"type": "project",
"require": {
"php": "*",
"barryvdh/laravel-ide-helper": "*",
"doctrine/dbal": "*",
"dsentker/phpinsights": "*",
"facebook/graph-sdk": "^5.6",
"google/apiclient": "*",
"jeroen-g/laravel-packager": "*",
"laravel/framework": "5.6.*",
"laravel/tinker": "*",
"laravelcollective/html": "*",
"paquettg/php-html-parser": "*",
"rexxars/html-validator": "*",
"sgrodzicki/pagespeed": "*",
"spatie/laravel-analytics": "*",
"zizaco/entrust": "*",
"fideloper/proxy": "*"
},
"require-dev": {
"barryvdh/laravel-debugbar": "*",
"fzaninotto/faker": "*",
"laracasts/generators": "*",
"mockery/mockery": "*",
"phpunit/phpunit": "*",
"nunomaduro/collision": "*"
},
"autoload": {
"classmap": [
"database"
]
},
"config": {
"preferred-install": "dist",
"sort-packages": true,
"optimize-autoloader": true
}
}
With this in place we still get:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested package laravel/framework (installed at v5.5.40, required as 5.6.*) is satisfiable by laravel/framework[v5.5.40] but these conflict with your requirements or minimum-stability.
Problem 2
- Conclusion: don't install laravel/framework v5.6.39
- Conclusion: don't install laravel/framework v5.6.38
- Conclusion: don't install laravel/framework v5.6.37
- Conclusion: don't install laravel/framework v5.6.36
- Conclusion: don't install laravel/framework v5.6.35
- Conclusion: don't install laravel/framework v5.6.34
- Conclusion: don't install laravel/framework v5.6.33
- Conclusion: don't install laravel/framework v5.6.32
- Conclusion: don't install laravel/framework v5.6.31
- Conclusion: don't install laravel/framework v5.6.30
- Conclusion: don't install laravel/framework v5.6.29
- Conclusion: don't install laravel/framework v5.6.28
- Conclusion: don't install laravel/framework v5.6.27
- Conclusion: don't install laravel/framework v5.6.26
- Conclusion: don't install laravel/framework v5.6.25
- Conclusion: don't install laravel/framework v5.6.24
- Conclusion: don't install laravel/framework v5.6.23
- Conclusion: don't install laravel/framework v5.6.22
- Conclusion: don't install laravel/framework v5.6.21
- Conclusion: don't install laravel/framework v5.6.20
- Conclusion: don't install laravel/framework v5.6.19
- Conclusion: don't install laravel/framework v5.6.18
- Conclusion: don't install laravel/framework v5.6.17
- Conclusion: don't install laravel/framework v5.6.16
- Conclusion: don't install laravel/framework v5.6.15
- Conclusion: don't install laravel/framework v5.6.14
- Conclusion: don't install laravel/framework v5.6.13
- Conclusion: don't install laravel/framework v5.6.12
- Conclusion: don't install laravel/framework v5.6.11
- Conclusion: don't install laravel/framework v5.6.10
- Conclusion: don't install laravel/framework v5.6.9
- Conclusion: don't install laravel/framework v5.6.8
- Conclusion: don't install laravel/framework v5.6.7
- Conclusion: don't install laravel/framework v5.6.6
- Conclusion: don't install laravel/framework v5.6.5
- Conclusion: don't install laravel/framework v5.6.4
- Conclusion: don't install laravel/framework v5.6.3
- Conclusion: don't install laravel/framework v5.6.2
- Conclusion: don't install laravel/framework v5.6.1
- laravelcollective/html v5.5.4 requires illuminate/view 5.5.* -> satisfiable by laravel/framework[v5.5.40], illuminate/view[v5.5.0, v5.5.16, v5.5.17, v5.5.2, v5.5.28, v5.5.33, v5.5.34, v5.5.35, v5.5.36, v5.5.37, v5.5.39, v5.5.40, v5.5.41, v5.5.43, v5.5.44].
- laravelcollective/html v5.5.4 requires illuminate/view 5.5.* -> satisfiable by laravel/framework[v5.5.40], illuminate/view[v5.5.0, v5.5.16, v5.5.17, v5.5.2, v5.5.28, v5.5.33, v5.5.34, v5.5.35, v5.5.36, v5.5.37, v5.5.39, v5.5.40, v5.5.41, v5.5.43, v5.5.44].
- Can only install one of: laravel/framework[v5.6.0, v5.5.40].
- don't install illuminate/view v5.5.0|don't install laravel/framework v5.6.0
- don't install illuminate/view v5.5.16|don't install laravel/framework v5.6.0
- don't install illuminate/view v5.5.17|don't install laravel/framework v5.6.0
- don't install illuminate/view v5.5.2|don't install laravel/framework v5.6.0
- don't install illuminate/view v5.5.28|don't install laravel/framework v5.6.0
- don't install illuminate/view v5.5.33|don't install laravel/framework v5.6.0
- don't install illuminate/view v5.5.34|don't install laravel/framework v5.6.0
- don't install illuminate/view v5.5.35|don't install laravel/framework v5.6.0
- don't install illuminate/view v5.5.36|don't install laravel/framework v5.6.0
- don't install illuminate/view v5.5.37|don't install laravel/framework v5.6.0
- don't install illuminate/view v5.5.39|don't install laravel/framework v5.6.0
- don't install illuminate/view v5.5.40|don't install laravel/framework v5.6.0
- don't install illuminate/view v5.5.41|don't install laravel/framework v5.6.0
- don't install illuminate/view v5.5.43|don't install laravel/framework v5.6.0
- don't install illuminate/view v5.5.44|don't install laravel/framework v5.6.0
- Installation request for laravel/framework 5.6.* -> satisfiable by laravel/framework[v5.6.0, v5.6.1, v5.6.10, v5.6.11, v5.6.12, v5.6.13, v5.6.14, v5.6.15, v5.6.16, v5.6.17, v5.6.18, v5.6.19, v5.6.2, v5.6.20, v5.6.21, v5.6.22, v5.6.23, v5.6.24, v5.6.25, v5.6.26, v5.6.27, v5.6.28, v5.6.29, v5.6.3, v5.6.30, v5.6.31, v5.6.32, v5.6.33, v5.6.34, v5.6.35, v5.6.36, v5.6.37, v5.6.38, v5.6.39, v5.6.4, v5.6.5, v5.6.6, v5.6.7, v5.6.8, v5.6.9].
- Installation request for laravelcollective/html (installed at v5.5.4, required as *) -> satisfiable by laravelcollective/html[v5.5.4].
How can we debug this properly? We a fishing in the dark a bit.
I'm trying to upgrade my Laravel 5.5 application to Laravel 5.6. To that end, I've been following the upgrade guide.
composer.json:
{
"name": "laravel/laravel",
"description": "The Laravel Framework.",
"keywords": ["framework", "laravel"],
"license": "MIT",
"type": "project",
"require": {
"php": ">=7.1.3",
"encore/laravel-admin": "1.5.*",
"fideloper/proxy": "~4.0",
"intervention/image": "^2.4",
"laravel/framework": "5.6.*",
"laravel/passport": "^5.0",
"laravel/tinker": "~1.0",
"nesbot/carbon": "^1.22",
"sebdesign/laravel-state-machine": "^1.2"
},
"require-dev": {
"fzaninotto/faker": "~1.4",
"laravel/homestead": "^5.1",
"mockery/mockery": "0.9.*",
"phpunit/phpunit": "~7.0",
"filp/whoops": "~2.0"
},
}
But when I use composer update, I get the following error:
problem 1
- Conclusion: don't install laravel/framework v5.6.17
- Conclusion: don't install laravel/framework v5.6.16
- Conclusion: don't install laravel/framework v5.6.15
- Conclusion: don't install laravel/framework v5.6.14
- Conclusion: don't install laravel/framework v5.6.13
- Conclusion: don't install laravel/framework v5.6.12
- Conclusion: don't install laravel/framework v5.6.11
- Conclusion: don't install laravel/framework v5.6.10
- Conclusion: don't install laravel/framework v5.6.9
- Conclusion: don't install laravel/framework v5.6.8
- Conclusion: don't install laravel/framework v5.6.7
- Conclusion: don't install laravel/framework v5.6.6
- Conclusion: don't install laravel/framework v5.6.5
- Conclusion: don't install laravel/framework v5.6.4
- Conclusion: don't install laravel/framework v5.6.3
- Conclusion: don't install laravel/framework v5.6.2
- Conclusion: don't install laravel/framework v5.6.1
- Conclusion: don't install symfony/process v4.0.8
- Installation request for laravel/framework 5.6.* -> satisfiable by laravel/framework[v5.6.0, v5.6.1, v5.6.10, v5.6.11, v5.6.12, v5.6.13, v5.6.14, v5.6.15, v5.6.16, v5.6.17, v5.6.2, v5.6.3, v5.6.4, v5.6.5, v5.6.6, v5.6.7, v5.6.8, v5.6.9].
I tried removing the vendor directory and re-running composer update, but it still doesn't work.
How would I fix this?
You need to upgrade your laravel/homestead to 6.x or 7.x line. 5.x does not support Symfony 4, which is required by Laravel 5.6.
"require-dev": {
"laravel/homestead": "^6.6",
...
},
For problems like that you should actually try to read these 30k chars - all you need is there:
laravel/homestead v5.1.0 requires symfony/process ~2.3|~3.0 /.../
laravel/framework v5.6.0 requires symfony/process ~4.0 /.../
It looks like some dependencies aren't updated or not supported by laravel 5.6.
Follow this video guide to upgrade from laravel 5.5 to 5.6 by Jeffery way
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
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