Download the PHP package djigir/laravel-form-builder without Composer
On this page you can find all versions of the php package djigir/laravel-form-builder. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package laravel-form-builder
Laravel Form Builder
A Laravel form builder package similar to FormCollective with essential form building functionality.
Installation
You can install the package via Composer:
For Laravel 11+ the package will be auto-discovered. For older versions, add the service provider and facade to your config/app.php:
Usage
Opening and Closing Forms
Input Fields
Textarea
Select Dropdowns
Checkboxes and Radio Buttons
Features
- Model Binding: Automatically populate form fields from Eloquent models
- Old Input: Automatically repopulate fields with old input data after validation errors
- CSRF Protection: Automatic CSRF token inclusion for POST forms
- Method Spoofing: Support for PUT, PATCH, DELETE methods via method spoofing
- Flexible Options: Support for HTML attributes and CSS classes
- Type Safety: All methods return
HtmlStringinstances for safe output
Available Methods
Form Methods
Form::open($options)- Open a formForm::model($model, $options)- Open a form with model bindingForm::close()- Close a form
Input Methods
Form::text($name, $value, $options)Form::email($name, $value, $options)Form::password($name, $options)Form::tel($name, $value, $options)Form::number($name, $value, $options)Form::date($name, $value, $options)Form::datetime($name, $value, $options)Form::time($name, $value, $options)Form::color($name, $value, $options)Form::range($name, $value, $options)Form::file($name, $options)Form::hidden($name, $value, $options)
Other Elements
Form::textarea($name, $value, $options)Form::select($name, $options, $selected, $attributes)Form::selectRange($name, $start, $end, $selected, $attributes)Form::selectYear($name, $startYear, $endYear, $selected, $attributes)Form::selectMonth($name, $selected, $attributes)Form::checkbox($name, $value, $checked, $options)Form::radio($name, $value, $checked, $options)
Requirements
- PHP 8.2+
- Laravel 11.0+
License
This package is open-sourced software licensed under the MIT license.
All versions of laravel-form-builder with dependencies
PHP Build Version
Package Version
The package djigir/laravel-form-builder contains the following files
Loading the files please wait ...