Skip to content

xolf/io-db

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

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);

About

Standalone database system, based on i/o

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages