Download the PHP package nazirul-amin/sentinel-actor without Composer

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

Sentinel Actor

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

This package provides a simple way to monitor your application by sending exception data to a webhook endpoint. It includes traits and utilities to automatically send exception information from jobs, notifications, and other parts of your application. Compatible with PHP 8.1+ and Laravel 10+.

Installation

You can install the package via composer (compatible with PHP 8.1+ and Laravel 10+):

You can publish the config file with:

This is the contents of the published config file:

Configuration

Add the following environment variables to your .env file:

HMAC Signature Verification

This package supports HMAC signature verification for enhanced security. When you configure a secret in your .env file, all outgoing webhook requests will be signed with HMAC-SHA256.

The receiving service can verify the authenticity of the request by comparing the signature in the Sentinel-Signature header with a locally computed signature using the same secret.

Usage

Monitoring Exceptions in Jobs

To automatically send exception data from your jobs, simply use the MonitorsExceptions trait:

Monitoring Exceptions in Notifications

Similarly, you can monitor exceptions in notifications:

Application Health Status Monitoring

To send application health status updates (active/inactive), use the UpdatesApplicationStatus trait:

Scheduled Health Checks

The package includes a built-in health check command that can be scheduled to run periodically:

This command performs basic health checks and sends the status to your monitoring service. You can customize the health checks by extending the command.

Manual Exception Monitoring

You can also manually send exception data using the facade:

Sending Custom Events

You can also send custom events to your monitoring service:

Webhook Payload Structure

All webhooks sent by this package include the following data:

Exception Webhooks

Health Status Webhooks

Status Update Webhooks (Legacy)

All requests are signed with HMAC-SHA256 for security.

Testing

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.


All versions of sentinel-actor with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version ^10.0||^11.0||^12.0
illuminate/http Version ^10.0||^11.0||^12.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 nazirul-amin/sentinel-actor contains the following files

Loading the files please wait ...