iti/db

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

databsae lib

v1 2024-09-01 11:03 UTC

This package is not auto-updated.

Last update: 2025-03-03 11:49:17 UTC


README

iti DB is a small php wrapper for mysql databases.

installation

install once with composer:

composer require iti/db

then add this to your project:

require __DIR__ . '/vendor/autoload.php';
use Iti\Db\db;
$db = new db();

usage

/* connect to database */
include 'vendor/autoload.php';

use Iti\Db\db;

$DB = new db('localhost','root','','iti');
print_r($DB->table('category')->select()->all());