PHPackages                             flagrow/flarum-ext-latex - 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. flagrow/flarum-ext-latex

Abandoned → [reflar/latex](/?search=reflar%2Flatex)ArchivedFlarum-extension[Utility &amp; Helpers](/categories/utility)

flagrow/flarum-ext-latex
========================

Renders LaTeX expressions.

0.1.1(10y ago)4855[1 issues](https://github.com/flagrow/flarum-ext-latex/issues)MITPHP

Since Jan 14Pushed 10y ago1 watchersCompare

[ Source](https://github.com/flagrow/flarum-ext-latex)[ Packagist](https://packagist.org/packages/flagrow/flarum-ext-latex)[ RSS](/packages/flagrow-flarum-ext-latex/feed)WikiDiscussions master Synced 1mo ago

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

flagrow/flarum-ext-latex
========================

[](#flagrowflarum-ext-latex)

[![Latest Stable Version](https://camo.githubusercontent.com/a74af81d8efc1cea8b92dc7e34d83c95ed721b7a98981baf2e9dc09429e47b54/68747470733a2f2f706f7365722e707567782e6f72672f666c6167726f772f666c6172756d2d6578742d6c617465782f762f737461626c65)](https://packagist.org/packages/flagrow/flarum-ext-latex) [![License](https://camo.githubusercontent.com/0a90ff406dc5a542cd9d02bdfa4e33a30298665a4e74fa35058ab6ce6150f586/68747470733a2f2f706f7365722e707567782e6f72672f666c6167726f772f666c6172756d2d6578742d6c617465782f6c6963656e7365)](https://packagist.org/packages/flagrow/flarum-ext-latex) [![Gitter](https://camo.githubusercontent.com/eb3efdccf65eb25544a769ac934e7ab97d06ddd6e01496e7d48c2095e9f72438/68747470733a2f2f6261646765732e6769747465722e696d2f666c6167726f772f666c6172756d2d6578742d6c617465782e737667)](https://gitter.im/flagrow/flarum-ext-latex)

A [Flarum](http://flarum.org) extension to render LaTeX expressions in your posts.

Features
--------

[](#features)

With flagrow-ext-latex you can render LaTeX mathematical expressions inside your forum just by typing them, in **the same way** you would do your TeX document.

It supports:

- Inline expressions like `$\sin\theta$`, as well as
- Display expressions, such as `$$\frac{\cos(kx)}{\cos(x)}$$`.

It also doesn't mess up with **Markdown** and **BBCode** extensions, so you can use all of them at the same time.

This is how the previous paragraph would look like:

[![Imgur](https://camo.githubusercontent.com/cb13847302ee7c0484289accdf651e57fec8df515f9bb2aeb18a14d595f12ae2/687474703a2f2f692e696d6775722e636f6d2f426845494444302e706e67 "This is how the previous paragraph would look like")](https://camo.githubusercontent.com/cb13847302ee7c0484289accdf651e57fec8df515f9bb2aeb18a14d595f12ae2/687474703a2f2f692e696d6775722e636f6d2f426845494444302e706e67)

---

Install
-------

[](#install)

```
composer require flagrow/flarum-ext-latex
```

Configuration
-------------

[](#configuration)

No configuration, it works out of the box.

End-user usage
--------------

[](#end-user-usage)

Write LaTeX expressions in your post like you would in your TeX editor.

### Tip

[](#tip)

If you want to actually **show** the LaTeX code, you must use Markdown in the following way:

```
This is an expression I don't want to render
```
$$\cos(\pi) + 1 = 0$$
```
While this is going to be rendered: $yes$

```

Links
-----

[](#links)

- by [Flagrow](https://github.com/flagrow)
- [changelog](changelog.md)
- [license](license.md)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80% 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 ~78 days

Total

2

Last Release

3690d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/504687?v=4)[Daniël Klabbers](/maintainers/Luceos)[@luceos](https://github.com/luceos)

![](https://www.gravatar.com/avatar/822fb1e98242bb2685438fc35673d942c4be2b78f8a176ac466fe8615fd33d69?d=identicon)[matpompili](/maintainers/matpompili)

---

Top Contributors

[![matpompili](https://avatars.githubusercontent.com/u/6500688?v=4)](https://github.com/matpompili "matpompili (8 commits)")[![santiagobiali](https://avatars.githubusercontent.com/u/13974716?v=4)](https://github.com/santiagobiali "santiagobiali (2 commits)")

---

Tags

mathexpressionsflarumlatexflagrowtex

### Embed Badge

![Health badge](/badges/flagrow-flarum-ext-latex/health.svg)

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

###  Alternatives

[mathjax/mathjax

MathJax is an open-source JavaScript display engine for LaTeX, MathML, and AsciiMath notation that works in all modern browsers.

10.8k90.8k1](/packages/mathjax-mathjax)[fof/byobu

Well integrated, advanced private discussions.

61105.8k9](/packages/fof-byobu)[fof/sitemap

Generate a sitemap

1988.7k2](/packages/fof-sitemap)[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/mason

Add custom fields to discussions

206.0k](/packages/fof-mason)

PHPackages © 2026

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