File: bin/application.php

Recommend this page to a friend!
  Classes of Kacper Rowinski  >  PHP MySQL Replication to Kafka Docker  >  bin/application.php  >  Download  
File: bin/application.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP MySQL Replication to Kafka Docker
Docker container Move replication events to Kafka
Author: By
Last change:
Date: 2 months ago
Size: 351 bytes
 

Contents

Class file image Download
#!/usr/bin/env php
<?php

declare(strict_types=1);

require
__DIR__ . '/../vendor/autoload.php';

use
ReplicationToKafka\ReplicationToKafkaCommand;
use
Symfony\Component\Console\Application;

$application = new Application();
$application->add(new ReplicationToKafkaCommand());
/** @noinspection PhpUnhandledExceptionInspection */
$application->run();


For more information send a message to info at phpclasses dot org.