PHPackages                             subasteve/flarum-ext-hljs - 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. subasteve/flarum-ext-hljs

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

subasteve/flarum-ext-hljs
=========================

Integrate your forum with highlight.js.

v2.0.2(4y ago)026MITJavaScript

Since Mar 25Pushed 4y agoCompare

[ Source](https://github.com/subasteve/flarum-ext-hljs)[ Packagist](https://packagist.org/packages/subasteve/flarum-ext-hljs)[ Docs](https://therealsuji.tk)[ RSS](/packages/subasteve-flarum-ext-hljs/feed)WikiDiscussions master Synced today

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

highlight.js
============

[](#highlightjs)

[![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667) [![Latest Stable Version](https://camo.githubusercontent.com/d644f06c23d7e3a2161396c79a57236b948457a1b0f5b52fdb73d09ce9b08716/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7468657265616c73756a69746b2f666c6172756d2d6578742d686c6a732e737667)](https://camo.githubusercontent.com/d644f06c23d7e3a2161396c79a57236b948457a1b0f5b52fdb73d09ce9b08716/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7468657265616c73756a69746b2f666c6172756d2d6578742d686c6a732e737667) [![Total Downloads](https://camo.githubusercontent.com/bf6fe51d53d029615bb735770b11cd3df222e712e0edafa5d12bf2d375d78aa4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7468657265616c73756a69746b2f666c6172756d2d6578742d686c6a732e737667)](https://camo.githubusercontent.com/bf6fe51d53d029615bb735770b11cd3df222e712e0edafa5d12bf2d375d78aa4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7468657265616c73756a69746b2f666c6172756d2d6578742d686c6a732e737667)

A [Flarum](http://flarum.org) extension that integrates your forum with [highlight.js](https://highlightjs.org).

### Preview

[](#preview)

[![Preview](https://camo.githubusercontent.com/ad942a13507ffc3a91a38965171810e8f98c16ea6c8f5192bfe43db523c3e911/68747470733a2f2f692e696d6775722e636f6d2f477156375054392e706e67)](https://camo.githubusercontent.com/ad942a13507ffc3a91a38965171810e8f98c16ea6c8f5192bfe43db523c3e911/68747470733a2f2f692e696d6775722e636f6d2f477156375054392e706e67)

### Requirements

[](#requirements)

- The [flarum/bbcode](https://github.com/flarum/bbcode/) extension is necessary for this extension to work.

### Installation

[](#installation)

```
composer require therealsujitk/flarum-ext-hljs
```

### Updating

[](#updating)

```
composer update therealsujitk/flarum-ext-hljs
```

### Links

[](#links)

- [Packagist](https://packagist.org/packages/therealsujitk/flarum-ext-hljs)
- [Discussion Page](https://discuss.flarum.org/d/23229)
- [GitHub](https://github.com/therealsujitk/flarum-ext-hljs)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

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

Recently: every ~99 days

Total

12

Last Release

1685d ago

Major Versions

v1.3.0 → v2.0.02021-01-20

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/830351?v=4)[Stephen Hineline](/maintainers/subasteve)[@subasteve](https://github.com/subasteve)

---

Top Contributors

[![therealsujitk](https://avatars.githubusercontent.com/u/60378235?v=4)](https://github.com/therealsujitk "therealsujitk (32 commits)")[![littlegolden](https://avatars.githubusercontent.com/u/35162802?v=4)](https://github.com/littlegolden "littlegolden (2 commits)")[![subasteve](https://avatars.githubusercontent.com/u/830351?v=4)](https://github.com/subasteve "subasteve (1 commits)")

---

Tags

codesyntaxhighlight.jshighlightinghljs

### Embed Badge

![Health badge](/badges/subasteve-flarum-ext-hljs/health.svg)

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

###  Alternatives

[scrivo/highlight.php

Server side syntax highlighter that supports 185 languages. It's a PHP port of highlight.js

71040.3M82](/packages/scrivo-highlightphp)[endroid/qr-code

Endroid QR Code

4.8k67.6M348](/packages/endroid-qr-code)[laminas/laminas-code

Extensions to the PHP Reflection API, static code scanning, and code generation

1.9k185.4M172](/packages/laminas-laminas-code)[nette/php-generator

🐘 Nette PHP Generator: generates neat PHP code for you. Supports new PHP 8.5 features.

2.2k64.2M576](/packages/nette-php-generator)[jetbrains/phpstorm-stubs

PHP runtime &amp; extensions header files for PhpStorm

1.4k27.7M68](/packages/jetbrains-phpstorm-stubs)[riimu/kit-phpencoder

Highly customizable alternative to var\_export for PHP code generation

717.8M32](/packages/riimu-kit-phpencoder)

PHPackages © 2026

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