Download the PHP package upgradelabs/sentinel-laravel without Composer

On this page you can find all versions of the php package upgradelabs/sentinel-laravel. 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 sentinel-laravel

Sentinel Laravel

Error reporting client for Sentinel. Captures exceptions from your Laravel application and sends them to your Sentinel dashboard.

Compatible with Laravel 8, 9, 10, 11, 12, and 13.

Installation

Configuration

Add your Sentinel API token to .env:

That's it. Sentinel will automatically capture and report unhandled exceptions.

The token identifies your project — you get it when creating a project on the Sentinel dashboard or via php artisan sentinel:create-project on the Sentinel server.

Publish config (optional)

Optional Configuration

Report only from specific environments

Send reports via queue (recommended for production)

Disable reporting

Heartbeat (automatic)

Sentinel pings the dashboard every 5 minutes to report your app is alive. This powers the status page. It's enabled by default — requires the Laravel scheduler to be running:

To disable:

Ignored exceptions

Edit config/sentinel.php to customize which exceptions are ignored:

Manual Reporting

You can manually report exceptions:

Laravel 8/9 (Manual Handler Setup)

For older Laravel versions where automatic reportable() registration may not work, add the trait to your exception handler:

What Gets Reported

Each error report includes:

Data Privacy

Sensitive fields are automatically redacted from request data:

Deploy Tracking

Notify Sentinel when you deploy so you can correlate errors with releases.

Artisan command (recommended)

All flags are optional. Use --auto to detect tag (from git tag), commit hash, and branch automatically.

In CI/CD pipelines

GitHub Actions:

Laravel Forge / Envoyer (deploy script):

Or with curl (no package needed):

Programmatic usage

Context Enrichment

Add custom context that gets attached to any error that occurs during the request:

Breadcrumbs

Breadcrumbs automatically track the sequence of events leading up to an error. Enabled by default.

Auto-captured events:

Add manual breadcrumbs:

Configure in config/sentinel.php:

Performance Tracking

Track request duration and memory usage by adding the middleware:

Performance data (duration_ms, memory_peak_mb) is automatically included in error reports.

Log Channel

Send Laravel log entries to Sentinel by adding a custom log channel:

Then use it alongside your default channel:

Read API

Pull data from Sentinel for external tools (Grafana, custom dashboards):

Testing

Verify configuration

Test error reporting

Test heartbeat

Send a manual heartbeat to verify your app shows as "Online" on the Sentinel status page:

Or test with curl using your project's API token:

Once a heartbeat is received, your project shows as Online on the status page. If no heartbeat is received for 10+ minutes, it switches to Offline and a critical alert email is sent.

With the scheduler running (* * * * * php artisan schedule:run), heartbeats are sent automatically every 5 minutes — no manual work needed.

License

MIT


All versions of sentinel-laravel with dependencies

PHP Build Version
Package Version
Requires php Version ^7.4|^8.0
illuminate/support Version ^8.0|^9.0|^10.0|^11.0|^12.0|^13.0
illuminate/http Version ^8.0|^9.0|^10.0|^11.0|^12.0|^13.0
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 upgradelabs/sentinel-laravel contains the following files

Loading the files please wait ...