2017 © Pedro Peláez
 

library laravel-bs3

Bootstrap 3 view partials for Laravel 5.x

image

emiliolodigiani/laravel-bs3

Bootstrap 3 view partials for Laravel 5.x

  • Wednesday, January 3, 2018
  • by emilio.lodigiani
  • Repository
  • 1 Watchers
  • 1 Stars
  • 11 Installations
  • HTML
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Laravel Bootstrap 3 view partials

Latest Version on Packagist Build Status Total Downloads, (*1)

Package for adding precomposed Twitter Bootstrap 3 view partials, such as forms, form inputs, panels, buttons, etc., (*2)

The package is mainly intended for internal use and it's not fully documented yet., (*3)

Installation

You can install the package via composer:, (*4)

composer require emiliolodigiani/laravel-bs3

Usage

In blade templates:, (*5)

Back button

``` blade @include('bs3::button.backButton') @include('bs3::button.backButton', ['href' => 'SOMEURL', 'text' => 'Back', 'icon' => 'chevron-left']), (*6)

Back url default to previous visited url. Icon defaults to `chevron-left` (Font Awesome).

#### Panel
Simple panel

```blade
@component('bs3::component.panel', ['title' => 'Panel Title'])
    <p>Panel content.</p>
@endcomponent

Full featured panel, (*7)



@component('bs3::component.panel', [ 'grid' => 'col-md-6', {{-- Optional --}} 'type' => 'success', {{-- Optional: (default) | success | warning | danger | info --}} 'title' => 'Panel Heading', {{-- Optional --}} 'titleIcon' => 'user' {{-- Optional, generates a Font Awesome fa-user icon --}} ])

Panel content, optional., (*8)

@slot('table') {{-- Optional --}} ...
@endslot @slot('footer') {{-- Optional --}}

Panel footer., (*9)

@endslot @endcomponent ... other panels ...

Completion in PhpStorm

In PhpStorm setting go to Language & Frameworks > PHP > Laravel > Views / Template, add a new setting with the following:, (*10)

  • Project-Path: vendor/emiliolodigiani/laravel-bs3/resources/views
  • Namespace: bs3

Testing

``` bash phpunit, (*11)

or
``` bash
composer test

Changelog

Please see CHANGELOG for more information what has changed recently., (*12)

Contributing

Please see CONTRIBUTING for details., (*13)

Security

If you discover any security related issues, please email emiliolodigiani@gmail.com instead of using the issue tracker., (*14)

Credits

License

The MIT License (MIT). Please see License File for more information., (*15)

The Versions

03/01 2018

dev-master

9999999-dev https://github.com/emiliolodigiani/laravel-bs3

Bootstrap 3 view partials for Laravel 5.x

  Sources   Download

MIT

The Requires

  • php ^7.1

 

The Development Requires

laravel emiliolodigiani laravel-bs3

03/01 2018

v1.0.1

1.0.1.0 https://github.com/emiliolodigiani/laravel-bs3

Bootstrap 3 view partials for Laravel 5.x

  Sources   Download

MIT

The Requires

  • php ^7.1

 

The Development Requires

laravel emiliolodigiani laravel-bs3

30/12 2017

v1.0

1.0.0.0 https://github.com/emiliolodigiani/laravel-bs3

Bootstrap 3 view partials for Laravel 5.x

  Sources   Download

MIT

The Requires

  • php ^7.1

 

The Development Requires

laravel emiliolodigiani laravel-bs3