octoberrain / html
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
Requires
- php: ^8.2
- enshrined/svg-sanitize: ^1.0
- illuminate/http: ^12.0|^13.0
- illuminate/routing: ^12.0|^13.0
- illuminate/session: ^12.0|^13.0
- illuminate/support: ^12.0|^13.0
- symfony/html-sanitizer: ^6.1|^7.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
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!');