Download the PHP package kigamba/valuestore without Composer
On this page you can find all versions of the php package kigamba/valuestore. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kigamba/valuestore
More information about kigamba/valuestore
Files in kigamba/valuestore
Package valuestore
Short Description Easily store some values. Now supports PHP 5
License MIT
Homepage https://github.com/spatie/valuestore
Informations about the package valuestore
Easily store some loose values
This package makes it easy to store and retrieve some values. Stores values are saved as a json in a file.
Support >= PHP 5.0 The parent library supports PHP >= 7.0 only
It can be used like this:
Read the usage section of this readme to learn the other methods.
Spatie is a webdesign agency based in Antwerp, Belgium. You'll find an overview of all our open source projects on our website.
Postcardware
You're free to use this package (it's MIT-licensed), but if it makes it to your production environment you are required to send us a postcard from your hometown, mentioning which of our package(s) you are using.
Our address is: Spatie, Samberstraat 69D, 2060 Antwerp, Belgium.
The best postcards will get published on the open source page on our website.
Installation
You can install the package via composer:
Usage
To create a Valuestore use the make
-method.
All values will be saved as json in the given file.
When there are no values stored, the file will be deleted.
You can call the following methods on the Valuestore
put
get
has
all
allStartingWith
forget
flush
flushStartingWith
pull
increment
decrement
push
prepend
Changelog
Please see CHANGELOG for more information what has changed recently.
Testing
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Freek Van der Herten
- Jolita Grazyte
- All Contributors
About Spatie
Spatie is a webdesign agency based in Antwerp, Belgium. You'll find an overview of all our open source projects on our website.
License
The MIT License (MIT). Please see License File for more information.