Recommended
Use your framework adapter.
The adapter installs PHP Core automatically and adds native request tracking, route normalization, dependency injection and background delivery.
Language foundation
What PHP Core owns.
apirelio/php-core provides the stable event contract, customer and application value objects, metadata privacy rules, error-code extraction, HTTP retry orchestration and a locked NDJSON buffer.
composer require apirelio/php-core:^0.2EventFactoryBuilds the common ingestion payload.PHP CoreMetadataSanitizerAllows only configured scalar metadata.PHP CoreHttpBatchTransportBatch delivery and retry orchestration.PHP CoreRoute adapterReads the framework's normalized route.FrameworkAdvanced
Build another PHP adapter.
Implement the ingestion client or event transport contracts and create payloads through EventFactory with an EventContext. This keeps custom integrations compatible with every Apirelio dashboard.
use Apirelio\Core\Contracts\EventTransport;
use Apirelio\Core\Contracts\IngestionClient;
use Apirelio\Core\Data\EventContext;
use Apirelio\Core\EventFactory;Applications using Laravel, Symfony or Nette should install the dedicated package instead of wiring PHP Core manually.
Compatibility
Supported PHP matrix.
apirelio/laravelLaravel 11–128.2–8.4apirelio/symfonySymfony 6.4, 7.4, 8.x8.2–8.4apirelio/netteNette 3.2–3.38.2+apirelio/php-coreFramework independent8.2–8.4