PHPackages                             clarkwinkelmann/flarum-ext-collapsible-posts - 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. clarkwinkelmann/flarum-ext-collapsible-posts

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

clarkwinkelmann/flarum-ext-collapsible-posts
============================================

Collapse unimportant posts

1.0.2(2y ago)4823[1 issues](https://github.com/clarkwinkelmann/flarum-ext-collapsible-posts/issues)MITTypeScript

Since Nov 17Pushed 2y ago1 watchersCompare

[ Source](https://github.com/clarkwinkelmann/flarum-ext-collapsible-posts)[ Packagist](https://packagist.org/packages/clarkwinkelmann/flarum-ext-collapsible-posts)[ RSS](/packages/clarkwinkelmann-flarum-ext-collapsible-posts/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (3)Dependencies (1)Versions (4)Used By (0)

Collapsible Posts
=================

[](#collapsible-posts)

[![MIT license](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://github.com/clarkwinkelmann/flarum-ext-collapsible-posts/blob/master/LICENSE.md) [![Latest Stable Version](https://camo.githubusercontent.com/fe5493f73c1cf7b61e7c1ec95bf95b63838bb22ea5f15bb9fc6d064f309e9923/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636c61726b77696e6b656c6d616e6e2f666c6172756d2d6578742d636f6c6c61707369626c652d706f7374732e737667)](https://packagist.org/packages/clarkwinkelmann/flarum-ext-collapsible-posts) [![Total Downloads](https://camo.githubusercontent.com/92dad89a5631bdc0514f65437cf07d9e8ed53d9b817d94fd2a480b4a477f7388/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636c61726b77696e6b656c6d616e6e2f666c6172756d2d6578742d636f6c6c61707369626c652d706f7374732e737667)](https://packagist.org/packages/clarkwinkelmann/flarum-ext-collapsible-posts) [![Donate](https://camo.githubusercontent.com/0d6e4d8b50b5983a58205941b1a581b1305903393b7a39da574e3f60af3c7f5b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f70617970616c2d646f6e6174652d79656c6c6f772e737667)](https://www.paypal.me/clarkwinkelmann)

This extension allows collapsing some posts, so they don't clutter the discussion, while still keeping them accessible.

Multiple collapse reasons can be created in the admin page. By default an "off-topic" reason message is offered.

When multiple posts that follow each other are collapsed for the same reason, a collapse series is created. A series can be expanded back by group of 20 posts.

The collapse state is purely visual and doesn't prevent the user from editing or deleting their post for example.

The extension uses a solution that's a bit hacky, so there might be incompatibilities with other extensions and it might break during minor Flarum updates.

Known/expected issues:

- You cannot permalink collapsed posts.
- Search engines probably won't be able to index collapsed posts.
- Users of the REST API and noscript pages will only see the first post of a collapsed series.
- If some posts in a discussion aren't visible to everyone (deleted, under approval, shadow hidden, etc.) a collapse series might be broken in 2 for reasons the visitor cannot see. This shouldn't break the navigation but not all combinations have been tested.
- Using database table prefixes might break the extension.

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

[](#installation)

```
composer require clarkwinkelmann/flarum-ext-collapsible-posts

```

Support
-------

[](#support)

This extension is under **minimal maintenance**.

It was developed for a client and released as open-source for the benefit of the community. I might publish simple bugfixes or compatibility updates for free.

You can [contact me](https://clarkwinkelmann.com/flarum) to sponsor additional features or updates.

Support is offered on a "best effort" basis through the Flarum community thread.

Links
-----

[](#links)

- [GitHub](https://github.com/clarkwinkelmann/flarum-ext-collapsible-posts)
- [Packagist](https://packagist.org/packages/clarkwinkelmann/flarum-ext-collapsible-posts)
- [Discuss](https://discuss.flarum.org/d/29483)

###  Health Score

27

—

LowBetter than 46% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 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

Every ~497 days

Total

3

Last Release

741d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0538135c1debcef5602dce7ece027909cc832b7a6284ab9189a19aa8de98d60d?d=identicon)[clarkwinkelmann](/maintainers/clarkwinkelmann)

---

Top Contributors

[![clarkwinkelmann](https://avatars.githubusercontent.com/u/5264300?v=4)](https://github.com/clarkwinkelmann "clarkwinkelmann (8 commits)")

---

Tags

collapsepostsflarum

### Embed Badge

![Health badge](/badges/clarkwinkelmann-flarum-ext-collapsible-posts/health.svg)

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

###  Alternatives

[flarum-lang/russian

Russian language pack for Flarum.

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

Well integrated, advanced private discussions.

59126.7k16](/packages/fof-byobu)[flarum-lang/french

French language pack to localize the Flarum forum software plus its official and third-party extensions.

1941.0k](/packages/flarum-lang-french)[fof/polls

 A Flarum extension that adds polls to your discussions

26137.4k9](/packages/fof-polls)[fof/discussion-language

Specify the language a discussion is written in &amp; sort by language

1035.6k7](/packages/fof-discussion-language)[fof/masquerade

User profile builder extension for your Flarum forum.

2026.0k7](/packages/fof-masquerade)

PHPackages © 2026

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