Search by

There is no license information available for the latest version (5.x-dev) of this package.

HTML and form builders, field name helpers and HTML sanitizing from October Rain

5.x-dev 2026-11-05 09:35 UTC

This package is auto-updated.

Last update: 2026-11-05 09:36:06 UTC


README

An extension of illuminate\html and more.

HTML helpers

These additional helpers are available in the Helper class.

nameToArray

Converts a HTML array string to a PHP array. Empty values are removed.

// Converts to PHP array ['user', 'location', 'city']
$array = Helper::nameToArray('user[location][city]');

strip

Removes HTML from a string.

// Outputs: Fatal Error! Oh noes!
echo Html::strip('<b>Fatal Error!</b> Oh noes!');