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

ActiveFlarum-extension[Utility &amp; Helpers](/categories/utility)

ianm/html-head
==============

Add custom items to the HTML &lt;head&gt; attributes

1.2.4(1y ago)221.0k↓40%2[1 issues](https://github.com/imorland/html-head/issues)MITPHPCI passing

Since Jan 9Pushed 6mo ago1 watchersCompare

[ Source](https://github.com/imorland/html-head)[ Packagist](https://packagist.org/packages/ianm/html-head)[ Fund](https://www.buymeacoffee.com/ianm1)[ RSS](/packages/ianm-html-head/feed)WikiDiscussions 2.x Synced 1mo ago

READMEChangelog (9)Dependencies (2)Versions (16)Used By (0)

HTML Head Items
===============

[](#html-head-items)

[![Extiverse](https://camo.githubusercontent.com/7632c622ef4908e093cff36756d5a3450ef6c74371210651bb014cc319503463/68747470733a2f2f6578746976657273652e636f6d2f657874656e73696f6e2f69616e6d2f68746d6c2d686561642f6f70656e2d67726170682d696d616765)](https://camo.githubusercontent.com/7632c622ef4908e093cff36756d5a3450ef6c74371210651bb014cc319503463/68747470733a2f2f6578746976657273652e636f6d2f657874656e73696f6e2f69616e6d2f68746d6c2d686561642f6f70656e2d67726170682d696d616765)

[![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667) [![Latest Stable Version](https://camo.githubusercontent.com/2cd107667deec8249cd27d2085078ba22ab143e18edba3a23e4bea2d6397a74b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f69616e6d2f68746d6c2d686561642e737667)](https://packagist.org/packages/ianm/html-head)

A [Flarum](http://flarum.org) extension that offers a seamless way to add custom items to the HTML &lt;head&gt; section of your forum.

### Features

[](#features)

- **Easy Integration**: With just a few clicks, forum administrators can embed additional items directly into the forum's HTML . This is particularly useful for adding meta tags, styles, or any other custom scripts.
- **Clean UI**: The extension provides a user-friendly interface that makes it simple to manage and view all added items.
- **Cache Management**: Any changes made to the head items are automatically reflected, thanks to the efficient cache management in place. This ensures that your updates are immediately visible without any additional steps.
- **Error Handling**: In the event that an invalid header item is added, the extension intelligently logs the error, ensuring the forum's functionality isn't compromised.

[![image](https://user-images.githubusercontent.com/16573496/104105231-a3bb3000-52a4-11eb-97dc-d4c097471ebd.png)](https://user-images.githubusercontent.com/16573496/104105231-a3bb3000-52a4-11eb-97dc-d4c097471ebd.png)

[![image](https://user-images.githubusercontent.com/16573496/104105258-cc432a00-52a4-11eb-8ee6-51d75c731b51.png)](https://user-images.githubusercontent.com/16573496/104105258-cc432a00-52a4-11eb-8ee6-51d75c731b51.png)

### Usage

[](#usage)

To use the extension, simply navigate to the admin dashboard. Here you'll find the option to add or modify items that will be included in the forum's HTML ``.

### Installation

[](#installation)

Install manually with composer:

```
composer require ianm/html-head:"*"
```

### Updating

[](#updating)

```
composer update ianm/html-head
php flarum cache:clear
```

### Links

[](#links)

- [Packagist](https://packagist.org/packages/ianm/html-head)
- [GitHub](https://github.com/imorland/html-head)
- [Discuss](https://discuss.flarum.org/d/25907)

Support
-------

[](#support)

Please consider supporting my extension development and maintenance work.

[![Buy Me A Coffee](https://camo.githubusercontent.com/9a769e616ce78645bf51d12e4179cfbfd72fb413722b284e0be3ec3c75a86010/68747470733a2f2f63646e2e6275796d6561636f666665652e636f6d2f627574746f6e732f64656661756c742d6f72616e67652e706e67)](https://www.buymeacoffee.com/ianm1)

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance42

Moderate activity, may be stable

Popularity32

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 65.8% 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 ~125 days

Recently: every ~180 days

Total

15

Last Release

197d ago

Major Versions

0.2.0 → 1.0.02021-05-20

1.x-dev → 2.0.0-beta.12025-11-02

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16573496?v=4)[IanM](/maintainers/imorland)[@imorland](https://github.com/imorland)

---

Top Contributors

[![imorland](https://avatars.githubusercontent.com/u/16573496?v=4)](https://github.com/imorland "imorland (25 commits)")[![flarum-bot](https://avatars.githubusercontent.com/u/39334649?v=4)](https://github.com/flarum-bot "flarum-bot (11 commits)")[![DavideIadeluca](https://avatars.githubusercontent.com/u/146922689?v=4)](https://github.com/DavideIadeluca "DavideIadeluca (1 commits)")[![StyleCIBot](https://avatars.githubusercontent.com/u/11048387?v=4)](https://github.com/StyleCIBot "StyleCIBot (1 commits)")

---

Tags

htmlheadersflarumcustomhead

### Embed Badge

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

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

###  Alternatives

[fof/byobu

Well integrated, advanced private discussions.

61105.8k9](/packages/fof-byobu)[fof/user-bio

Add a user bio to user profiles

2196.5k9](/packages/fof-user-bio)[fof/drafts

Allow users to create post and discussion drafts

1771.1k5](/packages/fof-drafts)[fof/best-answer

Mark a post as the best answer in a discussion

26135.2k15](/packages/fof-best-answer)[fof/polls

 A Flarum extension that adds polls to your discussions

25122.4k9](/packages/fof-polls)[fof/user-directory

The permission based public user directory extension for your Flarum forum.

2789.7k5](/packages/fof-user-directory)

PHPackages © 2026

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