<?php
function appConfig()
{
    return [
        'host' => 'http://localhost/',
        'displayErrorDetails' => true,
        'logger' => [
            'name' => 'slim-app',
            'path' => __DIR__ . '/../logs/app.log',
        ],
        'upload' => [
            'path' => __DIR__ . '/uploads',
        ],
        'db' => [
            'host' => '',
            'port' => '',
            'dbname' => '',
            'user' => '',
            'password' => '',
        ],
        'api' => [
            'address' => 'address',
            'port' => 'port',
            'email' => 'username',
            'password' => 'password',
            'cookieFile' => 'cookie file location',
            'certificate' => ''
        ],
        'payments' => [
            'name' => 'Romania Libera',
            'email' => 'email',
            'terminal' => 'terminal id',
            'merchant' => 'merchant id',
            'url' => 'url',
            'backref' => 'callback endpoint',
            'desc' => 'Anunt Romania Libera',
            'currency' => 'RON'
        ],
        'admin' => [
            'email' => ''
        ],
        'smtp' => [
            "host" => "",
            "username" => "",
            "password" => "",
            "secure" => "",
            "port" => "",
        ]
    ];
}
