承接 bigelephant/breadcrumbs 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

bigelephant/breadcrumbs

Composer 安装命令:

composer require bigelephant/breadcrumbs

包简介

README 文档

README

This is designed for use within Laravel 4 which is all this readme will cover, however it could be used outside of it if you liked.

Installation

Go into your applications composer.json file and add "bigelephant/breadcrumbs": "1.0.*" to your require list and run composer update.

After this is done you can use the breadcrumbs like you would any other composer package.

Laravel Integration

So you can use a Crumbs:: facade and have some crumbs automatically set you need to add 'BigElephant\Breadcrumbs\CrumbsServiceProvider', to the providers array and 'Crumbs' => 'BigElephant\Breadcrumbs\Facades\Crumbs', to the aliases array in your config/app.php file.

There is also a custom routing class you can use which will add a crumb to your list depending on the route. With it if you add the optional title => 'Title For Crumb', in the same manner as as => 'home',. If this title is set and you use the custom Router it will set that breadcrumb for you.

Instructions for using a custom router coming soon...

统计信息

  • 总下载量: 366
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 6
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 6
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2012-12-09