install

vinktar/php

Zero dependencies, PHP 7.4 and up. Errors and events flush after the response. Both jobs from one package: the same key sends events and errors, and identify() joins them to a person.

composer require vinktar/php

3 · verify

Events and errors go out at the end of the request. For a CLI script, call $vinktar->flush().

the join

Anonymous activity is kept under the device. The first identify() with a user id binds that device to the person, and everything before it resolves to them retroactively. A device binds once; call reset() on logout so the next person gets a fresh one. The full rules are in api.md.

Already on Sentry? Point the DSN at us and errors flow tonight.