Usage

Hooks

If you want to return extra data to Eyris, you can hook into the update environment payload.

use Thoughtco\Eyris\Facades\Agent;

//...

Agent::hook('update-environment-payload', function ($payload, $next) {
    // add to payload, this should be in the following format
    // eg [ ['label' => 'My label', 'value' => 'my_value'] ]
    return $next($payload);
);

Previous

Installation

Next

Announcements