PHPackages                             zephyrisle/latex-pro - 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. zephyrisle/latex-pro

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

zephyrisle/latex-pro
====================

TeX math rendering for your Flarum forum.

v2.0.0(1mo ago)014↓100%MITJavaScript

Since Apr 25Pushed 1mo agoCompare

[ Source](https://github.com/Zephyr-Isle/flarum-latex-pro)[ Packagist](https://packagist.org/packages/zephyrisle/latex-pro)[ RSS](/packages/zephyrisle-latex-pro/feed)WikiDiscussions master Synced 1w ago

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

LaTeX Pro for Flarum
====================

[](#latex-pro-for-flarum)

[![MIT license](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](LICENSE)

TeX math rendering for your [Flarum](https://flarum.org/) forum, powered by [KaTeX](https://katex.org/).

Forked from [the-turk/flarum-mathren](https://github.com/the-turk/flarum-mathren) and adapted for Flarum v2.0.

Features
--------

[](#features)

- KaTeX-based rendering (fast and accurate)
- Inline expressions: `[imath]...[/imath]` or `$...$`
- Block expressions: `[math]...[/math]` or `$$...$$`
- AsciiMath syntax support (optional)
- Compatible with Markdown and BBCode
- Copy-to-clipboard for rendered expressions
- Quote button integration with `flarum/mentions`
- Text editor toolbar buttons
- Live preview support
- Fully configurable via admin panel (delimiters, CDN, KaTeX options)

Requirements
------------

[](#requirements)

- Flarum `^2.0.0`
- PHP `^8.3`

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

[](#installation)

```
composer require zephyrisle/latex-pro
```

Then enable it in your Flarum admin panel.

Updating
--------

[](#updating)

```
composer update zephyrisle/latex-pro
php flarum cache:clear
```

Usage
-----

[](#usage)

**Block expression** (`displayMode: true`):

```
[math]\int_{-\infty}^\infty\hat\xi\,e^{2\pi i\xi x}\,d\xi[/math]

```

**Inline expression** (`displayMode: false`):

```
Lorem ipsum [imath]\varDelta = b^2-4ac[/imath] sit amet.

```

Wrap with backticks or `code` tag to skip rendering.

Building from Source
--------------------

[](#building-from-source)

```
cd js
npm install
npm run build
```

License
-------

[](#license)

MIT — see [LICENSE](LICENSE).
Original work © 2019 [Hasan Özbey](https://github.com/the-turk)
Modifications © 2026 [zephyrisle](mailto:zephyr_isle@outlook.com)

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance90

Actively maintained with recent releases

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

45d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ac5dcab64b681ca4252624f74d6a75ffe53795b48eb30710fba9c367b4aeb0d8?d=identicon)[Zephyr-Isle](/maintainers/Zephyr-Isle)

---

Top Contributors

[![Zephyr-Isle](https://avatars.githubusercontent.com/u/133970629?v=4)](https://github.com/Zephyr-Isle "Zephyr-Isle (11 commits)")

---

Tags

mathematicsexpressionsflarumlatexkatextexlatex-pro

### Embed Badge

![Health badge](/badges/zephyrisle-latex-pro/health.svg)

```
[![Health](https://phpackages.com/badges/zephyrisle-latex-pro/health.svg)](https://phpackages.com/packages/zephyrisle-latex-pro)
```

###  Alternatives

[flarum-lang/russian

Russian language pack for Flarum.

12127.5k](/packages/flarum-lang-russian)[fof/byobu

Well integrated, advanced private discussions.

61112.4k10](/packages/fof-byobu)[fof/gamification

Upvotes and downvotes for your Flarum community

4162.0k6](/packages/fof-gamification)[fof/polls

 A Flarum extension that adds polls to your discussions

25130.2k9](/packages/fof-polls)[fof/user-bio

Add a user bio to user profiles

21102.0k9](/packages/fof-user-bio)[fof/sitemap

Generate a sitemap

1896.4k2](/packages/fof-sitemap)

PHPackages © 2026

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