如何在Laravel 5.3中实现面包屑?

时间:2018-09-28 14:04:52

标签: laravel breadcrumbs

我在将面包屑用于laravel时遇到麻烦,我在使用laravel 5.3时遇到麻烦,当我安装该软件包时,它总是会失败并显示错误消息,如图片中所示

enter image description here

如果您有解决方案,我希望您可以与我分享...

谢谢

2 个答案:

答案 0 :(得分:0)

尝试安装v5.1.1

composer require davejamesmiller/laravel-breadcrumbs:5.1.1

答案 1 :(得分:-1)

这是运行composer require davejamesmiller/laravel-breadcrumbs:5.1.2的要求

"require": {
            "php": ">=7.1.3",
            "illuminate/support: 5.6.*",
            "illuminate/view: 5.6.*,
            "laravel/framework": "5.6.*"
        },

"require-dev": {
    "mockery/mockery": "0.9.*",
    "phpunit/phpunit": "~5.7"
},

将此添加到您的composer.json中。希望对您有帮助