zguillez / z-database
PHP module for MySql database
v1.0.1
2020-11-12 12:08 UTC
README
PHP module for MySql databases
Getting Started
Add package to composer.json
composer require zguillez/z-database
//packaje.json
{
"require": {
"zguillez/z-database": "^1.0.0"
}
}
Usage:
require 'vendor/autoload.php';
$db = new Z\Database('***.***.***.***', 'user', '******', 'database');
$data = $db->sql2array('SELECT * FROM users');
$db->test($data);
Contributing and issues
Contributors are welcome, please fork and send pull requests! If you have any ideas on how to make this project better then please submit an issue or send me an email.
License
©2020 Zguillez.io
Original code licensed under MIT Open Source projects used within this project retain their original licenses.
Changelog
v1.0.0 (Mar 10, 2020)
- Initial implementation