Download the PHP package soukar/qalert without Composer

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

🚨 QAlert (Laravel Queue Monitor)

A simple, expressive tool to monitor your Laravel background jobs and get notified on failures instantly via Telegram and other channels.


🚀 Quick Start

1. Install via Composer

Run the following command in your terminal:


2. Publish Configuration

Publish the config file to your project's config directory to customize channels and tokens:


3. Configure your Environment (.env)

Add your credentials to your .env file to activate the alerts:


📝 Custom Logging Channel

You can now use QAlert as a standard Laravel logging channel. This allows you to send manual logs or specific application errors directly to your configured channels (like Telegram).

Setup Logging

Add the qalert driver to your config/logging.php file:


⚙️ Configuration File (config/qalert.php)

After publishing, you can fine-tune the behavior of the package:


Key Description Default


enabled Globally enable or disable true notifications.

project The project name that appears APP_NAME in the alert title.

channels.telegram Stores the bot token and chat .env ID.

default_channel The fallback channel if none telegram is specified.


🛠 How it Works

QAlert automatically listens for the JobFailed event in Laravel.

When a job fails:


💓 Queue Heartbeat (Stay Alive)

QAlert isn't just for failed jobs; it also ensures your Queue Workers are actually running. It uses a Heartbeat system that leverages Laravel's default Scheduling system.

How to activate it:

  1. Ensure your Laravel Scheduler is running (* * * * * cd /path-to-your-project && php artisan schedule:run >> /dev/null 2>&1).
  2. QAlert will automatically schedule a "Ping" job every hour (or your custom interval).
  3. If the Heartbeat job isn't processed within the expected timeframe, you'll receive a "Queue Stalled" alert on Telegram.

This ensures that even if the supervisor stops or the connection to Redis/Database is lost, you'll still be the first to know.


🤝 Contributing

Contributions are welcome!\ If you'd like to add a new channel (Slack, Discord, SMS), feel free to open a Pull Request.


❤️ Author

Developed with ❤️ by Mohammad Soukar


All versions of qalert with dependencies

PHP Build Version
Package Version
No informations.
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 soukar/qalert contains the following files

Loading the files please wait ...