PHPackages                             davwheat/flarum-ext-ads - 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. davwheat/flarum-ext-ads

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

davwheat/flarum-ext-ads
=======================

Ads support for your Flarum forum.

1.2.0(4y ago)1410.6k↓27.3%3[4 PRs](https://github.com/davwheat/flarum-ext-ads/pulls)MITTypeScript

Since Aug 6Pushed 3y ago2 watchersCompare

[ Source](https://github.com/davwheat/flarum-ext-ads)[ Packagist](https://packagist.org/packages/davwheat/flarum-ext-ads)[ GitHub Sponsors](https://github.com/davwheat)[ RSS](/packages/davwheat-flarum-ext-ads/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (1)Versions (20)Used By (0)

davwheat Ad Units
=================

[](#davwheat-ad-units)

[![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667) [![Latest Stable Version](https://camo.githubusercontent.com/4c17a2abbf93336a1e68a292790cb1f2e8f482bba2f45ffbb73c54438d6eb950/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f64617677686561742f666c6172756d2d6578742d6164732e737667)](https://packagist.org/packages/davwheat/flarum-ext-ads) [![Total Downloads](https://camo.githubusercontent.com/72a0345df6b0c2513c37dc7bfd6cb49a7b00c78f4a84ea5d83e5f084f09b6ef8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f64617677686561742f666c6172756d2d6578742d6164732e737667)](https://packagist.org/packages/davwheat/flarum-ext-ads) [![](https://camo.githubusercontent.com/b1c6d56080dae859af5bd4a1eb90a405121389afc450a4de7d0a584cba2fbacb/68747470733a2f2f666c6172756d2d62616467652d6170692e64617677686561742e6465762f76312f636f6d7061742d6c61746573742f64617677686561742f666c6172756d2d6578742d616473)](https://camo.githubusercontent.com/b1c6d56080dae859af5bd4a1eb90a405121389afc450a4de7d0a584cba2fbacb/68747470733a2f2f666c6172756d2d62616467652d6170692e64617677686561742e6465762f76312f636f6d7061742d6c61746573742f64617677686561742f666c6172756d2d6578742d616473)

A [Flarum](http://flarum.org) extension that provides ad unit support for your Flarum forum.

Special thanks
--------------

[](#special-thanks)

Thank you to @"alphadot"#36731 and @"MikeJones"#17198 for sponsoring this extension! 🥰

Installation
------------

[](#installation)

Install with composer:

```
composer require davwheat/flarum-ext-ads:"*"
```

Updating
--------

[](#updating)

```
composer update davwheat/flarum-ext-ads:"*"
php flarum migrate
php flarum cache:clear
```

Usage
-----

[](#usage)

Head to your admin dashboard and enable the extension. Switch on the Ad Unit locations you'd like, then paste your ad code in the textboxes below.

If you use "between post" ads, make sure to configure the gap between ads in the extension settings page.

> ⚠️ **If you use Google AdSense**, only insert the `` tag into the textbox.

> ⚠️ The text boxes **do not** support `` tags. These scripts will not be executed if you enter them into the text boxes, due to how Mithril functions.

Links
-----

[](#links)

- [Packagist](https://packagist.org/packages/davwheat/flarum-ext-ads)
- [GitHub](https://github.com/davwheat/flarum-ext-ads)
- [Discuss](https://discuss.flarum.org/d/28506)

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 73.5% 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 ~17 days

Recently: every ~27 days

Total

15

Last Release

1500d ago

Major Versions

0.0.9 → 1.0.02021-08-07

### Community

Maintainers

![](https://www.gravatar.com/avatar/53d4fe8764f574ca9dcac247816ca4d6a7d768880d35f02bb4af058ba210cc9a?d=identicon)[davwheat](/maintainers/davwheat)

---

Top Contributors

[![davwheat](https://avatars.githubusercontent.com/u/7406822?v=4)](https://github.com/davwheat "davwheat (61 commits)")[![flarum-bot](https://avatars.githubusercontent.com/u/39334649?v=4)](https://github.com/flarum-bot "flarum-bot (22 commits)")

---

Tags

adsadsenseflarumdavwheat

### Embed Badge

![Health badge](/badges/davwheat-flarum-ext-ads/health.svg)

```
[![Health](https://phpackages.com/badges/davwheat-flarum-ext-ads/health.svg)](https://phpackages.com/packages/davwheat-flarum-ext-ads)
```

###  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/sitemap

Generate a sitemap

1988.7k2](/packages/fof-sitemap)

PHPackages © 2026

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