prabowosd/laravel-collective-html

Laravel 11-13 compatible fork of LaravelCollective/html. Namespaces kept as original for compatibility. HTML and Form Builders for the Laravel Framework

Maintainers

Package info

github.com/prabowosd/laravel-collective-html

Homepage

Issues

pkg:composer/prabowosd/laravel-collective-html

Statistics

Installs: 1 544

Dependents: 1

Suggesters: 0

Stars: 1

13.0.1 2026-03-21 02:01 UTC

This package is auto-updated.

Last update: 2026-03-21 02:01:54 UTC


README

Latest Stable Version Total Downloads License

This is a fork of the original LaravelCollective/html package, updated to support Laravel 11, 12, and 13 and PHP 8.2+ (including PHP 8.4).

The namespaces have been kept as Collective\Html to maintain compatibility with existing projects that use the original package.

Installation

You can install this package via composer:

composer require prabowosd/laravel-collective-html

Documentation

For full documentation, please refer to the original Laravel Collective website: https://laravelcollective.com/docs/6.x/html

Quick Start

Form Open

{!! Form::open(['url' => 'foo/bar']) !!}
    //
{!! Form::close() !!}

Label

{!! Form::label('email', 'E-Mail Address') !!}

Text, Text Area, Password & Hidden Fields

{!! Form::text('username') !!}
{!! Form::textarea('description') !!}
{!! Form::password('password') !!}
{!! Form::hidden('invisible', 'secret') !!}

Checkboxes and Radio Buttons

{!! Form::checkbox('name', 'value') !!}
{!! Form::radio('name', 'value') !!}

Drop-Down Lists

{!! Form::select('size', ['L' => 'Large', 'S' => 'Small']) !!}

Buttons

{!! Form::submit('Click Me!') !!}

License

The Laravel Collective HTML package is open-sourced software licensed under the MIT license.