PHPackages                             jonob/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. jonob/html

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

jonob/html
==========

A port of Laravel 3's HTML class

v1.1.4(13y ago)301.2k49[3 issues](https://github.com/JonoB/html/issues)[1 PRs](https://github.com/JonoB/html/pulls)PHPPHP &gt;=5.3.0

Since Dec 2Pushed 13y ago8 watchersCompare

[ Source](https://github.com/JonoB/html)[ Packagist](https://packagist.org/packages/jonob/html)[ RSS](/packages/jonob-html/feed)WikiDiscussions master Synced 4w ago

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

Meido HTML
==========

[](#meido-html)

This library was written by Meido, but is now maintained by JonoB

A port of Laravel 3's HTML class. Made to work with Laravel 4.

- [Usage](https://github.com/JonoB/html#usage)
- [Changelog](https://github.com/JonoB/html#changelog)

Usage
-----

[](#usage)

### Composer Side

[](#composer-side)

add `"jonob/html": "1.1.*"` to the `require` section of your `composer.json` so that it should look something the code below (you can, of course, include your own dependencies)

```
...
...
...
"require": {
	...
	...
	...
	"jonob/html": "1.1.*"
},
...
...
...

```

### Laravel Side

[](#laravel-side)

add the following code to the `providers` section of the `app/config/app.php` file

```
'Jonob\HTML\HTMLServiceProvider',
```

so that it'll look something like the following

```
'providers' => array(

	...
	...
	...
	'Jonob\HTML\HTMLServiceProvider',

),
```

and add the following code to the `aliases` section of the `app/config/app.php` file

```
'HTML' => 'Jonob\HTML\HTMLFacade',
```

so that it'll look something like the following

```
'aliases' => array(

	...
	...
	...
	'HTML'       => 'Jonob\HTML\HTMLFacade',

),
```

after that, run `composer install` and start hacking on that beast.

Changelog
---------

[](#changelog)

### 1.1.\*

[](#11)

- Reverted e() shortcut helper as it's already in the `Illuminate/Support` (1.1.2)
- Added e() shortcut method helper to HTML::entities() (1.1.1)
- below are the changes made in 1.1.0
    - `Facade` and `ServiceProvider` are moved a folder up following Laravel 4's convention of developing packages.
    - dependencies version are changed to `4.0.x`
    - macro are now available thanks to [Maxime Fabre](https://github.com/Anahkiasen)

### 1.0.\*

[](#10)

- tagged for stable. (1.0.0)
- updated `composer.json` to stable channel. (1.0.1)
- updated `composer.json`'s `require` section to stable version. (1.0.2)
- some API changes are made to follow simple function naming convention in laravel. (1.0.3)
    - `HTML::link` are now `HTML::to`
    - `HTML::linkSecure` are now `HTML::secure`
    - `HTML::linkRoute` are now `HTML::route`
    - `HTML::linkAction` are now `HTML::action`
    - `HTML::asset` and `HTML::secureAsset` are added back
- added changelog section. (1.0.4)
- updated Facade namespace. (1.0.5)
- some tweaks are made. (1.0.6)
    - since `HTML` only requires `UrlGenerator`, parameters passed are updated.
    - hence, `HTML` would not be depending on `illuminate/foundation` in which none of it is actually used and will be using `illuminate/routing` instead where `UrlGenerator` resides.
- version bump. (1.0.7)

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 50% 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 ~8 days

Recently: every ~13 days

Total

13

Last Release

4862d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ebe750a6aa5d1d9ee3bb3b31cfb557c3e2e27ddfd632c315ac1e9166775f33a2?d=identicon)[JonoB](/maintainers/JonoB)

---

Top Contributors

[![JonoB](https://avatars.githubusercontent.com/u/627725?v=4)](https://github.com/JonoB "JonoB (3 commits)")[![Anahkiasen](https://avatars.githubusercontent.com/u/1321596?v=4)](https://github.com/Anahkiasen "Anahkiasen (2 commits)")[![steve228uk](https://avatars.githubusercontent.com/u/1169297?v=4)](https://github.com/steve228uk "steve228uk (1 commits)")

### Embed Badge

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

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

###  Alternatives

[psalm/plugin-laravel

Psalm plugin for Laravel

3345.1M337](/packages/psalm-plugin-laravel)[webcrafts-studio/lens-for-laravel

A plug-and-play accessibility auditor for Laravel.

371.4k](/packages/webcrafts-studio-lens-for-laravel)

PHPackages © 2026

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