| Server IP : 35.80.110.71 / Your IP : 216.73.216.221 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ip-172-31-21-44 6.17.0-1019-aws #19~24.04.1-Ubuntu SMP Tue Jun 23 18:53:06 UTC 2026 x86_64 User : ubuntu ( 1000) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/client-portal-laravel/releases/20260626120707/config/ |
Upload File : |
<?php
return [
/*
|--------------------------------------------------------------------------
| File Upload Settings
|--------------------------------------------------------------------------
*/
'max_upload_size' => env('FILE_MAX_UPLOAD_SIZE', 104857600), // 100MB default
'allowed_extensions' => [
'pdf', 'doc', 'docx', 'xls', 'xlsx', 'ppt', 'pptx',
'txt', 'csv', 'json', 'xml', 'md',
'jpg', 'jpeg', 'png', 'gif', 'webp', 'svg',
'zip', 'rar', '7z', 'tar', 'gz',
],
/*
|--------------------------------------------------------------------------
| Virus Scanning
|--------------------------------------------------------------------------
*/
'virus_scanning' => [
'enabled' => env('VIRUS_SCANNING_ENABLED', false),
'scanner' => env('VIRUS_SCANNER', 'disabled'), // disabled, clamav, virustotal
'clamav' => [
'binary' => env('CLAMAV_BINARY', 'clamdscan'),
'socket' => env('CLAMAV_SOCKET', '/var/run/clamav/clamd.ctl'),
],
'virustotal' => [
'api_key' => env('VIRUSTOTAL_API_KEY'),
],
],
/*
|--------------------------------------------------------------------------
| File Expiration
|--------------------------------------------------------------------------
*/
'expiration' => [
'enabled' => env('FILE_EXPIRATION_ENABLED', true),
'default_days' => env('FILE_DEFAULT_EXPIRATION_DAYS', null), // null = no expiration
'cleanup_schedule' => 'daily', // When to run cleanup job
],
/*
|--------------------------------------------------------------------------
| File Versioning
|--------------------------------------------------------------------------
*/
'versioning' => [
'enabled' => env('FILE_VERSIONING_ENABLED', true),
'max_versions' => env('FILE_MAX_VERSIONS', 50), // Maximum versions to keep
'auto_cleanup' => env('FILE_VERSION_AUTO_CLEANUP', false),
],
/*
|--------------------------------------------------------------------------
| Thumbnails
|--------------------------------------------------------------------------
*/
'thumbnails' => [
'enabled' => env('FILE_THUMBNAILS_ENABLED', true),
'sizes' => [
'small' => [100, 100],
'medium' => [200, 200],
'large' => [400, 400],
],
],
/*
|--------------------------------------------------------------------------
| Access Logging
|--------------------------------------------------------------------------
*/
'access_logging' => [
'enabled' => env('FILE_ACCESS_LOGGING_ENABLED', true),
'retention_days' => env('FILE_ACCESS_LOG_RETENTION_DAYS', 90),
],
/*
|--------------------------------------------------------------------------
| File Tagging
|--------------------------------------------------------------------------
|
| Configure file tagging behavior.
|
*/
'tagging' => [
'enabled' => env('FILE_TAGGING_ENABLED', true),
'max_tags_per_file' => env('FILE_MAX_TAGS', 10),
'default_colors' => [
'#3B82F6', // Blue
'#10B981', // Green
'#F59E0B', // Yellow
'#EF4444', // Red
'#8B5CF6', // Purple
'#EC4899', // Pink
'#06B6D4', // Cyan
'#F97316', // Orange
],
],
/*
|--------------------------------------------------------------------------
| Batch Operations
|--------------------------------------------------------------------------
|
| Configure batch file operation limits.
|
*/
'batch' => [
'enabled' => env('FILE_BATCH_ENABLED', true),
'max_files' => env('FILE_BATCH_MAX_FILES', 100),
'max_download_size' => env('FILE_BATCH_MAX_DOWNLOAD_SIZE', 524288000), // 500MB
'download_timeout' => env('FILE_BATCH_DOWNLOAD_TIMEOUT', 300), // 5 minutes
'operations' => [
'download' => true,
'delete' => true,
'move' => true,
'tag' => true,
'visibility' => true,
'rescan' => true,
],
],
/*
|--------------------------------------------------------------------------
| Storage Analytics
|--------------------------------------------------------------------------
|
| Configure storage analytics and reporting.
|
*/
'analytics' => [
'enabled' => env('STORAGE_ANALYTICS_ENABLED', true),
'cache_ttl' => env('STORAGE_ANALYTICS_CACHE_TTL', 900), // 15 minutes
'growth_months' => env('STORAGE_ANALYTICS_GROWTH_MONTHS', 6),
'top_items_limit' => env('STORAGE_ANALYTICS_TOP_ITEMS', 10),
'expiring_days' => env('STORAGE_ANALYTICS_EXPIRING_DAYS', 7),
],
/*
|--------------------------------------------------------------------------
| Storage Quotas
|--------------------------------------------------------------------------
|
| Configure storage quotas per client or project.
|
*/
'quotas' => [
'enabled' => env('STORAGE_QUOTAS_ENABLED', false),
'default_client_quota' => env('STORAGE_DEFAULT_CLIENT_QUOTA', 5368709120), // 5GB
'default_project_quota' => env('STORAGE_DEFAULT_PROJECT_QUOTA', 1073741824), // 1GB
'warning_threshold' => env('STORAGE_QUOTA_WARNING', 0.8), // 80%
],
/*
|--------------------------------------------------------------------------
| File Scanning
|--------------------------------------------------------------------------
|
| Configure virus scanning UI and behavior.
|
*/
'scanning' => [
'show_status_badge' => env('FILE_SHOW_SCAN_STATUS', true),
'block_infected_downloads' => env('FILE_BLOCK_INFECTED', true),
'quarantine_path' => env('FILE_QUARANTINE_PATH', 'quarantine'),
'auto_rescan_days' => env('FILE_AUTO_RESCAN_DAYS', null), // null = no auto rescan
],
/*
|--------------------------------------------------------------------------
| File Preview
|--------------------------------------------------------------------------
|
| Configure file preview settings.
|
*/
'preview' => [
'enabled' => env('FILE_PREVIEW_ENABLED', true),
'max_size' => env('FILE_PREVIEW_MAX_SIZE', 52428800), // 50MB
'supported_types' => [
'image' => ['jpg', 'jpeg', 'png', 'gif', 'webp', 'svg'],
'document' => ['pdf'],
'text' => ['txt', 'md', 'csv', 'json', 'xml', 'yaml', 'yml'],
'code' => ['js', 'ts', 'php', 'py', 'html', 'css', 'scss'],
],
],
];