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. [Templating &amp; Views](/categories/templating)
4. /
5. grafite/html

ActiveLibrary[Templating &amp; Views](/categories/templating)

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

A handy way to generate some HTML without writing it.

v1.22.1(1mo ago)24.6k[7 issues](https://github.com/GrafiteInc/Html/issues)1MITPHPPHP &gt;=8.2CI 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 3w ago

READMEChangelogDependencies (28)Versions (71)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

49

—

FairBetter than 94% of packages

Maintenance69

Regular maintenance activity

Popularity24

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity77

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 ~10 days

Total

69

Last Release

56d ago

Major Versions

v0.0.4 → v1.0.02022-01-18

PHP version history (2 changes)v0.0.1PHP &gt;=7.3|&gt;=8.0

v1.22.0PHP &gt;=8.2

### 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 (184 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

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[craftcms/cms

Craft CMS

3.6k3.6M2.9k](/packages/craftcms-cms)[moonshine/moonshine

Laravel administration panel

1.3k239.9k75](/packages/moonshine-moonshine)[tightenco/jigsaw

Simple static sites with Laravel's Blade.

2.3k449.3k30](/packages/tightenco-jigsaw)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9742.3M121](/packages/roots-acorn)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45344.0k1](/packages/pressbooks-pressbooks)

PHPackages © 2026

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