PHP code example of gurento / kafka-consumer-filament
1. Go to this page and download the library: Download gurento/kafka-consumer-filament 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/ */
gurento / kafka-consumer-filament example snippets
use Gurento\KafkaConsumerFilament\Filament\Plugins\KafkaConsumerPlugin;
public function panel(Panel $panel): Panel
{
return $panel
->plugins([
KafkaConsumerPlugin::make(),
]);
}