PHPackages                             haifanghui/session-buffer - 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. haifanghui/session-buffer

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

haifanghui/session-buffer
=========================

09PHP

Since Sep 29Pushed 11y ago1 watchersCompare

[ Source](https://github.com/HaiFangHui/SessionBuffer)[ Packagist](https://packagist.org/packages/haifanghui/session-buffer)[ RSS](/packages/haifanghui-session-buffer/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

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

[](#installation)

Add `HaiFangHui/sessionbuffer` to `composer.json`.

"HaiFangHui/sessionbuffer": "dev-master"

Run `composer update` to pull down the latest version of SessionBuffer.

Now open `app/config/app.php`, and add the service provider to your `providers` array

```
'providers' => array(
    'HaiFangHui\SessionBuffer\SessionBufferServiceProvider',
)
```

Now add the alias

```
'aliases' => array(
    'SessionBuffer' => HaiFangHui\SessionBuffer\SessionBufferFacade'
)
```

Configuration
-------------

[](#configuration)

To tune SessionBuffer, you could config your buffers like this

```
php artisan config:publish haifanghui/sessionbuffer

```

Then you could modify `app/config/packages/haifanghui/sessionbuffer/config.php`. Modify as needed.

Usage
-----

[](#usage)

```
   SessionBuffer::push('view_history_properties', $property->id);

```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/2c7f8e88e334541cb21654a5a9697380a98e9291ee9b01c466a951203f0a8207?d=identicon)[haifanghui](/maintainers/haifanghui)

---

Top Contributors

[![qsun](https://avatars.githubusercontent.com/u/136623?v=4)](https://github.com/qsun "qsun (6 commits)")

### Embed Badge

![Health badge](/badges/haifanghui-session-buffer/health.svg)

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

###  Alternatives

[masmerise/livewire-toaster

Beautiful toast notifications for Laravel / Livewire.

505550.3k6](/packages/masmerise-livewire-toaster)[darkghosthunter/preloader

Preloader helper to create a PHP-ready preload script from Opcache.

432664.1k1](/packages/darkghosthunter-preloader)

PHPackages © 2026

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