code413/laravel-bootstrap

Bootstrap components as Laravel blade partials

dev-master 2020-03-05 10:31 UTC

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.