<?php

use Stitcher\File;

return [
    'environment' => env('ENVIRONMENT'),
    'siteUrl' => 'https://stitcher.io',
    'losan' => env('LOSAN', ''),

    'plugins' => [
        \Brendt\Stitcher\Plugin\AppServiceProvider::class,
    ],

    'publicDirectory' => env('PUBLIC_DIRECTORY', File::path('public')),
    'sourceDirectory' => File::path('src'),
    'templateDirectory' => File::path('resources/view'),

    'configurationFile' => File::path('src/site.yaml'),

    'cacheImages' => env('CACHE_IMAGES', true),
    'cacheStaticFiles' => env('CACHE_STATIC', true),

    'staticFiles' => [
        'resources/img/static/',
        'resources/img/static/php-in-7-minutes-thumb.jpg',
        'resources/img/static/dungeon.png',
        'resources/img/static/things-book.png',
        'resources/img/static/83-thumb.png',
        'resources/img/static/generics-thumb-1.png',
        'resources/img/static/generics-thumb-2.png',
        'resources/img/static/generics-thumb-3.png',
        'resources/img/static/generics-thumb-4.png',
        'resources/img/static/null-thumb.png',
        'resources/img/static/tabs-v-spaces-thumb.png',
        'resources/img/static/php-1-minute.png',
        'resources/img/static/aggregate-82-thumb.png',
        'resources/img/static/sparkline-thumb.png',
        'resources/img/static/new-in-php-82-thumb.png',
        'resources/img/static/aggregate-timelapse.png',
        'resources/img/static/datadog.png',
        'resources/img/static/stuck-thumb.png',
        'resources/img/static/jb-thumb.png',
        'resources/img/static/ytai-thumb.png',
        'resources/img/static/opinion-driven-thumb.png',
        'resources/img/static/light-schemer-thumb.png',
        'resources/img/static/deprecation-thumb.png',
        'resources/img/static/clean-phpstorm.png',
        'resources/img/static/game1-thumb.png',
        'resources/img/static/game-map.png',
        'resources/img/static/php-2023-thumb.png',
        'resources/img/static/light-colours-thumb.png',
        'resources/img/static/multi-inheritance.png',
        'resources/img/static/version-stats-july.png',
        'resources/img/static/clean-phpstorm/',
        'resources/img/favicon/',
        'resources/img/de-job-favicon/',
        'resources/img/meta.png',
        'resources/img/meta_small.png',
        'resources/img/rant-with-brent/logo.png',
        'resources/img/de-job/logo.png',
        'resources/fonts/Bangers',
        'resources/pwa',
        'resources/img/static/php-evolution-thumb.png',
    ],

    'errorPages' => [
        404 => 'errors/404.twig',
    ],

    'minify' => true,
];
