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(1mo ago)24.3k↓100%[8 issues](https://github.com/GrafiteInc/Html/issues)1MITPHPPHP &gt;=7.3|&gt;=8.0CI passing

Since Jan 18Pushed 1mo agoCompare

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

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

[![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

48

—

FairBetter than 94% of packages

Maintenance76

Regular maintenance activity

Popularity25

Limited adoption so far

Community8

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

51d 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/cashier

Laravel Cashier provides an expressive, fluent interface to Stripe's subscription billing services.

2.5k25.9M106](/packages/laravel-cashier)[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k12.1M99](/packages/laravel-pulse)[laravel-doctrine/orm

An integration library for Laravel and Doctrine ORM

8425.3M86](/packages/laravel-doctrine-orm)[laravel/cashier-paddle

Cashier Paddle provides an expressive, fluent interface to Paddle's subscription billing services.

264778.4k3](/packages/laravel-cashier-paddle)[flarum/core

Delightfully simple forum software.

211.3M1.9k](/packages/flarum-core)[masterro/laravel-mail-viewer

Easily view in browser outgoing emails.

6392.1k](/packages/masterro-laravel-mail-viewer)

PHPackages © 2026

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