PHPackages                             peopleinside/fla-polling - 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. peopleinside/fla-polling

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

peopleinside/fla-polling
========================

Lightweight real-time polling for Flarum 2.0 - No WebSocket, No SSH required

1.2.4(today)010↑2600%MITBlade

Since Jun 13Pushed todayCompare

[ Source](https://github.com/PeopleInside/fla-polling)[ Packagist](https://packagist.org/packages/peopleinside/fla-polling)[ Docs](https://github.com/PeopleInside/fla-polling)[ RSS](/packages/peopleinside-fla-polling/feed)WikiDiscussions main Synced today

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

FLA Polling for Flarum 2.0
==========================

[](#fla-polling-for-flarum-20)

[![Flarum 2.0](https://camo.githubusercontent.com/efb5eba7f9df415c7628d164e4a61150fbee8a33a04d596a169b11d0f636dc60/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f466c6172756d2d322e302d626c75652e737667)](https://camo.githubusercontent.com/efb5eba7f9df415c7628d164e4a61150fbee8a33a04d596a169b11d0f636dc60/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f466c6172756d2d322e302d626c75652e737667)[![License](https://camo.githubusercontent.com/8bb50fd2278f18fc326bf71f6e88ca8f884f72f179d3e555e20ed30157190d0d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d677265656e2e737667)](https://camo.githubusercontent.com/8bb50fd2278f18fc326bf71f6e88ca8f884f72f179d3e555e20ed30157190d0d/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d677265656e2e737667)

A lightweight real-time polling extension for Flarum 2.0 that provides instant updates for new discussions and notifications **without requiring WebSockets, SSH access, or Node.js**.

🚀 Features
----------

[](#-features)

- ✅ **No WebSocket required** - Works with standard HTTP requests
- ✅ **No SSH or Node.js** - Perfect for shared hosting
- ✅ **Self-hosted** - Complete control, no external dependencies
- ✅ **Lightweight** - Minimal server resources consumption
- ✅ **Real-time updates** - Check for new discussions and notifications every 10 seconds
- ✅ **Visual notifications** - Banner for new discussions and badge for notification count
- ✅ **Zero configuration** - Install and it just works
- 🌍 **Multilingual support** - English and Italian included (easy to add more languages)

📋 How It Works
--------------

[](#-how-it-works)

Instead of maintaining a persistent WebSocket connection, FLA Polling uses **HTTP polling**:

1. Every 10 seconds, the browser sends a lightweight AJAX request to the server
2. The server checks the database for the latest discussion ID and unread notification count
3. If there are changes, the UI updates automatically:
    - A banner appears when new discussions are posted
    - The notification badge updates with the new count

This approach is **extremely efficient** and works on any standard LAMP/LEMP stack.

### Performance Impact

[](#performance-impact)

For a forum with 100 concurrent users and 10-second polling interval:

- **10 HTTP requests per second** to your server
- Each request executes 2 simple database queries (less than 1ms each)
- Total overhead: **negligible** (equivalent to a few page loads per minute)

### Screenshots

[](#screenshots)

[![Screenshot 2026-06-13 171644](https://private-user-images.githubusercontent.com/5006150/607509319-6199b656-f966-4244-9ccc-ec9ceeabadaa.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODE0MDM1MTMsIm5iZiI6MTc4MTQwMzIxMywicGF0aCI6Ii81MDA2MTUwLzYwNzUwOTMxOS02MTk5YjY1Ni1mOTY2LTQyNDQtOWNjYy1lYzljZWVhYmFkYWEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MDYxNCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQ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Screenshot 2026-06-13 171733](https://private-user-images.githubusercontent.com/5006150/607509347-7a0d0140-c245-436d-8ada-907b21b39cd3.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODE0MDM1MTMsIm5iZiI6MTc4MTQwMzIxMywicGF0aCI6Ii81MDA2MTUwLzYwNzUwOTM0Ny03YTBkMDE0MC1jMjQ1LTQzNmQtOGFkYS05MDdiMjFiMzljZDMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MDYxNCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjA2MTRUMDIxMzMzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9M2FkZTg0N2Y4ZjJkODJhYjc5ZjUxNmMwOWQwNDQ0ZmEzMDViNDQwYzY2ZTRlNjBkODRkYWVmMDkxNWNjZmNiOCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.zYnUBsB96greS6QhRgCMVv_SYhRKS0aXL2Jb5u0oeCg)](https://private-user-images.githubusercontent.com/5006150/607509347-7a0d0140-c245-436d-8ada-907b21b39cd3.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODE0MDM1MTMsIm5iZiI6MTc4MTQwMzIxMywicGF0aCI6Ii81MDA2MTUwLzYwNzUwOTM0Ny03YTBkMDE0MC1jMjQ1LTQzNmQtOGFkYS05MDdiMjFiMzljZDMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MDYxNCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjA2MTRUMDIxMzMzWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9M2FkZTg0N2Y4ZjJkODJhYjc5ZjUxNmMwOWQwNDQ0ZmEzMDViNDQwYzY2ZTRlNjBkODRkYWVmMDkxNWNjZmNiOCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.zYnUBsB96greS6QhRgCMVv_SYhRKS0aXL2Jb5u0oeCg)📦 Installation
--------------

[](#-installation)

### Via Composer (Recommended)

[](#via-composer-recommended)

```
composer require peopleinside/fla-polling
```

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance100

Actively maintained with recent releases

Popularity7

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

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 ~0 days

Total

20

Last Release

0d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c1a29d20f5350e197074d6570b19839d242c2fb2e2b78b2ad7024019dde7ffeb?d=identicon)[peopleinside](/maintainers/peopleinside)

### Embed Badge

![Health badge](/badges/peopleinside-fla-polling/health.svg)

```
[![Health](https://phpackages.com/badges/peopleinside-fla-polling/health.svg)](https://phpackages.com/packages/peopleinside-fla-polling)
```

###  Alternatives

[flarum-lang/russian

Russian language pack for Flarum.

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

Well integrated, advanced private discussions.

60112.4k10](/packages/fof-byobu)[flarum/tags

Organize discussions into a hierarchy of tags and categories.

38744.9k135](/packages/flarum-tags)[fof/gamification

Upvotes and downvotes for your Flarum community

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

 A Flarum extension that adds polls to your discussions

25130.2k9](/packages/fof-polls)[michaelbelgium/flarum-discussion-views

Add views to flarum discussions

3155.4k6](/packages/michaelbelgium-flarum-discussion-views)

PHPackages © 2026

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