Download the PHP package fajarsulaksono/laravel-collective-html without Composer
On this page you can find all versions of the php package fajarsulaksono/laravel-collective-html. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download fajarsulaksono/laravel-collective-html
More information about fajarsulaksono/laravel-collective-html
Files in fajarsulaksono/laravel-collective-html
Package laravel-collective-html
Short Description HTML and Form Builders for the Laravel Framework
License MIT
Informations about the package laravel-collective-html
Laravel Collective HTML
HTML and Form Builders for the Laravel Framework.
About
Laravel Form HTML provides convenient helper methods and Blade directives for generating HTML elements and building forms in Laravel. It features automatic CSRF protection, old input repopulation, Eloquent model binding, and custom component support.
This is a maintained fork of the abandoned
laravelcollective/htmlpackage, updated for Laravel 9/10/11/12/13.
Requirements
| Laravel | PHP |
|---|---|
| 9.x | 8.1, 8.2, 8.3 |
| 10.x | 8.1, 8.2, 8.3, 8.4 |
| 11.x | 8.2, 8.3, 8.4 |
| 12.x | 8.2, 8.3, 8.4 |
| 13.x | 8.2, 8.3, 8.4 |
Installation
Laravel will auto-discover the service provider and facades. No manual registration required.
Manual Registration (optional)
If auto-discovery is disabled, add the service provider and facades to your config/app.php:
Usage
HTML Builder
Form Builder
Model Binding
When using Form::model(), the form will automatically repopulate fields with old input, falling back to model attributes:
Eloquent Form Mutators
Use the FormAccessible trait to define form-specific accessors:
Custom Components
Register custom Blade-view-based components:
Blade Directives
All HTML and Form methods are available as Blade directives using the @html_ or @form_ prefix:
Helpers
Global helper functions are available for quick access:
Testing
Contributing
Please see CONTRIBUTING.md for details.
License
MIT License. See LICENSE.txt.
All versions of laravel-collective-html with dependencies
illuminate/http Version ^9.0|^10.0|^11.0|^12.0|^13.0
illuminate/routing Version ^9.0|^10.0|^11.0|^12.0|^13.0
illuminate/session Version ^9.0|^10.0|^11.0|^12.0|^13.0
illuminate/support Version ^9.0|^10.0|^11.0|^12.0|^13.0
illuminate/view Version ^9.0|^10.0|^11.0|^12.0|^13.0