james-pro/james-db

1.0.1 2022-11-16 14:32 UTC

This package is auto-updated.

Last update: 2025-06-16 20:35:58 UTC


README

Requirements

  • PHP version 8.0 or higher

Easy Installation

Install with composer

To install with Composer, simply require the latest version of this package.

composer require james-pro/james-db

Make sure that the autoload file from Composer is loaded.

How to use

use JamesPro\JamesDb;

try{
    $db = Db($dsn, $user, $passwd);
}catch(PDOException $exception){
    print_r($exception);
}

$db->select($table,$where,$params,$fields);
// $db = []