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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package report

alby/report

Packagist Packagist downloads PHP CI

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

License

MIT — © Alby.


All versions of report with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
ext-curl Version *
ext-json Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package alby/report contains the following files

Loading the files please wait ...