gralhao / gralhao-db
Gralhao Database Module
1.0.1
2020-08-18 05:48 UTC
Requires
- gralhao/gralhao: ^1.0
Requires (Dev)
- gralhao/gralhao-test: ^1.0
- phalcon/ide-stubs: dev-master
- squizlabs/php_codesniffer: ^3.0@dev
This package is auto-updated.
Last update: 2025-02-18 15:33:44 UTC
README
gralhao/gralhao-db
A Gralhao Database Module
Index
About
This module is an implementation of Phalcon PDO Adapter.
Getting Started
Prerequisites
PHP ^7.4, Phalcon ^4.x, Gralhao ^1.x
Usage
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', ], ];
Built Using
Authors
- @mocallu - Idea & Initial work
See also the list of contributors who participated in this project.