Download the PHP package highfive/inngest-php without Composer
On this page you can find all versions of the php package highfive/inngest-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package inngest-php
Inngest PHP Client
A framework-agnostic PHP API client for Inngest.
It is not an SDK: PHP is never an Inngest runtime. The package only sends events and manages runs from outside Inngest, by talking to two HTTP surfaces:
- the event ingestion endpoint (
https://inn.gs) - the v1 REST API (
https://api.inngest.com/v1) for runs, events, and bulk cancellations
If you want PHP to author and serve Inngest functions, you want a different library — Inngest's own SDKs (TypeScript, Python, Go) embed a function runtime and signature-verifying serve handler that this package intentionally does not.
Requirements
- PHP 8.3+
- A PSR-18 HTTP client and PSR-17 factories — auto-discovered via
php-http/discovery. In a Laravel app this picks up Guzzle automatically; otherwise install any combination such asnyholm/psr7+symfony/http-clientorguzzlehttp/guzzle+guzzlehttp/psr7.
Install
Quick start
Typed consumer events
If you want typed events in your app code, implement DispatchableEvent and convert your DTO into the low-level Event payload the client sends:
sendMany() also accepts a mix of raw Event instances and typed DispatchableEvent objects.
Branch environments
The env is forwarded as x-inngest-env on every request.
Local dev server
Point both base URLs at Inngest's local dev server:
Laravel
If you install this package in a Laravel app (11.x or 12.x), the bundled InngestServiceProvider is auto-discovered. There is nothing else to install — the Highfive\Inngest\Laravel namespace is dormant outside Laravel because its classes extend framework types that only exist when Laravel is present.
Configure with environment variables:
Laravel defaults to the production Inngest base URLs when you do not override them:
event_base_url:https://inn.gsapi_base_url:https://api.inngest.com
Optionally publish the config:
Resolve via DI, the container alias, or the Inngest facade:
Sub-API services (EventApi, RunsApi, CancellationApi) are also bound and can be injected directly.
Errors
All errors extend Highfive\Inngest\Exception\InngestException:
AuthenticationException— 401/403BadRequestException— 400NotFoundException— 404RateLimitException— 429ServerException— 5xxTransportException— network / PSR-18 client failures
All versions of inngest-php with dependencies
psr/http-client Version ^1.0
psr/http-factory Version ^1.0
psr/http-message Version ^1.1 || ^2.0
php-http/discovery Version ^1.19