PHP code example of jacky-utwani / kubemq-php

1. Go to this page and download the library: Download jacky-utwani/kubemq-php 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/ */

    

jacky-utwani / kubemq-php example snippets



// Create client
$client = new Kubemq\kubemqClient('localhost:50000', [
        'credentials' => Grpc\ChannelCredentials::createInsecure(),
        'grpc.primary_user_agent' => 'my-user-agent-identifier',
    ]
);


$ composer