HTML and Form Builders for the Laravel Framework
184
0
2
Package Data
Maintainer Username: Satsume
Maintainer Contact: adam@laravelcollective.com (Adam Engebretson)
Package Create Date: 2016-02-11
Package Last Update: 2018-04-03
Language: PHP
License: MIT
Last Refreshed: 2024-12-15 15:15:17
Package Statistics
Total Downloads: 184
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 2
Total Forks: 0
Total Open Issues: 0

Forms & HTML

Build Status Total Downloads Latest Stable Version Latest Unstable Version License

Official documentation for Forms & Html for The Laravel Framework can be found at the LaravelCollective website.

Additions

Labels are now allowed to contain HTML if the fourth parameter is set to true.

Form::label('email', '<i class="fa fa-envelope"></i> E-mail Address', [], true)

Will result in

<label for="email"><i class="fa fa-envelope"></i> E-mail Address</label>

This is useful for wrapping checkboxes in a label:

$checkbox = Form::checkbox('remember');
Form::label('remember', $checkbox.' Remember me', [], true)

Will result in

<label for="remember"><input type="checkbox" name="remember"> Remember me</label>