laravel低版本安装pjax出问题解决方法

如果提示symfony版本过高那么安装低版本的symfony即可

Problem 1
    - Installation request for spatie/laravel-pjax 1.3 -> satisfiable by spatie/laravel-pjax[1.3.0].
    - Conclusion: remove symfony/css-selector v4.2.4
    - Conclusion: don't install symfony/css-selector v4.2.4

composer require symfony/css-selector 3.0

如果是提示laravel版本太低

composer require spatie/laravel-pjax “^1.3”

posted @ 2020-08-04 18:06  孤单照夜清  阅读(217)  评论(0编辑  收藏  举报