Download the PHP package laravel-view-components/forms without Composer
On this page you can find all versions of the php package laravel-view-components/forms. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download laravel-view-components/forms
More information about laravel-view-components/forms
Files in laravel-view-components/forms
Package forms
Short Description Laravel 7.x form view components
License MIT
Informations about the package forms
Laravel 7.x View Components
A Laravel View Components package built on the Tabler UI Kit - a free and open-source HTML Dashboard UI Kit built on Bootstrap.
Goal
The goal of this package is to provide a list of easy to use form inputs as View Components in Blade to mimic the HTML package from LaravelCollective while also building on the Tabler UI Kit. All the form elements listed on the Tabler Docs should eventually be available here.
Install
- Install a fresh copy of Laravel 7.x or above.
- Install this package via
composer require laravel-view-components/forms
. Laravel 7.x will automatically discover this package. No need to register the service provider. - Install the Tabler UI Preset.
- Run
npm install && npm run dev
to build the frontend
Usage
If you are not familiar with Laravel 7.x View Components, please see the Laravel Docs for details.
There are some common component attributes notated below. Specific components may have additional attributes detailed below.
The following Tabler UI components are available in this package.
Form Text component
<x-form-text name="example-text-input" label="Text" placeholder="Input placeholder"/>
Form Password component
<x-form-password name="example-password-input" label="Pasword" placeholder="Input placeholder"/>
Form Checkbox component
<x-form-checkbox />
Form Color component
<x-form-color />
Form Email component
<x-form-email />
Form File component
<x-form-file />
Form Number component
<x-form-number />
Form Phone component
<x-form-phone />
Form Radio component
<x-form-radio />
Form Search component
<x-form-search />
Form Select component
<x-form-select />
Form Image Select component
<x-form-select.images />
Form Tag Select component
<x-form-select.tags />
Form User Select component
<x-form-select.users />
Form Toggle component
<x-form-toggle />