A package for creating generic forms that allows you to create all kinds of forms in your application in code.
jobmetric/laravel-form is a Laravel package for a package for creating generic forms that allows you to create all kinds of forms in your application in code..
It currently has 5 GitHub stars and 98 downloads on Packagist (latest version 1.6.0).
Install it with composer require jobmetric/laravel-form.
Discover more Laravel packages by jobmetric
or browse all Laravel packages to compare alternatives.
Last updated
Build Forms. Programmatically and Beautifully.
Laravel Form simplifies form creation and rendering in Laravel applications. Stop writing HTML manually and start building complex, structured forms programmatically with confidence. It provides a fluent builder API to create forms with tabs, groups, and custom fields—all through a clean, chainable interface. Perfect for building dynamic admin panels, configuration forms, and API-driven form builders. This is where powerful form building meets developer-friendly simplicity—giving you complete control over form structure without the complexity.
Laravel Form provides a clean, chainable API for building forms. Organize fields into tabs and groups, set form attributes, and configure validation—all through a single fluent chain. No more scattered HTML or inconsistent form structures.
Organize complex forms into logical tabs. Each tab can contain multiple groups, and each group can contain multiple fields. This hierarchical structure makes it easy to build sophisticated forms while keeping code organized and maintainable.
Group related fields together with labels and descriptions. Groups provide visual separation and logical organization, making forms easier to understand and fill out.
Built on top of Laravel Custom Field, you can use all available field types (text, select, radio, image, etc.) and create custom field types. The form builder seamlessly integrates with the custom field system.
Form building is the process of programmatically creating, configuring, and rendering HTML forms. Traditional approaches often involve:
Laravel Form solves these challenges by providing:
Consider a dynamic form builder where administrators can create forms with different structures, tabs, and field types. With Laravel Form, you can build forms programmatically, render them consistently, and serialize them for storage or API responses. The power of form building lies not only in flexible form creation but also in making it easy to extend, customize, and maintain throughout your application.
By adopting Laravel Form, you will:
Install Laravel Form via Composer:
composer require jobmetric/laravel-form
Ready to transform your Laravel applications? Our comprehensive documentation is your gateway to mastering Laravel Form:
The documentation includes:
Thank you for participating in laravel-form. A contribution guide can be found here.
The laravel-form is open-sourced software licensed under the MIT license. See License File for more information.