james-pro / james-db
PDO Wrapper
1.0.1
2022-11-16 14:32 UTC
Requires
- php: ^8.0
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 = []