PHPackages                             braunson/laravel-html5-forms - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. braunson/laravel-html5-forms

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

braunson/laravel-html5-forms
============================

This package extends Laravel's FormBuilder to include some (soon all) HTML5 elements

4.0(8y ago)851.1k8MITPHPPHP &gt;=5.4.0

Since Feb 13Pushed 8y ago6 watchersCompare

[ Source](https://github.com/Braunson/laravel-html5-forms)[ Packagist](https://packagist.org/packages/braunson/laravel-html5-forms)[ RSS](/packages/braunson-laravel-html5-forms/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (3)Used By (0)

HTML5 Forms for Laravel
=======================

[](#html5-forms-for-laravel)

This package extends Laravel's FormBuilder to include some (soon all) HTML5 elements.

How to Install
--------------

[](#how-to-install)

1. Install the `braunson/laravel-html5-forms` package

    ```
    $ composer require "braunson/laravel-html5-forms:dev-master"
    ```
2. Update `app/config/app.php` to activate the package

    ```
    # Add `LaravelHTML5FormsServiceProvider` to the `providers` array
    'providers' => array(
        ...
        'Braunson\LaravelHTML5Forms\LaravelHTML5FormsServiceProvider',
    )
    ```

Usage / Supported Element Types
-------------------------------

[](#usage--supported-element-types)

Since the package extends the default FormBuilder, you can just use Form::field() like you would normally but with the following supported items.

- [Color](#color)
- [Date](#date)
- [Time](#time)
- [Datetime](#datetime)
- [Datetime-local](#datetime-local)
- [Email](#email)
- [Week](#week)
- [Month](#month)
- [Number](#number)
- [Range](#range)
- [Search](#search)
- [Tel](#tel)
- [Time](#time)
- [URL](#url)

### Color

[](#color)

```
Form::color($name, $value = null, $options = array())
```

### Date

[](#date)

```
Form::date($name, $min = null, $max = null, $options = array())
```

This field requires you input atleast min or max or both fields.

### Time

[](#time)

```
Form::time($name, $options = array())
```

### Datetime

[](#datetime)

```
Form::dateTime($name, $options = array())
```

### Datetime-local

[](#datetime-local)

```
Form::dateTimeLocal($name, $options = array())
```

### Email

[](#email)

```
Form::email($name, $value = null, $options = array())
```

### Week

[](#week)

```
Form::week($name, $value = null, $options = array())
```

### Month

[](#month)

```
Form::month($name, $value = null, $options = array())
```

### Number

[](#number)

```
Form::number($name, $value = null, $step = null, $options = array())
```

To specify a min/max range, add `'minmax' => '0|10'` to your options array. By default if no minmax is specified, it is min 0 and max 10.

**Tip**: To not output min/max, specify in options array 'minmax' =&gt; false

### Range

[](#range)

```
Form::range($name, $value = null, $options = array())
```

To specify a min/max range, add `'minmax' => '0|10'` to your options array. By default if no minmax is specified, it is min 0 and max 10.

**Tip**: To not output min/max, specify in options array 'minmax' =&gt; false

### Search

[](#search)

```
Form::search($name, $value = null, $options = array())
```

### Tel

[](#tel)

```
Form::tel($name, $value = null, $options = array())
```

### URL

[](#url)

```
Form::url($name, $value = null, $options = array())
```

Reporting Bugs or Feature Requests
----------------------------------

[](#reporting-bugs-or-feature-requests)

Please report any bugs or feature requests on the github issues page for this project here:

Contributing
------------

[](#contributing)

- [Fork](https://help.github.com/articles/fork-a-repo) the [Laravel-HTML5-Forms on github](https://github.com/braunson/laravel-html5-forms)
- Commit and push until you are happy with your contribution
- Run the tests to make sure they all pass: `composer install && ./vendor/bin/phpunit`
- [Make a pull request](https://help.github.com/articles/using-pull-requests)
- Thanks!

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 72.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3140d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/63da0e8217209947f209b77dbf342ec7bbc4507e986fa09a9c2a6c2708547738?d=identicon)[BraunsonYager](/maintainers/BraunsonYager)

---

Top Contributors

[![Braunson](https://avatars.githubusercontent.com/u/577273?v=4)](https://github.com/Braunson "Braunson (13 commits)")[![chogberg](https://avatars.githubusercontent.com/u/1549687?v=4)](https://github.com/chogberg "chogberg (1 commits)")[![djekl](https://avatars.githubusercontent.com/u/1119714?v=4)](https://github.com/djekl "djekl (1 commits)")[![Djuki](https://avatars.githubusercontent.com/u/416411?v=4)](https://github.com/Djuki "Djuki (1 commits)")[![MartelliEnrico](https://avatars.githubusercontent.com/u/2421387?v=4)](https://github.com/MartelliEnrico "MartelliEnrico (1 commits)")[![nestormata](https://avatars.githubusercontent.com/u/1775687?v=4)](https://github.com/nestormata "nestormata (1 commits)")

### Embed Badge

![Health badge](/badges/braunson-laravel-html5-forms/health.svg)

```
[![Health](https://phpackages.com/badges/braunson-laravel-html5-forms/health.svg)](https://phpackages.com/packages/braunson-laravel-html5-forms)
```

###  Alternatives

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M687](/packages/barryvdh-laravel-ide-helper)[orchestra/canvas

Code Generators for Laravel Applications and Packages

21017.2M158](/packages/orchestra-canvas)[illuminate/pipeline

The Illuminate Pipeline package.

9446.6M213](/packages/illuminate-pipeline)[illuminate/pagination

The Illuminate Pagination package.

10532.5M862](/packages/illuminate-pagination)[spatie/laravel-pjax

A pjax middleware for Laravel 5

513371.8k11](/packages/spatie-laravel-pjax)[spatie/laravel-mix-preload

Add preload and prefetch links based your Mix manifest

169176.0k2](/packages/spatie-laravel-mix-preload)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
