Skip to content

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Notifications You must be signed in to change notification settings

long-blade/stackerstack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

StackerStack

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!

License

MIT

About

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages