NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #1135 most downloaded on Packagist
A fluent html builder
Last release 7 months ago
22 Feb 2026
Release timing varies
gaps range from 2 weeks to 6 months
Nearly every release is documented
notes for 57 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
89 releases · first in 2017
Remove deprecated PHPUnit 9 attributes from phpunit.xml.dist
make BaseElement::unless() compatible with Conditionable::unless() by @miken32 in #260
Full Changelog: 3.12.2...3.12.3
One column per quarter.
Full Changelog: https://github.com/spatie/laravel-html/compare/3.12.2...3.12.3
Document conditional methods by @miken32 in #261
Full Changelog: https://github.com/spatie/laravel-html/compare/3.12.1...3.12.2
Update issue template by @AlexVanderbist in #257
Full Changelog: 3.12.0...3.12.1
Full Changelog: https://github.com/spatie/laravel-html/compare/3.12.0...3.12.1
add disabled option to file input by @it-can in #253
Full Changelog: https://github.com/spatie/laravel-html/compare/3.11.3...3.12.0
Laravel 12.x Compatibility by @laravel-shift in #251
Full Changelog: https://github.com/spatie/laravel-html/compare/3.11.2...3.11.3
Radio buttons with value 0 are incorrectly marked as checked by @acarpio89 in #249
Full Changelog: 3.11.1...3.11.2
Full Changelog: https://github.com/spatie/laravel-html/compare/3.11.1...3.11.2
fix: Passing null to parameter #1 ($string) of type string is deprecated by @francoism90 in #244
Full Changelog: 3.11.0...3.11.1
Full Changelog: https://github.com/spatie/laravel-html/compare/3.11.0...3.11.1
Add some attributes by @francoism90 in #239
Full Changelog: 3.10.1...3.11.0
Full Changelog: https://github.com/spatie/laravel-html/compare/3.10.1...3.11.0
Fix value omitted when input created with no name by @raveren in #235
Full Changelog: https://github.com/spatie/laravel-html/compare/3.10.0...3.10.1
Update docs for name attribute by @bskl in https://github.com/spatie/laravel-html/pull/225
->when() helper is available on all elements by @raveren in https://github.com/spatie/laravel-html/pull/234Full Changelog: https://github.com/spatie/laravel-html/compare/3.9.0...3.10.0
Add use statement by @bskl in https://github.com/spatie/laravel-html/pull/222
Full Changelog: https://github.com/spatie/laravel-html/compare/3.8.0...3.9.0
Add autocomplete attribute helper to the form element by @raveren in https://github.com/spatie/laravel-html/pull/221
Full Changelog: https://github.com/spatie/laravel-html/compare/3.7.0...3.8.0
Fix return value in docs in element-methods.md by @raveren in https://github.com/spatie/laravel-html/pull/218
Full Changelog: https://github.com/spatie/laravel-html/compare/3.6.0...3.7.0
Laravel 11.x Compatibility by @laravel-shift in https://github.com/spatie/laravel-html/pull/214
Full Changelog: https://github.com/spatie/laravel-html/compare/3.5.0...3.6.0
Nothing published for this version
Fix docblock to solve phpstan errors when passing an array to html()->div() by @SanderMuller in https://github.com/spatie/laravel-html/pull/210
Full Changelog: https://github.com/spatie/laravel-html/compare/3.3.0...3.4.0
Add documentation for new FormElement::route() method by @miken32 in https://github.com/spatie/laravel-html/pull/190
.gitattributes by @totoprayogo1916 in https://github.com/spatie/laravel-html/pull/194Full Changelog: https://github.com/spatie/laravel-html/compare/3.2.2...3.3.0
Allow setting a form action to a route by @miken32 in https://github.com/spatie/laravel-html/pull/189
Full Changelog: https://github.com/spatie/laravel-html/compare/3.2.1...3.2.2
Convert all tests to Pest by @alexmanase in https://github.com/spatie/laravel-html/pull/183
Full Changelog: https://github.com/spatie/laravel-html/compare/3.2.0...3.2.1
Add P class to render paragraphs
P class to render paragraphs- Allow Laravel 9
Add compatiblity with PHP 8.1. The only breaking change with v2 is that readonly has been renamed to isReadonly.
readonly has been renamed to isReadonly.Better support for numeric values in attributes
Add target attribute method to links and button
target attribute method to links and button- add support for PHP 8
add the disabled method to all elements that support the attribute
- Add support for Laravel 8
Internal refactor to normalize availabel attribute methods
- add Laravel 7 support
- Added number input
Better handling for 0 values in inputs
0 values in inputsrange for range inputsPrevent password fields to be filled
Changed the value parameter in data to an optional parameter
value parameter in data to an optional parameter- Added Laravel 5.8 support - Dropped PHP 7.0 support - Dropped Laravel 5.4 support - Dropped PHPUnit 6 support
- use Arr:: and Str:: functions
Arr:: and Str:: functionsAdded unless method and magic __call handler (e.g. $input->valueUnless(false, 5))
unless method and magic __call handler (e.g. $input->valueUnless(false, 5))size attribute method to Inputname attribute method to Button- Improve default of tel link
tel link- Add support for Laravel 5.7
Allow radio input check "0" value
Correctly prefill form array attributes from the model
- Allow null children
null childrenRevert comparison function change in 2.19.2
2.19.2Nothing published for this version
Fixed comparison function for selected options in Select
SelectFixed Html::radio auto-generated id's & checked behaviour
Html::radio auto-generated id's & checked behaviourChanged Input::require to accept a boolean value
Input::require to accept a boolean valueAdded I element class and Html::i factory method
I element class and Html::i factory methodAdded Html::value function that's a public method for old
Html::value function that's a public method for oldAdded Img element class and Html::img factory method
Img element class and Html::img factory method- Removed id from CSRF fields
id from CSRF fieldsAdded Input::date and Input::time
Input::date and Input::time- Added Input::disabled
Input::disabled- Added Form::novalidate
Form::novalidateNothing published for this version
Fixed Laravel 5.6 compatibility
Added Laravel 5.6 compatibility
- Add readonly method to input
readonly method to input- Fix __call when using macros
__call when using macrosHtmlable elements can now be used in the html() method
Htmlable elements can now be used in the html() methodold (e.g. foo[1] -> foo.1)Your coding agent can read these notes before it upgrades. Set up the MCP server →