micseres/micro-service-bundle

Micro Service Bundle

Installs: 12 131

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 3

Forks: 0

Open Issues: 3

Type:symfony-bundle

1.0.3 2019-12-04 14:28 UTC

This package is auto-updated.

Last update: 2024-04-05 00:00:47 UTC


README

Config

micro_service:
  connections:
    passport:
      ip: 127.0.0.1
      port: 9001
      route:  passport
      apiKey:  pass
      algorithm:  aes128

Register

return [
        \Micseres\MicroServiceBundle\MicroServiceBundle::class => ['all' => true],
];

Usage

    protected function execute(InputInterface $input, OutputInterface $output): void
    {
        $this->input  = $input;
        $this->output = $output;

        $this->microServiceReactor->setController([$this, 'generate']);
        $this->microServiceReactor->setLogger([$this, 'log']);

        $this->microServiceReactor->process();
    }

License

The Soft Deletable Bundle is open-sourced software licensed under the MIT license.