PHP code example of micromus / kafka-bus
1. Go to this page and download the library: Download micromus/kafka-bus 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/ */
micromus / kafka-bus example snippets
return [
];
$kafkaBus = new Micromus\KafkaBus();
echo $kafkaBus->echoPhrase('Hello, Micromus!');
bash
php artisan vendor:publish --tag="laravel-kafka-bus-migrations"
php artisan migrate
bash
php artisan vendor:publish --tag="laravel-kafka-bus-config"
bash
php artisan vendor:publish --tag="laravel-kafka-bus-views"