dev_henry/library

There is no license information available for the latest version (dev-main) of this package.

A Powerful PHP Library that helps to Automate Tasks

dev-main 2023-10-07 13:25 UTC

This package is auto-updated.

Last update: 2024-10-07 15:44:44 UTC


README

Light Weight Library Used to Automate SQL Query has SQLite Support too

Usage

Creating A Table

<?php

use DevHenry\Model;

$model = new Model("users", [
    Model::INT("id", true),
    Model::TEXT("email"),
    Model::TEXT("firstname"),
    Model::TEXT("lastname"),
    Model::TEXT("password"),
    Model::TEXT("balance"),
]);

/**
 * This Will Create The Table and Save the Query in '/generated' folder in the same folder where this file is located
 */
Loader::load($model);