long-blade / stackerstack
A simple LIFO|FIFO file stacker
dev-master
2021-10-14 08:23 UTC
This package is auto-updated.
Last update: 2025-04-14 16:06:30 UTC
README
This library provides a simple file stacking solution using LIFO / FIFO stacking database model.
Installation
The suggested installation method is via composer:
composer require long-blade/stackerstack
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
Please read the CONTRIBUTING.md contents if you wish to help out!