joeloco / bootstrap
A bootstrap 3 helper for Laravel 5
dev-master
2015-10-24 17:23 UTC
Requires
- php: >=5.3.0
Requires (Dev)
- phpunit/phpunit: ~4.0
This package is not auto-updated.
Last update: 2024-12-11 18:30:32 UTC
README
Install
composer require "joeloco/bootstrap:dev-master"
Config
1 - Register the service provider in /config/app
'providers' => [ //..... Bootstrap\Providers\BootstrapServiceProvider::class ],
2 - Set a alias for facade in /config/app
'aliases' => [ //.... 'BS' => Bootstrap\Facades\Bootstrap::class, ],
Breadcrumb example
<?php echo BS::breadcrumb()->drop('Root','/root')->drop('Chield','root/chield')->stop('right');?>