JoeLoco / bootstrap by joao-santos

A bootstrap 3 helper for Laravel 5
13
5
2
Package Data
Maintainer Username: joao-santos
Maintainer Contact: joao.h.a.santos@gmail.com (Joe Loco)
Package Create Date: 2015-10-24
Package Last Update: 2015-10-24
Language: PHP
License: MIT
Last Refreshed: 2024-11-18 03:03:23
Package Statistics
Total Downloads: 13
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 5
Total Watchers: 2
Total Forks: 0
Total Open Issues: 0

A bootstrap 3 helper for Laravel 5

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');?>