<?php

return [
    'pagination' => [
        'per_page' => env('CMSPRO_PER_PAGE', 15),
    ],

    'upload' => [
        'image_max_size' => 5 * 1024,
        'file_max_size' => 20 * 1024,
        'video_max_size' => 100 * 1024,
        'allowed_extensions' => [
            'image' => ['jpg', 'jpeg', 'png', 'gif', 'bmp', 'webp'],
            'file' => ['pdf', 'doc', 'docx', 'xls', 'xlsx', 'ppt', 'pptx', 'zip', 'rar'],
            'video' => ['mp4', 'mp3'],
        ],
    ],

    'sanctum' => [
        'token_expiration' => env('SANCTUM_TOKEN_EXPIRATION', 60 * 24 * 7),
    ],

    'cache' => [
        'permission_ttl' => 3600,
        'config_ttl' => 3600,
        'menu_ttl' => 3600,
    ],
];
