BladeStrap
Bootstrap 3 helpers for Laravel's Blade view engine., (*1)
Installation
Run composer require watchwood/BladeStrap
to include the package in your Laravel app., (*2)
Add watchwood\BladeStrap\ServiceProvider::class
to your app config service providers., (*3)
Usage
@panel($title, $type)
Opens a panel., (*4)
- $title (optional): Title field for the panel
- $type (optional): primary, warning, etc. defaults to default
@endpanel
Closes a panel., (*5)
@alert($title, $type)
Opens an alert box., (*6)
- $title (optional): Title field for the panel
- $type (optional): primary, warning, etc. defaults to info
@endalert
Closes an alert box., (*7)
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., (*8)