Download the PHP package bastinald/laravel-bootstrap-components without Composer

On this page you can find all versions of the php package bastinald/laravel-bootstrap-components. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-bootstrap-components

Laravel Bootstrap Components

This package contains a set of useful Bootstrap Laravel Blade components. It promotes DRY principles and allows you to keep your HTML nice and clean. Components include alerts, badges, buttons, form inputs (with automatic error feedback), dropdowns, navs, pagination (responsive), and more. The components come with Laravel Livewire integration built in, so you can use them with or without Livewire.

Documentation

Requirements

Installation

Require the package via composer:

Components

Alert

A Bootstrap alert:

Available Props & Slots


Badge

A Bootstrap badge:

Available Props & Slots


Button

A Bootstrap button:

Available Props & Slots


Check

A Bootstrap checkbox input:

Available Props & Slots


Close

A Bootstrap close button:

Available Props & Slots


Color

A Bootstrap color picker input:

Available Props & Slots


Datalist

A Bootstrap datalist input:

Available Props & Slots


Desc

A description list:

Available Props & Slots


Dropdown

A Bootstrap dropdown:

Available Props & Slots


Dropdown Item

A Bootstrap dropdown menu item:

Available Props & Slots


Form

A Bootstrap form:

Available Props & Slots

Icon

A Font Awesome icon:

Available Props & Slots


Image

An image:

Available Props & Slots


Input

A Bootstrap text input:

Available Props & Slots


Link

A hyperlink:

Available Props & Slots


Nav Dropdown

A Bootstrap nav dropdown:

Available Props & Slots


Nav Link

A Bootstrap nav link:

Available Props & Slots


Pagination

Responsive Bootstrap pagination links:

Available Props & Slots


Progress

A Bootstrap progress bar:

Available Props & Slots


Radio

A Bootstrap radio input:

Available Props & Slots


Select

A Bootstrap select input:

Available Props & Slots


Textarea

A Bootstrap textarea input:

Available Props & Slots

Traits

WithModel

This trait makes form data model manipulation a breeze. No more having to create a Livewire component property for every single form input. All form data will be placed inside the $model property array.

Getting Model Data

Get the model data as a collection:

Setting Model Data

Set a single value:

Set values using Eloquent model data:

Set values using an array:

Working With Arrays

Add an empty array item:

Remove an array item by its key:

Order an array item by its key & direction:

The direction should be up or down.

Binding Model Data

Package components work with this trait via the model attribute:

Validating Model Data

Use the validateModel method to validate model data:

This method works just like the Livewire validate method, so you can specify your rules in a separate rules method if you prefer.

Publishing Assets

Custom Views

Use your own component views by publishing the package views:

Now edit the files inside resources/views/vendor/bs. The package will use these files to render the components.

Custom Icons

Use your own font icons by publishing the package config:

Now edit the icon_class_prefix value inside config/laravel-bootstrap-components.php. The package will use this class to render the icons.


All versions of laravel-bootstrap-components with dependencies

PHP Build Version
Package Version
Requires laravel/framework Version ^8.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package bastinald/laravel-bootstrap-components contains the following files

Loading the files please wait ....