liamka / file-db
Single file database
1.0.6
2023-05-16 19:08 UTC
Requires
- php: 8.1
This package is not auto-updated.
Last update: 2024-04-16 23:26:31 UTC
README
$db = new FileDB('/tmp/test');
for ($i = 1; $i <= 10; $i++) {
$db->set('the_prodigy'.rand(10, 111150), 'Best');
}
$a = $db->get('the_prodigy74039');
var_dump($a);
$b = $db->has('the_prodigy74039');
var_dump($b);
//$db->flush();