spatie/laravel-html
Generate HTML in Laravel with a clean, readable API. Build elements dynamically and compose them easily, including form fields that automatically pull values from models, session data, or defaults. Includes a convenient Html facade/alias for quick use.
Full Changelog: https://github.com/spatie/laravel-html/compare/3.12.2...3.12.3
Full Changelog: https://github.com/spatie/laravel-html/compare/3.12.1...3.12.2
Full Changelog: https://github.com/spatie/laravel-html/compare/3.12.0...3.12.1
Full Changelog: https://github.com/spatie/laravel-html/compare/3.11.3...3.12.0
Full Changelog: https://github.com/spatie/laravel-html/compare/3.11.2...3.11.3
Full Changelog: https://github.com/spatie/laravel-html/compare/3.11.1...3.11.2
Full Changelog: https://github.com/spatie/laravel-html/compare/3.11.0...3.11.1
Full Changelog: https://github.com/spatie/laravel-html/compare/3.10.1...3.11.0
Full Changelog: https://github.com/spatie/laravel-html/compare/3.10.0...3.10.1
->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
Full Changelog: https://github.com/spatie/laravel-html/compare/3.8.0...3.9.0
Full Changelog: https://github.com/spatie/laravel-html/compare/3.7.0...3.8.0
Full Changelog: https://github.com/spatie/laravel-html/compare/3.6.0...3.7.0
Full Changelog: https://github.com/spatie/laravel-html/compare/3.5.0...3.6.0
Full Changelog: https://github.com/spatie/laravel-html/compare/3.3.0...3.4.0
.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
Full Changelog: https://github.com/spatie/laravel-html/compare/3.2.1...3.2.2
Full Changelog: https://github.com/spatie/laravel-html/compare/3.2.0...3.2.1
P class to render paragraphsreadonly has been renamed to isReadonly.target attribute method to links and button0 values in inputsrange for range inputsvalue parameter in data to an optional parameterArr:: and Str:: functionsunless method and magic __call handler (e.g. $input->valueUnless(false, 5))size attribute method to Inputname attribute method to Buttontel linknull children2.19.2SelectHtml::radio auto-generated id's & checked behaviourInput::require to accept a boolean valueI element class and Html::i factory methodHtml::value function that's a public method for oldImg element class and Html::img factory methodid from CSRF fieldsInput::date and Input::timeInput::disabledForm::novalidatereadonly method to input__call when using macrosHtmlable elements can now be used in the html() methodold (e.g. foo[1] -> foo.1)0required method to Selectrequired method to Textarea"0" string"0" string__call method that responds to methods ending with If, so any method can be called with a condition as it's first argument. The method will only be applied if the condition is truthy.BaseElement::data for data attributesBaseElement::setChildren to replace all childrenBaseElement::style for setting the style attribute (with a string or an associative array)Html::reset for form reset buttons2.2.0 was accidentally tagged as 2.4.0. This release contains the actual latest version at the time of writing.checked and unchecked methods to InputOptgroup elementOptions by passing an array of groups with optionsHtml::file and a File element for file inputsHtml facadehtml() helper function that returns an instance of HtmlMacroable to all elements and HtmlHtml::multiselect methodSelect::multiple methodclass method to Htmlplaceholder method to Textareavalue to Select::placeholderplaceholder method to Select for default empty valuesHtml facadeHtml::radiovalue for a checkbox created with Html::checkboxTextarea classHow can I help you explore Laravel packages today?