You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Skyweb 80a760212c Initial commit 8 months ago
src Initial commit 8 months ago
.gitignore Initial commit 8 months ago
LICENSE Initial commit 8 months ago
README.md Initial commit 8 months ago

README.md

SkyCRUD

Lightweight dynamic PHP CRUD

Example usage:

$db = new db();
$user = new user();
$user->email = "test@skyweb.nu";
$user->password = $passwordHash;
//add
$db->users->add($user);
//get
$userGet = $db->users->get($user->id);
$userGet->email = "test2@skyweb.nu";
//update
$db->users->update($userGet);
//delete
$db->users->delete($userGet);