简体   繁体   中英

Can't install SonataAdminBundle for Symfony 4

Have installed via Composer clear Symfony 4.1

Then i try to install via Composer SonataAdmin but get error with message:

sonata-project/admin-bundle 3.38.3 requires symfony/class-loader ^2.8 || ^
3.2 -> satisfiable by symfony/class-loader[3.4.x-dev] but these conflict with yo
ur requirements or minimum-stability.

In symfony 4 documentation says, that symfony/class-loader component deleted in this version.

How can i install SonataAdmin for Symfony 4.1 using Composer?

通过先安装symfony / class-loader:dev-master解决此问题,然后安装SonataAdmin

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM