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
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 = []