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

Abandoned → [flarum/pusher](/?search=flarum%2Fpusher)ArchivedFlarum-extension[Utility &amp; Helpers](/categories/utility)

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

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

1.2.5(1mo ago)013↓50%MITBlade

Since Jun 13Pushed 1mo agoCompare

[ 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 1w ago

READMEChangelog (10)Dependencies (2)Versions (23)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.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODQ4NTQ3ODAsIm5iZiI6MTc4NDg1NDQ4MCwicGF0aCI6Ii81MDA2MTUwLzYwNzUwOTMxOS02MTk5YjY1Ni1mOTY2LTQyNDQtOWNjYy1lYzljZWVhYmFkYWEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MDcyNCUy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nIn0.4dxGjrzD1ttnzcRKBrCkL7Hh6ZNufeKhUCORMRtHtow)[![Screenshot 2026-06-13 171733](https://private-user-images.githubusercontent.com/5006150/607509347-7a0d0140-c245-436d-8ada-907b21b39cd3.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODQ4NTQ3ODAsIm5iZiI6MTc4NDg1NDQ4MCwicGF0aCI6Ii81MDA2MTUwLzYwNzUwOTM0Ny03YTBkMDE0MC1jMjQ1LTQzNmQtOGFkYS05MDdiMjFiMzljZDMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MDcyNCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjA3MjRUMDA1NDQwWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9M2UwYmQzZWI4ODk0YjM4MzhhMWZjYTBkY2M2MzAxY2Q5MDRhZTI5ZDU1NmFlMmQ1N2EzNmEyY2QxYjVlNjZhMCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.MqTJ7wP3Haadrqkd6eKrYlexv9ckCHoUZzmik_IYg8A)](https://private-user-images.githubusercontent.com/5006150/607509347-7a0d0140-c245-436d-8ada-907b21b39cd3.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3ODQ4NTQ3ODAsIm5iZiI6MTc4NDg1NDQ4MCwicGF0aCI6Ii81MDA2MTUwLzYwNzUwOTM0Ny03YTBkMDE0MC1jMjQ1LTQzNmQtOGFkYS05MDdiMjFiMzljZDMucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI2MDcyNCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNjA3MjRUMDA1NDQwWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9M2UwYmQzZWI4ODk0YjM4MzhhMWZjYTBkY2M2MzAxY2Q5MDRhZTI5ZDU1NmFlMmQ1N2EzNmEyY2QxYjVlNjZhMCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmcmVzcG9uc2UtY29udGVudC10eXBlPWltYWdlJTJGcG5nIn0.MqTJ7wP3Haadrqkd6eKrYlexv9ckCHoUZzmik_IYg8A)📦 Installation
--------------

[](#-installation)

### Via Composer (Recommended)

[](#via-composer-recommended)

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

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance91

Actively maintained with recent releases

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity43

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

Total

22

Last Release

44d ago

### Community

Maintainers

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

---

Top Contributors

[![PeopleInside](https://avatars.githubusercontent.com/u/5006150?v=4)](https://github.com/PeopleInside "PeopleInside (55 commits)")

### 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.

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

Well integrated, advanced private discussions.

59120.6k14](/packages/fof-byobu)[fof/discussion-language

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

1034.8k7](/packages/fof-discussion-language)[flarum-lang/french

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

1938.7k](/packages/flarum-lang-french)[fof/masquerade

User profile builder extension for your Flarum forum.

2025.4k6](/packages/fof-masquerade)[michaelbelgium/mybb-to-flarum

Migrate a MyBB Forum to a fresh Flarum instance

261.1k](/packages/michaelbelgium-mybb-to-flarum)

PHPackages © 2026

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