rawilk / laravel-form-components
Set of Blade components for TailwindCSS forms.
Fund package maintenance!
rawilk
Installs: 83 278
Dependents: 1
Suggesters: 1
Security: 0
Stars: 394
Watchers: 8
Forks: 44
Open Issues: 12
Requires
- php: ^8.0|^8.1|^8.2
- illuminate/filesystem: ^9.0|^10.0
- illuminate/support: ^9.0|^10.0
- illuminate/view: ^9.0|^10.0
- spatie/laravel-package-tools: ^1.14
Requires (Dev)
- blade-ui-kit/blade-heroicons: ^2.0
- laravel/pint: ^1.5
- livewire/livewire: ^2.8
- orchestra/testbench: ^7.0|^8.0
- pestphp/pest: ^1.22
- pestphp/pest-plugin-laravel: ^1.4
- pestphp/pest-plugin-parallel: ^1.2
- sinnbeck/laravel-dom-assertions: ^1.3
- spatie/laravel-ray: ^1.25
Suggests
- blade-ui-kit/blade-heroicons: Required for the default icons used in this package
- livewire/livewire: Consider livewire for handling your form submissions
- dev-main
- v8.1.4
- v8.1.3
- v8.1.2
- v8.1.1
- v8.1.0
- v8.0.4
- v8.0.3
- v8.0.2
- v8.0.1
- v8.0.0
- v7.x-dev
- v7.1.7
- v7.1.6
- v7.1.5
- v7.1.4
- v7.1.3
- v7.1.2
- v7.1.1
- v7.1.0
- v7.0.6
- v7.0.5
- v7.0.4
- v7.0.3
- v7.0.2
- v7.0.1
- v7.0.0
- v7.0.0-alpha.2
- v7.0.0-alpha.1
- v6.x-dev
- v6.0.2
- v6.0.1
- v6.0.0
- v5.x-dev
- 5.1.0
- 5.0.5
- 5.0.4
- 5.0.3
- 5.0.2
- 5.0.1
- 5.0.0
- v4.x-dev
- 4.0.8
- 4.0.7
- 4.0.6
- 4.0.5
- 4.0.4
- 4.0.3
- 4.0.2
- 4.0.1
- 4.0.0
- v3.x-dev
- 3.1.1
- 3.1.0
- 3.0.6
- 3.0.5
- 3.0.4
- 3.0.3
- 3.0.2
- 3.0.1
- 3.0.0
- v2.x-dev
- 2.0.2
- 2.0.1
- 2.0.0
- v1.x-dev
- 1.4.14
- 1.4.13
- 1.4.12
- 1.4.11
- 1.4.10
- 1.4.9
- 1.4.8
- 1.4.7
- 1.4.6
- 1.4.5
- 1.4.4
- 1.4.3
- 1.4.2
- 1.4.1
- 1.4.0
- 1.3.2
- 1.3.1
- 1.3.0
- 1.2.1
- 1.2.0
- 1.1.1
- 1.1.0
- 1.0.0
- dev-dependabot/npm_and_yarn/babel/core-7.26.0
- dev-dependabot/npm_and_yarn/rollup/plugin-commonjs-28.0.1
- dev-dependabot/npm_and_yarn/babel/preset-env-7.26.0
- dev-dependabot/github_actions/dependabot/fetch-metadata-2.2.0
- dev-dependabot/composer/livewire/livewire-tw-3.5
This package is auto-updated.
Last update: 2024-10-28 11:51:19 UTC
README
Form Components for Laravel provides common form components to help build forms faster using Tailwind CSS. Supports validation, old form values, and wire:model.
Installation
You can install the package via composer:
composer require rawilk/laravel-form-components
You can publish the config file with:
php artisan vendor:publish --tag="form-components-config"
You can view the default configuration here: https://github.com/rawilk/laravel-form-components/blob/main/config/form-components.php
You can publish the package's views with this command:
php artisan vendor:publish --tag="form-components-views"
If you want to override the package's language lines, you can publish them with this command:
php artisan vendor:publish --tag="form-components-translations"
Documentation
For more documentation, please visit: https://randallwilk.dev/docs/laravel-form-components
Demo
For a demo of some of the components, please visit: https://laravel-form-components.randallwilk.dev
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
Please review my security policy on how to report security vulnerabilities.
Credits
This package is also heavily inspired by Laravel Form Components and Blade UI Kit. A lot of inspiration for some JS components is taken from Alpine Headless Components.
Alternatives
This package was created to satisfy my own needs and preferences, and relies on TailwindCSS, TailwindUI, and AlpineJS for styling and functionality. You can always try one of these alternatives if your needs differ:
Disclaimer
This package is not affiliated with, maintained, authorized, endorsed or sponsored by Laravel, TailwindCSS, Laravel Livewire, Alpine.js, or any of its affiliates.
License
The MIT License (MIT). Please see License File for more information.