watchwood/bladestrap

Bootstrap 3 helpers for Laravel's Blade view engine.
22 1
Install
composer require watchwood/bladestrap
Latest Version:1.1
Last Updated:Jun 29, 2017
Links: GitHub  ·  Packagist
Maintainer: watchwood

BladeStrap

Bootstrap 3 helpers for Laravel's Blade view engine.

Installation

Run composer require watchwood/BladeStrap to include the package in your Laravel app.

Add watchwood\BladeStrap\ServiceProvider::class to your app config service providers.

Usage

@panel($title, $type)

Opens a panel.

  • $title (optional): Title field for the panel
  • $type (optional): primary, warning, etc. defaults to default

@endpanel

Closes a panel.

@alert($title, $type)

Opens an alert box.

  • $title (optional): Title field for the panel
  • $type (optional): primary, warning, etc. defaults to info

@endalert

Closes an alert box.

Contributing

Bootstrap has a ton of stuff, I'm currently adding them to this package on a basis of when personally I need them. If you have anything you'd like to see added to this package, feel free to reach out to me on Github or make a Pull Request with the extra functionality.

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

631,580,251 9,707
laravel/framework

The Laravel Framework.

580,311,802 34,925
laravel/tinker

Powerful REPL for the Laravel framework.

489,754,436 7,444
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

404,034,618 608
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

387,976,821 4,658