laravellux / html
HTML and Form Builders for the Laravel Framework
Requires
- php: >=8.0
- illuminate/http: ^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0|^13.0
- illuminate/routing: ^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0|^13.0
- illuminate/session: ^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0|^13.0
- illuminate/support: ^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0|^13.0
- illuminate/view: ^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0|^13.0
Requires (Dev)
- illuminate/database: ^6.0|^7.0|^8.0|^9.0|^10.0|^11.0|^12.0|^13.0
- mockery/mockery: ~1.6.2
- phpunit/phpunit: ~8.5|^9.5.10|^10.1|^11.0.1|^12.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
⚠️ Important Update: The
laravellux/htmlpackage has replaced thelaravelcollective/htmlpackage. Please replace all references ofCollective\Htmlin your project withLaravelLux\Html. For the majority of applications, no other changes should be necessary, and your project should continue to work as expected. However, always ensure to thoroughly test your project after this update to avoid unexpected issues. Thank you for your understanding.
Official documentation for Forms & Html for The Laravel Framework can be found at the Laravel Lux by WebSE website.
For a label, input, and connected validation message in one call, use the optional Form::field helper.
Supported versions
The 7.x branch permits PHP 8.0 or newer and Laravel 9 through 13, where upstream dependencies allow the combination. CI tests Laravel 12 and 13 on PHP 8.2–8.5. Older PHP/Laravel combinations are no longer tested, and Composer may block their dependencies due to security advisories; we do not recommend using them in production. See the PHP support schedule and Laravel support policy for upstream security support dates.
Button labels are HTML-escaped by default. For trusted HTML markup, pass false as the third argument to Form::button($label, $options, false).
