Download the PHP package alby/report without Composer
On this page you can find all versions of the php package alby/report. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Package report
Short Description Official Alby error-tracking SDK for PHP. Ships uncaught exceptions, errors, and manual events to your Alby project.
License MIT
Homepage https://alby.sh
Informations about the package report
alby/report
Official Alby error-tracking SDK for PHP 8.2+.
Captures uncaught exceptions, errors, and anything you explicitly report, then ships them to your Alby project where an AI agent can auto-open a fix task.
Install
Requires PHP 8.2+, ext-curl, ext-json. No other runtime dependencies.
Use
The SDK buffers events in memory and ships them on flush() or at
register_shutdown_function time. Sending is synchronous with a bounded queue
of 100 events; long-running workers should call Alby::flush() at the end of
each unit of work.
Laravel
The package auto-discovers its service provider, so nothing else is needed on Laravel 5.5+. Publish the config:
Then set your DSN in .env:
Reporting exceptions
Laravel 11+ (bootstrap/app.php):
Laravel ≤10 (app/Exceptions/Handler.php):
Optional breadcrumbs
In config/alby-report.php:
Options
| Option | Type | Default | Notes |
|---|---|---|---|
dsn |
string |
— (required) | From your Alby app settings. |
release |
string |
'' |
Build version. Enables release tracking / auto-resolve. |
environment |
string |
APP_ENV / production |
production / staging / dev / anything. |
sample_rate |
float |
1.0 |
Fraction of events actually sent, 0..1. |
server_name |
string |
gethostname() |
Attached to every event. |
auto_register |
bool |
true |
Install set_exception_handler + set_error_handler + register_shutdown_function. Chains to existing handlers. |
debug |
bool |
false |
SDK diagnostics to stderr. |
transport |
Transport |
CurlTransport |
Injectable transport (tests, alt delivery). |
breadcrumbs_max |
int |
100 |
Ring-buffer cap. |
Wire protocol
This SDK speaks the Alby Ingest Protocol v1. If you're writing an SDK for a new runtime, start there.
Links
- Website: alby.sh
- Report issues: GitHub Issues
- Other SDKs: alby-sdk-js · alby-sdk-browser · alby-sdk-python
License
MIT — © Alby.
All versions of report with dependencies
ext-curl Version *
ext-json Version *