<?php

return [
    'repository_class' => \App\MediaRepository::class,

    'media_use_model' => \Mtc\MercuryDataModels\MediaUse::class,
    'media_model' => \Mtc\MercuryDataModels\Media::class,

    'image_manager_config' => [
        'driver' => 'gd',
    ],

    'default_thumbnail_size' => [
        'width' => 300,
        'height' => 300,
    ],

    'resize_chunk_size' => env('MEDIA_RESIZE_CHUNK_SIZE', 100),

    'media_type_filters' => [
        'image' => 'Images',
        'audio' => 'Audios',
        'video' => 'Videos',
        'documents' => 'Documents',
        'archives' => 'Archives',
        'other' => 'Other files',
    ],

    // Media crop hash is used to verify ad-hoc crop requests to required sizes
    'crop_hash' => env('MEDIA_CROP_HASH'),
];
