gemvc/library

core library of gemvc

v2.8.6 2024-04-24 19:12 UTC

README

gemvc is super light library that is suitable to create microservice API

Require .env with following data

DB_HOST=localhost DB_PORT=3306 DB_NAME=database_name DB_CHARSET = charsset DB_USER=root DB_PASSWORD=secret

please rememmber to load .env as follows :

after loading autoloader require DIR . '/vendor/autoload.php';

use following code

$dotenv = Dotenv\Dotenv::createImmutable(DIR); $dotenv->load();