Skip to content
This repository was archived by the owner on Mar 18, 2025. It is now read-only.

rawilk/laravel-form-components

Folders and files

NameName
Last commit message
Last commit date

Latest commit

9d4d05b · Mar 18, 2025
Feb 3, 2025
Mar 14, 2023
Mar 17, 2023
Mar 22, 2023
Mar 18, 2025
Jul 10, 2023
Mar 10, 2024
Nov 17, 2023
Sep 11, 2020
Apr 6, 2023
Jun 24, 2021
Mar 18, 2025
Aug 21, 2020
Mar 18, 2025
Oct 23, 2020
Mar 17, 2023
Mar 17, 2025
Mar 17, 2025
Feb 9, 2022
Oct 20, 2022
Mar 14, 2023

Repository files navigation

Package Abandonment: Since I now use packages like Filament for my UI needs, I no longer have an interest or incentive to maintain this package.

Form Components for Laravel

Latest Version on Packagist Tests Total Downloads PHP from Packagist License

social image

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.