james-pro/james-db

PDO Wrapper

Installs: 9

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/james-pro/james-db

1.0.1 2022-11-16 14:32 UTC

This package is auto-updated.

Last update: 2025-12-16 22:21:41 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 = []