https://github.com/phore/phore-flash
Flash storage based on ip/user/session with drivers for redis and filesystem
https://github.com/phore/phore-flash
Last synced: 5 months ago
JSON representation
Flash storage based on ip/user/session with drivers for redis and filesystem
- Host: GitHub
- URL: https://github.com/phore/phore-flash
- Owner: phore
- Created: 2019-05-07T08:36:53.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-29T08:53:05.000Z (about 7 years ago)
- Last Synced: 2024-04-18T11:02:31.965Z (about 2 years ago)
- Language: Shell
- Homepage: https://infracamp.org/project/phore/
- Size: 40 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Phore flash
## Install
```
composer requre phore/flash
```
## Basic usage
```php
$flash = new Flash("redis://redisHost");
$key = $flash->withQuickHash("some value")->withTTL(30);
$key->get()
$key->set("some value");
$key->del();
```