PHP code example of mayconbordin / l5-stomp-queue

1. Go to this page and download the library: Download mayconbordin/l5-stomp-queue library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

mayconbordin / l5-stomp-queue example snippets


'providers' => array(
    ...
    'Mayconbordin\L5StompQueue\StompServiceProvider',
)

'connections' => array(
    'stomp' => [
        'driver'     => 'stomp',
        'broker_url' => 'tcp://localhost:61613',
        'queue'      => 'default',
        'system'     => 'activemq'
    ]
)

'connections' => array(
    'stomp' => [
        'driver'     => 'stomp',
        'broker_url' => 'tcp://localhost:61613',
        'queue'      => 'default',
        'system'     => 'activemq'
    ]
)