dealnews/inngest

Client library for working with Inngest

v0.2.0 2025-01-22 15:30 UTC

This package is auto-updated.

Last update: 2025-01-22 15:31:59 UTC


README

This is a client library for working with Inngest.

Sending an Event

$client = new \DealNews\Inngest\Client(MY_INNGEST_KEY);

try {
    $client->send(
        'event/name', 
        [
            'some' => 'payload'
        ]
    );
} catch (\Throwable $e) {
    echo "Failed to send event: " . $e->getMessage();
}