Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Slack Laravel Package

razorpay/slack

A Laravel package from Razorpay for sending notifications and messages to Slack, likely via incoming webhooks. Lightweight and simple to configure, though it has modest adoption and limited documentation, so evaluate fit for your project before relying on it.

View on GitHub
Deep Wiki
Context7

A simple PHP package for sending messages to Slack, with a focus on ease of use and elegant syntax. Includes Laravel support out of the box. This fork adds Queue support (see queue branch)

Frequently asked questions about Slack
How do I install razorpay/slack in a Laravel application?
Install it with Composer using composer require razorpay/slack, then publish the package configuration file and set your Slack incoming webhook URL. In Laravel the service provider is typically auto-discovered, so manual registration is usually unnecessary. Check the resolved version against your Laravel release before committing, since 3.0.0 targets Laravel 10.
Does razorpay/slack work with Laravel 11 or Laravel 12?
That is not documented. The 3.0.0 release note is a single line stating alignment to Laravel 10 and does not say whether composer.json uses a floor such as ^10.0 or a hard ceiling such as 10.*. If the constraint tops out at Laravel 10, applications on Laravel 11 or 12 cannot adopt 3.0.0 and will remain on 2.x. Read the package's composer.json and diff the 3.0.0 tag against 2.x before planning an upgrade.
Is razorpay/slack 3.0.0 compatible with PHP 8.1?
Yes. Version 3.0.0 aligns to Laravel 10, which requires PHP 8.1 or newer, so the package inherits that floor. Confirm PHP 8.1+ across CI, container images and local toolchains before bumping the constraint. Applications on older PHP runtimes must be upgraded first.
Can I use razorpay/slack in a plain PHP project without Laravel?
The package is a standalone PHP library with Laravel support included out of the box, so it works outside a framework. Without Laravel you construct the client and supply configuration directly instead of relying on the config repository and service container. Laravel users get auto-discovery and a published config file for a lower-friction setup.
Does razorpay/slack support queued Slack messages?
The upstream package is webhook-based and sends synchronously by default, while this fork adds queue support on a dedicated queue branch. Queued dispatch may therefore not exist in the main release line, so verify which branch and version you install. For high-volume notifications, sending through a queue prevents Slack latency from blocking your request cycle.
What breaking changes does razorpay/slack 3.0.0 introduce?
Only the Laravel 10 alignment is documented, and the release note is one line long. A major version bump entitles the maintainer to other breaking changes such as config keys, published assets, service-provider bindings, method signatures or removed deprecations. Diff 3.0.0 against 2.x and review the changelog before upgrading in a real application.
Is razorpay/slack still maintained and safe for production use?
Adoption is modest and documentation is limited, so treat it as a small, lightly supported package rather than a heavily maintained one. Pinning a new major to Laravel 10 places it one to two framework generations behind current releases, and Laravel 10's security support window closes in early 2026. Keep the integration thin, wrap it behind your own service if the dependency is critical, and re-test on every upgrade.
What alternatives exist to razorpay/slack for Laravel Slack notifications?
Laravel ships a built-in Slack notification channel that covers most notification use cases without adding a dependency. Community packages such as laravel/slack-notification-channel offer richer message formatting and block support. Compare your feature needs against the maintenance risk and Laravel version support of a smaller package.
How do I test Slack messages without spamming a real channel?
Point the package at a dedicated test webhook channel or a local stub endpoint rather than a production channel. In Laravel tests, fake the underlying HTTP client or the queue so nothing leaves the test suite. Assert on the payload the package builds instead of on Slack's response.
How is razorpay/slack configured to post to a Slack webhook?
Create an incoming webhook in Slack for the target channel and place its URL in the package configuration, ideally via an environment variable rather than hardcoded in source. Keep the webhook out of version control and rotate it if it is exposed. Send a test message from tinker or a feature test before wiring it into application events.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
robertmarney/lara-hierarchial-collections
simonschaufi/rule-doc-generator
emissaoja/emissaoja
blackbricksoftware/gravityforms-civicrm-form-processor
al-rahabi/fancy-crud
jinas/dhivatar-component
mltstephane/laravel-quality
bernskiold/laravel-talentlms
bernskioldmedia/laravel-form-architect
youbar/easy-crud
c-point-labs/laravel-hostyourai
dbravoan/dbcms-admin-theme-dbcms
dbravoan/dbcms-theme-db-cyber
dbravoan/dbcms-blocks-basic
dbravoan/dbcms-module-content-audit
dbravoan/dbcms-module-ai-assistant
paygate-to/paygate-php
padosoft/askmydocs-connector-base
defstudio/supercharged-carbon
bernskioldmedia/laravel-matomo