PHPackages                             grafite/html - 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. grafite/html

ActiveLibrary

grafite/html
============

A handy way to generate some HTML without writing it.

v1.21.2(4d ago)24.3k↓100%[8 issues](https://github.com/GrafiteInc/Html/issues)MITPHPPHP &gt;=7.3|&gt;=8.0CI passing

Since Jan 18Pushed 4d agoCompare

[ Source](https://github.com/GrafiteInc/Html)[ Packagist](https://packagist.org/packages/grafite/html)[ RSS](/packages/grafite-html/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (14)Versions (67)Used By (0)

[![Grafite HTML](GrafiteHtml-banner.png)](GrafiteHtml-banner.png)

**HTML** - A handy set of HTML generators for Laravel.

[![Build Status](https://github.com/GrafiteInc/Html/actions/workflows/php-package-tests.yml/badge.svg?branch=main)](https://github.com/GrafiteInc/Html/actions/workflows/php-package-tests.yml)[![Maintainability](https://camo.githubusercontent.com/0329a5163b456d5517930f106cd93809241c475d50ad81e6fa6fd3afedef84b8/68747470733a2f2f716c74792e73682f6261646765732f33313963313634382d363361612d343765302d623962372d3162303363386239336636642f6d61696e7461696e6162696c6974792e737667)](https://qlty.sh/gh/GrafiteInc/projects/Html)[![Packagist](https://camo.githubusercontent.com/fec9b34ed3716608140a3f68bf4200d48bcb7ca1fb5e3d93981af7f778093c98/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f677261666974652f68746d6c2e737667)](https://packagist.org/packages/grafite/html)[![license](https://camo.githubusercontent.com/850eae1099d2b05f53383473d7cd51f9bc1ab09b7d0d9e5122f1dd930efdcc6d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6d6173686170652f6170697374617475732e737667)](https://packagist.org/packages/grafite/html)

The HTML package lets you generate forms as well as fields with standard make commands. Inside your forms for models you can specify the fields that need to be generated and then simply pass the form to the view. No more writing html forms, error handling etc. It can handle Eloquent relationships and easily work with ajax requests for more dynamic form submissions.

##### Author(s):

[](#authors)

- [Matt Lantz](https://github.com/mlantz) ([@mattylantz](http://twitter.com/mattylantz), mattlantz at gmail dot com)

Requirements
------------

[](#requirements)

1. PHP 7.3+|8.1+
2. OpenSSL

Compatibility and Support
-------------------------

[](#compatibility-and-support)

Laravel VersionPackage TagSupported^7.x - ^12.x1.xyes### Installation

[](#installation)

Start a new Laravel project:

```
composer create-project laravel/laravel your-project-name
```

Then run the following to add HTML

```
composer require "grafite/html"
```

Time to publish those assets!

```
php artisan vendor:publish --provider="Grafite\Html\HtmlProvider"
```

Documentation
-------------

[](#documentation)

License
-------

[](#license)

HTML is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)

### Bug Reporting and Feature Requests

[](#bug-reporting-and-feature-requests)

Please add as many details as possible regarding submission of issues and feature requests

### Disclaimer

[](#disclaimer)

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

###  Health Score

49

—

FairBetter than 95% of packages

Maintenance79

Regular maintenance activity

Popularity25

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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

Every ~23 days

Recently: every ~14 days

Total

65

Last Release

4d ago

Major Versions

v0.0.4 → v1.0.02022-01-18

### Community

Maintainers

![](https://www.gravatar.com/avatar/81d026d950739c978b844ac79e6b454e7fedc95ceffdcc4da09893c2497c7255?d=identicon)[mlantz](/maintainers/mlantz)

---

Top Contributors

[![mlantz](https://avatars.githubusercontent.com/u/1065551?v=4)](https://github.com/mlantz "mlantz (173 commits)")

---

Tags

laravelhtmlLaravelCollective HTML

###  Code Quality

TestsPHPUnit

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/grafite-html/health.svg)

```
[![Health](https://phpackages.com/badges/grafite-html/health.svg)](https://phpackages.com/packages/grafite-html)
```

###  Alternatives

[laravel/lumen-framework

The Laravel Lumen Framework.

1.5k25.9M651](/packages/laravel-lumen-framework)[htmlmin/htmlmin

HTMLMin Is A Simple HTML Minifier For Laravel 5

1.0k1.9M8](/packages/htmlmin-htmlmin)[andreaselia/analytics

Analytics for the Laravel framework.

19718.5k2](/packages/andreaselia-analytics)[masterro/laravel-mail-viewer

Easily view in browser outgoing emails.

6487.3k](/packages/masterro-laravel-mail-viewer)[laravie/html

HTML and Form Builders for the Laravel Framework

38184.3k4](/packages/laravie-html)[grafite/forms

A remarkably magical form package for Laravel.

376.3k](/packages/grafite-forms)

PHPackages © 2026

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