Skip to content

Latest commit

 

History

History
20 lines (16 loc) · 384 Bytes

README.md

File metadata and controls

20 lines (16 loc) · 384 Bytes

Inngest Client for PHP

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();
}