PHP code example of ama-team / yamligniter
1. Go to this page and download the library: Download ama-team/yamligniter 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/ */
ama-team / yamligniter example snippets
// application/config/config.php
extract(AmaTeam\YamlIgniter::config(__DIR__ . '/config.yml'));
// application/config/database.php
extract(AmaTeam\YamlIgniter::database(__DIR__ . '/database.yml');
// application/config/database.php
extract(AmaTeam\YamlIgniter::database(__DIR__ . '/' . ENVIRONMENT . '/database.yml');