xolf / io-db
File Database
Installs: 167
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/xolf/io-db
This package is not auto-updated.
Last update: 2025-10-12 01:32:44 UTC
README
io-db
Easy setup within 30 seconds: composer require xolf/io-db
A static json database system
Fetch documents from the database
$user = $io->table('user')->document('admin'); echo $user->name;
Write to documents
$user = $io->table('user')->document('admin')->write(['password' => 123456]); echo $user->name . ' Password: ' . $user->password;
Find Documents
$users = $io->table('user')->documents()->where(['rights' => 'admin']); var_dump($users);