PHPackages                             neiderruiz/flarum-simple-share-session - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. neiderruiz/flarum-simple-share-session

ActiveFlarum-extension[Authentication &amp; Authorization](/categories/authentication)

neiderruiz/flarum-simple-share-session
======================================

Simple Share Session for Flarum

0.0.4(1y ago)033PHP

Since Feb 22Pushed 1y ago1 watchersCompare

[ Source](https://github.com/neiderruiz/flarum-simple-share-session)[ Packagist](https://packagist.org/packages/neiderruiz/flarum-simple-share-session)[ RSS](/packages/neiderruiz-flarum-simple-share-session/feed)WikiDiscussions main Synced 1mo ago

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

install package
===============

[](#install-package)

```
composer install neiderruiz/flarum-simple-share-session
```

enable extension on Flarum
--------------------------

[](#enable-extension-on-flarum)

the extension will check the session id from the cookie and send a request to the API to verify the session.

```
$cookies = $request->getCookieParams();
$sessionId = $cookies['sessionid'] ?? null;
```

add endpoint to check session on Falrum extension settings

```
https://domain.com/api/verify-session
```

Your endpoint will receive the parameter through the url for example:

`https://domain.com/api/verify-session?sessionid=123456789`

expected response
=================

[](#expected-response)

```
{
    "user": {
        "id": 1,
        "username": "admin",
        "email": "admin@domain.com",
        "name": "Admin",
    }
}
```

developent config
=================

[](#developent-config)

```
npm run build
```

refresh changes
===============

[](#refresh-changes)

```
composer update neiderruiz/flarum-simple-share-session *@dev
```

```
php flarum cache:clear
php flarum assets:publish
```

Support
-------

[](#support)

If you have any questions, need help, or want to contribute, feel free to reach out:

- **Website**: [neiderruiz.com](https://neiderruiz.com)
- **GitHub**: [@neiderruiz](https://github.com/neiderruiz)
- **Twitter**: [@neiderruiz](https://x.com/neiderruiz_)
- **YouTube**: [Neider Ruiz](https://youtube.com/@neiderruiz)

Support the Project
-------------------

[](#support-the-project)

If you find this project useful, consider buying me a coffee to help me keep improving it. Your support means a lot! ☕

[![Buy me a coffee](https://camo.githubusercontent.com/a78830446b2d4c230fd8056414f18cdbd7722371256cf06ab8c53b9c3743729c/68747470733a2f2f696d672e6275796d6561636f666665652e636f6d2f627574746f6e2d6170692f3f746578743d4275792532306d6525323061253230636f6666656526656d6f6a693d25453225393825393526736c75673d6e65696465727275697a26627574746f6e5f636f6c6f75723d46464444303026666f6e745f636f6c6f75723d30303030303026666f6e745f66616d696c793d436f6f6b6965266f75746c696e655f636f6c6f75723d30303030303026636f666665655f636f6c6f75723d666666666666)](https://www.buymeacoffee.com/neiderruiz)

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance49

Moderate activity, may be stable

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity31

Early-stage or recently created project

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

Total

4

Last Release

373d ago

### Community

Maintainers

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

---

Top Contributors

[![neiderruiz](https://avatars.githubusercontent.com/u/57574910?v=4)](https://github.com/neiderruiz "neiderruiz (17 commits)")

### Embed Badge

![Health badge](/badges/neiderruiz-flarum-simple-share-session/health.svg)

```
[![Health](https://phpackages.com/badges/neiderruiz-flarum-simple-share-session/health.svg)](https://phpackages.com/packages/neiderruiz-flarum-simple-share-session)
```

###  Alternatives

[flarum/suspend

Suspend users so they can't post.

10404.5k16](/packages/flarum-suspend)[fof/oauth

Allow users to log in with GitHub, Facebook, Google, Discord, GitLab, LinkedIn, and more!

50118.7k41](/packages/fof-oauth)[flarum/approval

Make discussions and posts require moderator approval.

12431.2k31](/packages/flarum-approval)[flarum/flags

Allow users to flag posts for moderator review.

11468.8k22](/packages/flarum-flags)[fof/doorman

Create invite codes for users to sign up and be assigned to a group

2537.2k2](/packages/fof-doorman)[maicol07/flarum-ext-sso

SSO for Flarum

468.3k](/packages/maicol07-flarum-ext-sso)

PHPackages © 2026

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