PHP Package: spatie/laravel-slack-alerts

Spatie's Laravel Slack Alerts is a comprehensive PHP library designed for seamless integration with Laravel applications to send notifications to Slack channels efficiently and effectively.

Current Version: 1.6.0
Last Updated: 2025-02-26
PHP Requirement: ^8.2
Dependencies:
spatie/laravel-webhook-client
guzzle/guzzle
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

Laravel Slack Alerts by Spatie is a powerful PHP package tailored for Laravel developers seeking an intuitive solution to swiftly communicate alerts and notifications to designated Slack channels. With an emphasis on simplicity and practicality, this library streamlines the process of setting up automated messages to keep your team informed and engaged. Enhance your workflow and boost productivity with Laravel Slack Alerts.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 1.7.2

Clock Coming soon

Previous Versions

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/spatie/laravel-slack-alerts/1.7.2/loader.php';
require_once 'libs/spatie/laravel-webhook-client/3.4.4/loader.php';
require_once 'libs/guzzle/guzzle/7.10.0/loader.php';

use Spatie\LaravelWebhookClient\Webhook;
use GuzzleHttp\Client;
use Spatie\LaravelSlackAlerts\SlackMessage;

$obj = new Webhook();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.