watchwood / BladeStrap by watchwood

Bootstrap 3 helpers for Laravel's Blade view engine.
21
1
1
Package Data
Maintainer Username: watchwood
Maintainer Contact: johnathon.wood@outlook.com (John Wood)
Package Create Date: 2017-06-23
Package Last Update: 2017-06-29
Home Page:
Language: PHP
License: Unknown
Last Refreshed: 2025-02-06 03:01:13
Package Statistics
Total Downloads: 21
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 1
Total Watchers: 1
Total Forks: 0
Total Open Issues: 0

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.