PHPackages                             davwheat/session-keepalive - 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. [Security](/categories/security)
4. /
5. davwheat/session-keepalive

ActiveFlarum-extension[Security](/categories/security)

davwheat/session-keepalive
==========================

Automatically refreshes user CSRF tokens to prevent interaction errors after idling.

1.1.0(4y ago)01.7k[3 PRs](https://github.com/davwheat/flarum-session-keepalive/pulls)MITPHP

Since Apr 7Pushed 3y ago1 watchersCompare

[ Source](https://github.com/davwheat/flarum-session-keepalive)[ Packagist](https://packagist.org/packages/davwheat/session-keepalive)[ GitHub Sponsors](https://github.com/davwheat)[ RSS](/packages/davwheat-session-keepalive/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (2)Dependencies (1)Versions (6)Used By (0)

davwheat Session Keep-alive
===========================

[](#davwheat-session-keep-alive)

[![License](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667) [![Latest Stable Version](https://camo.githubusercontent.com/9e02fcc74fc60f8dfd0e5c264583d500d824457ca4ab5a9648eecc1b8c35ca81/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f64617677686561742f73657373696f6e2d6b656570616c6976652e737667)](https://packagist.org/packages/davwheat/session-keepalive) [![Total Downloads](https://camo.githubusercontent.com/57790de19084c018b902a7f37fc5d4a020632db184b792930ada67be18d19b9d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f64617677686561742f73657373696f6e2d6b656570616c6976652e737667)](https://packagist.org/packages/davwheat/session-keepalive)

A [Flarum](http://flarum.org) extension. Prevents session timeouts during idle by pinging home at set intervals.

Ping intervals are determined by the session lifetime in Illuminate. In Flarum, this defaults to 2 hours. Pings are done at 4 points within that lifetime to increase the chances of a successful keep-alive.

This means that, by default with this extension, the forum will ping home every 30 minutes to keep your session alive.

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

[](#installation)

Install with composer:

```
composer require davwheat/session-keepalive:"*"
```

Updating
--------

[](#updating)

```
composer update davwheat/session-keepalive:"*"
php flarum migrate
php flarum cache:clear
```

Links
-----

[](#links)

- [Packagist](https://packagist.org/packages/davwheat/session-keepalive)
- [GitHub](https://github.com/davwheat/flarum-session-keepalive)
- [Discuss](https://discuss.flarum.org/d/30542)

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 82.4% 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

2

Last Release

1537d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/53d4fe8764f574ca9dcac247816ca4d6a7d768880d35f02bb4af058ba210cc9a?d=identicon)[davwheat](/maintainers/davwheat)

---

Top Contributors

[![davwheat](https://avatars.githubusercontent.com/u/7406822?v=4)](https://github.com/davwheat "davwheat (14 commits)")[![flarum-bot](https://avatars.githubusercontent.com/u/39334649?v=4)](https://github.com/flarum-bot "flarum-bot (3 commits)")

---

Tags

flarum

### Embed Badge

![Health badge](/badges/davwheat-session-keepalive/health.svg)

```
[![Health](https://phpackages.com/badges/davwheat-session-keepalive/health.svg)](https://phpackages.com/packages/davwheat-session-keepalive)
```

###  Alternatives

[flarum-lang/russian

Russian language pack for Flarum.

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

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

1936.5k](/packages/flarum-lang-french)[fof/recaptcha

Increase your forum's security with Google reCAPTCHA

1436.9k](/packages/fof-recaptcha)

PHPackages © 2026

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