code413 / laravel-bootstrap
Bootstrap components as Laravel blade partials
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Language:HTML
Requires
- php: ^7.2
Requires (Dev)
- laravel/framework: 6.2
This package is auto-updated.
Last update: 2024-12-05 21:35:28 UTC
README
An opinionated collection of reusable blade partials based on Bootstrap 4 components.
Installation
Require the package using composer.
composer require code413/laravel-bootstrap
Usage
Fields
@include('bs::fields.text', ['name' => 'username'])
Buttons
@include('bs::btn', ['text' => 'Submit'])
Configuration
To access and modify all the partials available in this package, run:
php artisan vendor:publish --provider="Code413\LaravelBootstrap\LaravelBootstrapServiceProvider" --tag="views"
This will create a new vendor/bs directory where you can fully customize the survey views to your liking.
License
The MIT License (MIT). Please see License File for more information.