A Gralhao Database Module
This module is an implementation of Phalcon PDO Adapter.
PHP ^7.4, Phalcon ^4.x, Gralhao ^1.x
Installing
composer require gralhao/gralhao-db
In application.config.php
just add:
<?php
return [
'modules' => [
'Gralhao\Db',
],
'database' => [
'adapter' => 'Mysql',
'host' => 'localhost',
'username' => 'user',
'password' => 'p@ss',
'dbname' => 'user_database',
'charset' => 'utf8',
],
];
- @mocallu - Idea & Initial work
See also the list of contributors who participated in this project.