Categorygithub.com/roadrunner-server/config/v3
package
3.2.0
Repository: https://github.com/roadrunner-server/config.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

PHP Client

Roadrunner Worker

Configuration

This plugin parse other's plugins configuration and uses flags to find the YAML config.

Flags

  1. -c [PATH]: points RR to the configuration location.

Minimal dependencies:

This plugin is independent.

Worker sample:

<?php

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

// Create a new Worker from global environment
$worker = \Spiral\RoadRunner\Worker::create();

while ($data = $worker->waitPayload()) {
    // Received Payload
    var_dump($data);

    // Respond Answer
    $worker->respond(new \Spiral\RoadRunner\Payload('DONE'));
}

Tips:

  1. By default, .rr.yaml used as the configuration, located in the same directory with RR binary.