Laravel Form Components

rawilk/laravel-form-components image

Laravel Form Components stats

Downloads
44.1K
Stars
304
Open Issues
4
Forks
33

View on GitHub →

Set of Blade components for TailwindCSS forms.

Form Components for Laravel

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.

Cube

Laravel Newsletter

Join 40k+ other developers and never miss out on new tips, tutorials, and more.


Rawilk Laravel Form Components Related Articles

Lattice: Describe Inertia UIs in PHP image

Lattice: Describe Inertia UIs in PHP

Read article
How We Cached Laravel News at the Edge with Fast Laravel image

How We Cached Laravel News at the Edge with Fast Laravel

Read article
Drop in comments for Filament with Commentions image

Drop in comments for Filament with Commentions

Read article
What We Know About Laravel 13 image

What We Know About Laravel 13

Read article
Cache Without Overlapping in Laravel 12.47.0 image

Cache Without Overlapping in Laravel 12.47.0

Read article
Backpack v7 is Launched - See What's New image

Backpack v7 is Launched - See What's New

Read article
Securing Laravel logo

Securing Laravel

The essential security resource for Laravel devs, covering everything you need to keep your apps secure. Sign up to receive weekly security tips and monthly in depth articles, diving deep into security concepts you need to know!

Securing Laravel
Tighten logo

Tighten

We help companies turn great ideas into amazing apps, products, and services.

Tighten
SaaSykit: Laravel SaaS Starter Kit logo

SaaSykit: Laravel SaaS Starter Kit

SaaSykit is a Multi-tenant Laravel SaaS Starter Kit that comes with all features required to run a modern SaaS. Payments, Beautiful Checkout, Admin Panel, User dashboard, Auth, Ready Components, Stats, Blog, Docs and more.

SaaSykit: Laravel SaaS Starter Kit
Harpoon: Next generation time tracking and invoicing logo

Harpoon: Next generation time tracking and invoicing

The next generation time-tracking and billing software that helps your agency plan and forecast a profitable future.

Harpoon: Next generation time tracking and invoicing
No Compromises logo

No Compromises

Joel and Aaron, the two seasoned devs from the No Compromises podcast, are now available to hire for your Laravel project. ⬧ Flat rate of $9500/mo. ⬧ No lengthy sales process. ⬧ No contracts. ⬧ 100% money back guarantee.

No Compromises
Laravel Cloud logo

Laravel Cloud

Easily create and manage your servers and deploy your Laravel applications in seconds.

Laravel Cloud