1. Go to this page and download the library: Download maps_red/orm library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
maps_red / orm example snippets
// config.php
// You need to give the following parameters :
//db_name, db_host, db_user, db_pass, namespace_entity, namespace_repository,
//dir_entity, dir_repository
amespaceRepository($namespace_repository)
->setDirEntity($dir_entity)->setDirRepository($dir_repository);
//From config array
\Maps_red\Kernel::setByArray($parameters);