Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

BrianHollenbach's avatar

Laravel Reverb Message sizes

Does anyone know how I can increase the message size accepted by Laravel Reverb?

I am trying to send a screenshot image from another application through a websocket connection in Base64 but the transferred message is too long to be accepted by Reverb.

0 likes
1 reply
BrianHollenbach's avatar
Level 1

Found it:

'apps' => [

    'provider' => 'config',

    'apps' => [
        [
            'key' => env('REVERB_APP_KEY'),
            'secret' => env('REVERB_APP_SECRET'),
            'app_id' => env('REVERB_APP_ID'),
            'options' => [
                'host' => env('REVERB_HOST'),
                'port' => env('REVERB_PORT', 443),
                'scheme' => env('REVERB_SCHEME', 'https'),
                'useTLS' => env('REVERB_SCHEME', 'https') === 'https',
            ],
            'allowed_origins' => ['*'],
            'ping_interval' => env('REVERB_APP_PING_INTERVAL', 60),
            'max_message_size' => env('REVERB_APP_MAX_MESSAGE_SIZE', 10000),
        ],
    ],

],
1 like

Please or to participate in this conversation.