EasyAdminBundle
EasyAdminBundle copied to clipboard
impossible to install EasyAdminBundle
Describe the bug Impossible to install the bundle
To Reproduce
after
composer require easycorp/easyadmin-bundle
i get this message :
- Installation request for easycorp/easyadmin-bundle ^2.1 -> satisfiable by easycorp/easyadmin-bundle[v2.1.0].
- Conclusion: remove symfony/symfony v3.4.22
- Conclusion: don't install symfony/symfony v3.4.22
- easycorp/easyadmin-bundle v2.1.0 requires symfony/expression-language ^4.1 -> satisfiable by symfony/expression-language[v4.1.0, v4.1.1, v4.1.10, v4.1.11, v4.1.2, v4.1.3, v4.1.4, v4.1.5, v4.1.6, v4.1.7, v4.1.8, v4.1.9, v4.2.0, v4.2.1, v4.2.2, v4.2.3].
(OPTIONAL) Additional context here is my composer.json :
{
"name": "symfony/framework-standard-edition",
"license": "MIT",
"type": "project",
"description": "The \"Symfony Standard Edition\" distribution",
"autoload": {
"psr-4": { "": "src/" },
"files": ["app/AppKernel.php"]
},
"autoload-dev": {
"files": [ "vendor/symfony/symfony/src/Symfony/Component/VarDumper/Resources/functions/dump.php" ],
"psr-4": { "Tests\\": "tests/" }
},
"require": {
"php": ">=7.1.1",
"doctrine/doctrine-bundle": "~1.4",
"doctrine/orm": "^2.4.8",
"friendsofsymfony/user-bundle": "~2.0",
"incenteev/composer-parameter-handler": "~2.0",
"sensio/distribution-bundle": "^5.0",
"sensio/framework-extra-bundle": "^3.0.2",
"symfony/monolog-bundle": "^3.0.2",
"symfony/swiftmailer-bundle": "~2.3,>=2.3.10",
"symfony/symfony": "3.4.*",
"twig/twig": "^1.0||^2.0",
"stof/doctrine-extensions-bundle": "^1.2",
"doctrine/doctrine-migrations-bundle": "^1.0",
"whiteoctober/breadcrumbs-bundle": "^1.4",
"symfony/intl": "^4.2"
},
"require-dev": {
"sensio/generator-bundle": "^3.0",
"symfony/phpunit-bridge": "^4.0",
"doctrine/doctrine-fixtures-bundle": "^3.1"
},
"scripts": {
"symfony-scripts": [
"Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::prepareDeploymentTarget"
],
"post-install-cmd": [
"@symfony-scripts"
],
"post-update-cmd": [
"@symfony-scripts"
]
},
"extra": {
"symfony-app-dir": "app",
"symfony-web-dir": "web",
"symfony-var-dir": "var",
"symfony-bin-dir": "bin",
"symfony-tests-dir": "tests",
"symfony-assets-install": "relative",
"incenteev-parameters": {
"file": "app/config/parameters.yml"
},
"branch-alias": {
"dev-master": "2.8-dev"
}
},
"config" : {
"platform": {
"php" : "7.1.9"
}
}
}
EasyAdmin 2.X requires Symfony4. It is not a bug. Use EasyAdmin 1.x if for some reason you can not upgrade your Symfony version.
my bad. thanks for the answer !
Closing here as solved. Thanks @rernesto!