I wanted to install a new package in a Laravel 7 application. I have tried direct composer require command and tried manually entering package name and updating composer command but both times it returns error as follows.
while using command 'composer require simplesoftwareio/simple-qrcode'
Problem 1
- chumper/zipper v1.0.0 requires illuminate/support 5.x -> found illuminate/support[v5.0.0, ..., 5.8.x-dev] but these were not loaded, likely because it conflicts with another require.
- chumper/zipper[v1.0.1, ..., v1.0.3] require illuminate/support ^5.0 -> found illuminate/support[v5.0.0, ..., 5.8.x-dev] but these were not loaded, likely because it conflicts with another require.
- Root composer.json requires chumper/zipper ^1.0 -> satisfiable by chumper/zipper[v1.0.0, v1.0.1, v1.0.2, v1.0.3].
while using command 'composer update'(with or without writing the new package details)
Problem 1
- Root composer.json requires robincsamuel/laravel-msg91 dev-master -> satisfiable by robincsamuel/laravel-msg91[dev-master].
- robincsamuel/laravel-msg91 dev-master requires guzzlehttp/guzzle ^7.0.1 -> found guzzlehttp/guzzle[dev-master, 7.0.1, ..., 7.2.0] but it conflicts with your root composer.json require (~6.0)
Problem 2
- Conclusion: don't install chumper/zipper v1.0.1 (conflict analysis result)
- Conclusion: don't install chumper/zipper v1.0.2 (conflict analysis result)
- Conclusion: don't install chumper/zipper v1.0.3 (conflict analysis result)
- Root composer.json requires chumper/zipper ^1.0 -> satisfiable by chumper/zipper[v1.0.0, v1.0.1, v1.0.2, v1.0.3].
- Conclusion: don't install laravel/framework v7.0.1 (conflict analysis result)
- Conclusion: don't install laravel/framework v7.0.2 (conflict analysis result)
.........
- Conclusion: don't install laravel/framework v7.30.1 (conflict analysis result)
- Conclusion: don't install laravel/framework v7.30.2 (conflict analysis result)
- Conclusion: don't install laravel/framework v7.30.3 (conflict analysis result)
- Conclusion: don't install laravel/framework v7.0.0 (conflict analysis result)
- chumper/zipper v1.0.0 requires illuminate/support 5.x -> satisfiable by illuminate/support[v5.0.0, ..., 5.8.x-dev].
- Only one of these can be installed: illuminate/support[dev-master, v5.0.0, ..., 5.8.x-dev, v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev, v8.0.0, ..., 8.x-dev], laravel/framework[v7.0.0, ..., 7.x-dev]. laravel/framework replaces illuminate/support and thus cannot coexist with it.
- Root composer.json requires laravel/framework ^7.0 -> satisfiable by laravel/framework[v7.0.0, ..., 7.x-dev].
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
my composer.json file is as followed:
{
"name": "laravel/laravel",
"type": "project",
"description": "The Laravel Framework.",
"keywords": [
"framework",
"laravel"
],
"license": "MIT",
"require": {
"php": "^7.4.5",
"africastalking/africastalking": "^2.3",
"anhskohbo/no-captcha": "^3.2",
"barryvdh/laravel-dompdf": "^0.8.6",
"bigbharatjain/laravel-clickatell": "^1.0",
"brian2694/laravel-toastr": "^5.53",
"simplesoftwareio/simple-qrcode": "^4.1",
"chumper/zipper": "^1.0",
"fideloper/proxy": "^4.2",
"fruitcake/laravel-cors": "^1.0",
"fzaninotto/faker": "^1.9",
"guzzlehttp/guzzle": "~6.0",
"intervention/image": "^2.5",
"jenssegers/agent": "^2.6",
"laravel/framework": "^7.0",
"laravel/passport": "^9.3.2",
"laravel/tinker": "^2.0",
"laravelcollective/html": "^6.1",
"maatwebsite/excel": "^3.1",
"macsidigital/laravel-api-client": "^3.0",
"macsidigital/laravel-zoom": "^4.0",
"macsidigital/zoom": "^0.0.5",
"nwidart/laravel-modules": "^7.1",
"paypal/rest-api-sdk-php": "^1.14",
"phpmailer/phpmailer": "^6.0",
"rahulreghunath/textlocal": "^1.0",
"renatomarinho/laravel-page-speed": "^1.8",
"robincsamuel/laravel-msg91": "dev-master",
"stripe/stripe-php": "^7.37",
"symfony/polyfill-php70": "^1.18.1",
"twilio/sdk": "^5.31",
"unicodeveloper/laravel-paystack": "^1.0"
},
"require-dev": {
"barryvdh/laravel-debugbar": "^3.3",
"facade/ignition": "^2.0",
"laravel/ui": "~2.0",
"mockery/mockery": "^1.3.1",
"mpociot/laravel-apidoc-generator": "^4.8",
"nunomaduro/collision": "^4.1",
"phpunit/phpunit": "^8.5"
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true
},
"extra": {
"laravel": {
"dont-discover": [
"laravel/telescope"
]
}
},
"autoload": {
"psr-4": {
"App\\": "app/",
"Modules\\": "Modules/"
},
"classmap": [
"database/seeds",
"database/factories"
],
"files": [
"app/Helpers/Helper.php"
]
},
"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"
]
}
}
Please help me resolve this problem I am hard stuck here for hours with no proper solution I could find on internet.
chumper/zipper v1.0.0 requires illuminate/support 5.x is the most important part of that output: the given package is only compatibel with Laravel v5, while your composer.json contains the requirement "laravel/framework": "^7.0"
Related
I try to add
https://github.com/Superbalist/laravel-google-cloud-storage
to my Laravel 9 and got error :
$ composer require superbalist/laravel-google-cloud-storage
Using version ^2.2 for superbalist/laravel-google-cloud-storage
./composer.json has been updated
Running composer update superbalist/laravel-google-cloud-storage
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- superbalist/laravel-google-cloud-storage[2.2.0, ..., 2.2.1] require illuminate/support ^5.1|^5.2|^5.3 -> found illuminate/support[v5.1.1, ..., 5.8.x-dev] but these were not loaded, likely because it conflicts with another require.
- superbalist/laravel-google-cloud-storage 2.2.2 requires illuminate/support ^5.1|^6.0 -> found illuminate/support[v5.1.1, ..., 5.8.x-dev, v6.0.0, ..., 6.x-dev] but these were not loaded, likely because it conflicts with another require.
- superbalist/laravel-google-cloud-storage 2.2.3 requires illuminate/support ^5.1|^6.0|^7.0 -> found illuminate/support[v5.1.1, ..., 5.8.x-dev, v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev] but these were not loaded, likely because it conflicts with another require.
- superbalist/laravel-google-cloud-storage 2.2.4 requires illuminate/support ^5.1|^6.0|^7.0|^8.0 -> found illuminate/support[v5.1.1, ..., 5.8.x-dev, v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev, v8.0.0, ..., 8.x-dev] but these were not loaded, likely because it conflicts with another require.
- Root composer.json requires superbalist/laravel-google-cloud-storage ^2.2 -> satisfiable by superbalist/laravel-google-cloud-storage[2.2.0, ..., 2.2.4].
You can also try re-running composer require with an explicit version constraint, e.g. "composer require superbalist/laravel-google-cloud-storage:*" to figure out if any version is installable, or "composer require superbalist/laravel-google-cloud-storage:^2.1" if you know which you need.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
I check my composer.json and see that it has no any illuminate/support ref :
{
"name": "laravel/laravel",
"type": "project",
"description": "The Laravel Framework.",
"keywords": ["framework", "laravel"],
"license": "MIT",
"require": {
"php": "^8.0.2",
"bensampo/laravel-enum": "^5.3",
"beyondcode/laravel-websockets": "^1.13",
"guzzlehttp/guzzle": "^7.2",
"inertiajs/inertia-laravel": "^0.5.2",
"laravel/framework": "^9.11",
"laravel/jetstream": "^2.8",
"laravel/sanctum": "^2.14.1",
"laravel/telescope": "^4.9",
"laravel/tinker": "^2.7",
"sentry/sentry-laravel": "^2.12",
"spatie/laravel-medialibrary": "^10.0.0",
"spatie/laravel-permission": "^5.5",
"tightenco/ziggy": "^1.0"
},
"require-dev": {
"fakerphp/faker": "^1.9.1",
"laravel/sail": "^1.0.1",
"mockery/mockery": "^1.4.4",
"nunomaduro/collision": "^6.1",
"phpunit/phpunit": "^9.5.10",
"spatie/laravel-ignition": "^1.0"
},
"autoload": {
"files": [
"app/Library/helper.php"
],
"psr-4": {
"App\\": "app/",
"Database\\Factories\\": "database/factories/",
"Database\\Seeders\\": "database/seeders/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"scripts": {
"post-autoload-dump": [
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
"#php artisan package:discover --ansi"
],
"post-update-cmd": [
"#php artisan vendor:publish --tag=laravel-assets --ansi --force"
],
"post-root-package-install": [
"#php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"post-create-project-cmd": [
"#php artisan key:generate --ansi"
]
},
"extra": {
"laravel": {
"dont-discover": []
}
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true
},
"minimum-stability": "dev",
"prefer-stable": true
}
Can I install laravel-google-cloud-storageinto this project ?
Thanks!
illuminate/support is part of Laravel. To make package development easier (and allow smaller parts of the framework to be used without the full framework), individual parts of Laravel can be specified as dependencies with the names illuminate/....
This error is saying that the maximum supported version of Laravel for this package is 8.x, but you are using 9.x for your application.
You cannot install this package in your application unless it is updated to support Laravel 9.x. If you look at this PR which talks about adding 9.x support, you will see that there does not seem to be any plan to do that any time soon (if ever). Other users recommend switching to this alternative package instead.
I try to upgrade my laravel 8 as I read here
https://laravel.com/docs/9.x/upgrade
But after I applyid some changes in composer.json I got error :
$ composer update
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- illuminate/support[v5.8.0, ..., 5.8.x-dev] require php ^7.1.3 -> your php version (8.1.2) does not satisfy that requirement.
- illuminate/support[v6.0.0, ..., v6.19.1] require php ^7.2 -> your php version (8.1.2) does not satisfy that requirement.
- illuminate/support[v7.0.0, ..., v7.28.4] require php ^7.2.5 -> your php version (8.1.2) does not satisfy that requirement.
- illuminate/support[v8.0.0, ..., v8.11.2] require php ^7.3 -> your php version (8.1.2) does not satisfy that requirement.
- Root composer.json requires artesaos/seotools ^0.20.2 -> satisfiable by artesaos/seotools[v0.20.2].
- Conclusion: don't install laravel/framework v9.0.0-beta.2 (conflict analysis result)
- Conclusion: don't install laravel/framework v9.0.0-beta.3 (conflict analysis result)
- Conclusion: don't install laravel/framework v9.0.0-beta.4 (conflict analysis result)
- Conclusion: don't install laravel/framework v9.0.0-beta.5 (conflict analysis result)
- Conclusion: don't install laravel/framework v9.0.0 (conflict analysis result)
- Conclusion: don't install laravel/framework v9.0.1 (conflict analysis result)
- Conclusion: don't install laravel/framework v9.0.2 (conflict analysis result)
- Conclusion: don't install laravel/framework v9.0.0-beta.1 (conflict analysis result)
- artesaos/seotools v0.20.2 requires illuminate/support 5.8.* || ^6.0 || ^7.0 || ^8.0 -> satisfiable by illuminate/support[v5.8.0, ..., 5.8.x-dev, v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev, v8.0.0, ..., 8.x-dev].
- Only one of these can be installed: illuminate/support[v5.8.0, ..., 5.8.x-dev, v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev, v8.0.0, ..., 8.x-dev, v9.0.0-beta.1, ..., 9.x-dev], laravel/framework[v9.0.0-beta.1, ..., 9.x-dev]. laravel/framework replaces illuminate/support and thus cannot coexist with it.
- Root composer.json requires laravel/framework ^v9.0 -> satisfiable by laravel/framework[v9.0.0-beta.1, ..., 9.x-dev].
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
Now composer.json has :
{
"name": "laravel/laravel",
"type": "project",
"description": "The Laravel Framework.",
"keywords": ["framework", "laravel"],
"license": "MIT",
"require": {
"php": "^7.3|^8.1",
"artesaos/seotools": "^0.20.2",
"barryvdh/laravel-dompdf": "^1.0.0",
"cviebrock/eloquent-sluggable": "^9.0.0",
"dompdf/dompdf": "1.0.0",
"fruitcake/laravel-cors": "^2.0.4",
"guzzlehttp/guzzle": "^7.4.0",
"intervention/image": "^2.7",
"jenssegers/agent": "^2.6",
"laravel/framework": "^v9.0",
"laravel/jetstream": "^2.4.4",
"laravel/sanctum": "^2.12.1",
"laravel/telescope": "^4.6.6",
"laravel/tinker": "^2.6.2",
"livewire/livewire": "^2.7.2",
"maatwebsite/excel": "^3.1.33",
"mews/purifier": "^3.3.6",
"spatie/laravel-medialibrary": "^9.0.0",
"spatie/laravel-permission": "^5.3.1",
"te7a-houdini/laravel-trix": "^2.0.5",
"wboyz/laravel-enum": "^0.2.1"
},
"require-dev": {
"barryvdh/laravel-debugbar": "^3.6.4",
"spatie/laravel-ignition": "^1.0",
"fakerphp/faker": "^1.16",
"laravel/sail": "^1.12.3",
"mockery/mockery": "^1.4.4",
"nunomaduro/collision": "^6.1",
"phpunit/phpunit": "^9.5.10"
},
"autoload": {
"files": [
"app/Library/helper.php"
],
"psr-4": {
"App\\": "app/",
"Database\\Factories\\": "database/factories/",
"Database\\Seeders\\": "database/seeders/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"scripts": {
"post-autoload-dump": [
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
"#php artisan package:discover --ansi",
"#php artisan vendor:publish --force --tag=livewire:assets --ansi"
],
"post-update-cmd": [
"#php artisan vendor:publish --tag=laravel-assets --ansi"
],
"post-root-package-install": [
"#php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"post-create-project-cmd": [
"#php artisan key:generate --ansi"
]
},
"extra": {
"laravel": {
"dont-discover": []
}
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true
},
"minimum-stability": "dev",
"prefer-stable": true
}
and I do not see any illuminate* packages referenced in it...
How that can be fixed ?
Thanks!
Laravel 9 requires PHP 8.
Delete the ^7.3| in composer.json at the line PHPThe correct syntax is: "php": "^8.0"
Delete the v in composer.json at the line laravel/framework, The correct syntax is: "laravel/framework": "^9.0",
And check the package's artesaos/seotools compatibility with the Laravel 9
I'm trying to update my composers on my server.
Locally, I managed to update my composers without any problems, but on my server when I run my command for update
composer update
this gives me the following error:
Problem 1
- Root composer.json requires laravel/framework 5.5.32 -> satisfiable by laravel/framework[v5.5.32].
- laracasts/generators dev-master requires illuminate/support ~6.0|~7.0|~8.0 -> satisfiable by illuminate/support[v6.0.0, ..., v6.20.16, v7.0.0, ..., v7.30.4, v8.0.0, ..., v8.28.1].
- Only one of these can be installed: illuminate/support[v4.0.0, ..., v4.2.17, v5.0.0, ..., v5.8.36, v6.0.0, ..., v6.20.16, v7.0.0, ..., v7.30.4, v8.0.0, ..., v8.28.1], laravel/framework[v5.5.32]. laravel/framework replaces illuminate/support and thus cannot coexist with it.
- Root composer.json requires laracasts/generators dev-master as 1.1.4 -> satisfiable by laracasts/generators[dev-master].
And here is my composer.json :
{
"require": {
"php": ">=5.6.4",
"laravel/framework": "5.5.32",
...
"spatie/laravel-newsletter": "^4.2.1",
"spatie/laravel-cookie-consent": "2.11.0"
},
"require-dev": {
"fzaninotto/faker": "~1.4",
"mockery/mockery": "0.9.*",
"phpunit/phpunit": "~6.0",
"symfony/css-selector": "3.1.*",
"symfony/dom-crawler": "3.1.*",
"laracasts/generators": "dev-master as 1.1.4",
"backpack/generators": "^1.1",
"filp/whoops": "~2.0",
"barryvdh/laravel-debugbar": "^3.1"
},
"autoload": {
"classmap": [
"database"
],
"psr-4": {
"App\\": "app/"
},
"files": [
"app/Http/helpers.php"
]
},
"autoload-dev": {
"classmap": [
"tests/TestCase.php"
]
},
"config": {
"preferred-install": "dist"
}
}
You have an error in your packages. Some packages require Laravel 5.5
I am trying to upgrade Laravel from version 6 to version 7. I've tried different combinations of packages but nothing seems to resolve my errors.
Here is my composer.json (that doesn't work)
{
"name": "laravel/laravel",
"description": "The Laravel Framework.",
"keywords": [
"framework",
"laravel"
],
"license": "MIT",
"type": "project",
"require": {
"php": "^7.2",
"laravel/framework": "^7.0",
"jgrossi/corcel": "^4.0"
},
"require-dev": {
"fzaninotto/faker": "^1.4",
"mockery/mockery": "^1.0",
"nunomaduro/collision": "^3.0",
"phpunit/phpunit": "^8.0",
"facade/ignition": "^1.4"
},
"autoload": {
"classmap": [
"app/Console/Commands",
"app/Models",
"database/seeds",
"database/factories"
],
"psr-4": {
"App\\": "app/"
}
},
"autoload-dev": {
"psr-4": {
"Tests\\": "tests/"
}
},
"extra": {
"laravel": {
"dont-discover": []
}
},
"scripts": {
"post-root-package-install": [
"#php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
"post-create-project-cmd": [
"#php artisan key:generate"
],
"post-autoload-dump": [
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
"#php artisan package:discover"
]
},
"config": {
"preferred-install": "dist",
"sort-packages": true,
"optimize-autoloader": true
},
"minimum-stability": "dev",
"prefer-stable": true
}
When I run composer update, I get this error:
Problem 1
- The requested package laravel/framework (locked at v6.18.15, required as ^7.0) is satisfiable by laravel/framework[v6.18.15] but these conflict with your requirements or minimum-stability.
Problem 2
- Conclusion: don't install laravel/framework v7.20.0
- Conclusion: don't install laravel/framework v7.19.1
- Conclusion: don't install laravel/framework v7.19.0
- Conclusion: don't install laravel/framework v7.18.0
- Conclusion: don't install laravel/framework v7.17.2
- Conclusion: don't install laravel/framework v7.17.1
- Conclusion: don't install laravel/framework v7.17.0
- Conclusion: don't install laravel/framework v7.16.1
- Conclusion: don't install laravel/framework v7.16.0
That goes on for quite a bit but it seems there are just combinations of packages that don't work together. I don't know how to fix this.
as mentioned in Laravel upgrade Guide
PHP 7.2.5 Required
Update your laravel/framework dependency to ^7.0 in your composer.json
file. In addition, update your nunomaduro/collision dependency to
^4.1, phpunit/phpunit dependency to ^8.5, laravel/tinker dependency to
^2.0, and facade/ignition to ^2.0.
The following first-party packages have new major releases to support
Laravel 7. If there are any, read through their individual upgrade
guides before upgrading:
Browser Kit Testing v6.0
Envoy v2.0
Horizon v4.0
Nova v3.0
Scout v8.0
Telescope v3.0
Tinker v2.0
UI v2.0 (No changes necessary)
Finally, examine any other third-party packages consumed by your
application and verify you are using the proper version for Laravel 7
support.
please follow this official guide and it will be successfully upgrading your laravel version
I'm trying to upgrade from laravel 5.1 to 5.3. When attempting to run composer update, it's failing saying that I'm trying to install multiple versions of symfony/console. Part of the error is below
Can only install one of: symfony/console[v3.1.0-BETA1, v2.8.9].
- Can only install one of: symfony/console[v3.1.0-BETA1, 2.7.x-dev].
- laravel/framework v5.3.0-RC1 requires symfony/console 3.1.* -> satisfiable by symfony/console[3.1.x-dev, v3.1.0, v3.1.0-BETA1, v3.1.0-RC1, v3.1.1, v3.1.10, v3.1.2, v3.1.3, v3.1.4, v3.1.5, v3.1.6, v3.1.7, v3.1.8, v3.1.9].
- Conclusion: don't install peridot-php/peridot 1.16.0|don't install symfony/console 3.1.x-dev
- Conclusion: don't install peridot-php/peridot 1.16.0|don't install symfony/console v3.1.10
peridot-php/peridot 1.16.0 requires symfony/console ~2.0 -> satisfiable by symfony/console[2.7.x-dev, 2.0.4, 2.0.5, 2.0.6, 2.0.7, 2.0.x-dev
laravel 5.3 requires symfony/console 3.1.*, but peridot's require is "symfony/console": "^2|^3"
I may be misunderstanding something, but doesn't ^2|^3 mean 2.* or 3.* will satisfy the requirements?
My composer.json
{
"name": "project/name",
"description": "description",
"type": "project",
"require": {
"laravel/framework": "5.3.*",
"doctrine/orm": "2.5.*#dev",
"doctrine/collections": "1.2",
"laracasts/flash": "~1.3",
"symfony/yaml": "2.5.*#dev",
"phpoffice/phpexcel": "dev-develop",
"peridot-php/peridot": "1.16.0",
"respect/validation": "0.8.*#dev",
"filp/whoops": "1.*#dev",
"davejamesmiller/laravel-breadcrumbs": "3.0.*",
"facebook/webdriver": "1.0.1",
"katzgrau/klogger": "dev-master",
"laravel-doctrine/orm": "1.2.*",
"laravelcollective/html": "5.3.*",
"laravel-doctrine/extensions": "1.0.x-dev",
"rdlowrey/auryn": "dev-master",
"paragonie/random-lib": "^2.1#dev",
"consolibyte/quickbooks": "3.4.*",
"phpmailer/phpmailer": "dev-master",
"defuse/php-encryption": "dev-master",
"gedmo/doctrine-extensions": "2.4.1"
},
"require-dev": {
"peridot-php/peridot-jumpstart": "~1.0",
"peridot-php/peridot-prophecy-plugin": "~1.0",
"satooshi/php-coveralls": "~0.6.1",
"peridot-php/peridot-watcher-plugin": "~1.3",
"fzaninotto/faker": "1.5.*",
"symfony/dom-crawler": "~3.1",
"symfony/css-selector": "~3.1"
},
"autoload": {
"classmap": [
"database",
"src",
"tests/unit"
],
"psr-4": {
"App\\": "app/",
"OS\\":"src/"
}
},
"scripts": {
"post-install-cmd": [
"php artisan clear-compiled",
"php artisan optimize"
],
"post-update-cmd": [
"php artisan clear-compiled",
"php artisan optimize"
],
"post-create-project-cmd": [
"php -r \"copy('.env.example', '.env');\"",
"php artisan key:generate"
]
},
"config": {
"preferred-install": "dist"
},
"minimum-stability": "dev"
}
Your error message suggests that peridot-php/peridot package v1.16 that you require only works with symfony/console in version ~2.0, which is equivalent to any 2.x version and thus incompatible with 3.x version of symfony/console which Laravel requires.
First version of peridot-php/peridot that supports symfony/console 3.x is 1.18.1, so you need to bump your dependency to that version to support Symfony Console 3.x properly.