PHPackages                             long-blade/stackerstack - 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. [File &amp; Storage](/categories/file-storage)
4. /
5. long-blade/stackerstack

ActiveLibrary[File &amp; Storage](/categories/file-storage)

long-blade/stackerstack
=======================

A simple LIFO|FIFO file stacker

0491PHP

Since Oct 14Pushed 4y ago1 watchersCompare

[ Source](https://github.com/long-blade/stackerstack)[ Packagist](https://packagist.org/packages/long-blade/stackerstack)[ RSS](/packages/long-blade-stackerstack/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

StackerStack
============

[](#stackerstack)

This library provides a simple file stacking solution using [LIFO / FIFO](https://www.freshbooks.com/hub/accounting/fifo-vs-lifo) stacking database model.

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

[](#installation)

The suggested installation method is via [composer](https://getcomposer.org/):

```
composer require long-blade/stackerstack
```

Usage
-----

[](#usage)

The stakerstack is able to create a simple stacking method using a file, generated in the root directory of your project.

```
$lifoStack = new LifoStack(); // OR new FifoStack();

$lifoStack->push($data]) // push any data to the stack
$lifoPoppedItem = $lifoStack->pop() // pop an item from the stack
```

Contributing
------------

[](#contributing)

Please read the [CONTRIBUTING.md](CONTRIBUTING.md) contents if you wish to help out!

License
-------

[](#license)

[MIT](https://choosealicense.com/licenses/mit/)

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity28

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/80c1a4767d4af2c5df2e8fa525b90d5d124906ddeab841b75c46a6b9c605f393?d=identicon)[long-blade](/maintainers/long-blade)

---

Top Contributors

[![long-blade](https://avatars.githubusercontent.com/u/11339340?v=4)](https://github.com/long-blade "long-blade (16 commits)")

### Embed Badge

![Health badge](/badges/long-blade-stackerstack/health.svg)

```
[![Health](https://phpackages.com/badges/long-blade-stackerstack/health.svg)](https://phpackages.com/packages/long-blade-stackerstack)
```

###  Alternatives

[knplabs/gaufrette

PHP library that provides a filesystem abstraction layer

2.5k39.8M123](/packages/knplabs-gaufrette)[google/cloud-storage

Cloud Storage Client for PHP

34390.8M125](/packages/google-cloud-storage)[illuminate/filesystem

The Illuminate Filesystem package.

15261.6M2.6k](/packages/illuminate-filesystem)[superbalist/flysystem-google-storage

Flysystem adapter for Google Cloud Storage

26320.6M30](/packages/superbalist-flysystem-google-storage)[creocoder/yii2-flysystem

The flysystem extension for the Yii framework

2931.7M62](/packages/creocoder-yii2-flysystem)[flowjs/flow-php-server

PHP library for handling chunk uploads. Works with flow.js html5 file uploads.

2451.6M15](/packages/flowjs-flow-php-server)

PHPackages © 2026

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