iti / db
databsae lib
Installs: 18
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/iti/db
This package is not auto-updated.
Last update: 2025-10-13 14:33:22 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());