<?php

declare(strict_types=1);

return [
    'app' => [
        'name' => $_ENV['APP_NAME'] ?? 'ItalvetCRM',
        'url'  => $_ENV['APP_URL'] ?? 'http://localhost:8000',
        'env'  => $_ENV['APP_ENV'] ?? 'development',
        'debug' => filter_var($_ENV['APP_DEBUG'] ?? true, FILTER_VALIDATE_BOOLEAN),
    ],
    'jwt' => [
        'secret' => $_ENV['JWT_SECRET'] ?? '',
        'expiration' => (int) ($_ENV['JWT_EXPIRATION'] ?? 28800),
    ],
];
