joeloco/bootstrap

A bootstrap 3 helper for Laravel 5

dev-master 2015-10-24 17:23 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');?>