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

nexylan/slack

A maintained PHP package for sending messages to Slack via incoming webhooks, with a fluent API for rich messages and attachments. Laravel-friendly and ideal for notifications, alerts, and simple integrations.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Build vs. buy for internal alerting. This is a thin, MIT-licensed Laravel wrapper (service provider + facade + config-driven webhook) around Slack incoming-webhook messaging. For teams whose need is "post a formatted message to a channel," it converts a half-day of HTTP/client plumbing into a config entry — a legitimate small "buy" when Slack delivery is a supporting capability, not a product differentiator.
  • Roadmap sequencing for a notifications MVP. It lets you ship ops-facing notifications (deploy events, error-rate spikes, signup/payment events, approval requests) now, and defer investment in a general notification platform (multi-channel routing, templates, preferences, retries, delivery auditing) until volume and channel count justify it.
  • Scoping the Slack integration surface. Using this package implicitly answers a product question: are we doing one-way channel notifications only? If the roadmap includes slash commands, interactive buttons, modals, OAuth-installed multi-workspace apps, or the Events API, this package is out of scope and the decision shifts to a real Slack app/SDK.
  • Buying time on internal tooling. Admin dashboards, back-office ops, and internal Laravel apps routinely need "tell a human something happened." Adopting a tiny wrapper here avoids bespoke curl code scattered across jobs and keeps message formatting (attachments/Block Kit) in one place — useful leverage for small teams.
  • Reference implementation, not necessarily a dependency. The codebase is small enough to be read as a design reference for your own SlackNotifier interface, which is a legitimate outcome even if you never add the package to composer.json.

Honest caveat for the decision record: the maintenance signal is weak — 104 stars, last release March 2021, effectively dormant. Treat this as a low-blast-radius choice, not a platform bet.

When to Consider This Package

Consider it when:

  • You are on a Laravel version this package's constraints actually resolve against — verify this first; a 2021 release predates Laravel 9/10/11 and may require a fork or constraint override.
  • Your only requirement is outbound messages to Slack incoming webhooks — notifications, alerts, reports, simple approval pings.
  • The failure mode is acceptable: a missed Slack message degrades an internal workflow but does not break customer-facing functionality or revenue paths.
  • You want facade + config + queue-friendliness with minimal code, and you accept fork-and-own as the realistic long-term maintenance plan (the surface area is small enough to own).
  • You want richer message construction (attachments/blocks) than a one-liner HTTP call, without pulling in a full Slack SDK.

Look elsewhere when:

  • You need a Slack app, not a webhook: OAuth installs, scopes, Events API, interactive components, modals, multi-workspace distribution. Use an official/actively maintained Slack SDK or the Slack Bolt family.
  • Your requirement is really multi-channel notification (email + SMS + push + Slack, with user preferences and per-channel routing). Laravel's first-party laravel/slack-notification-channel plus the built-in Notification system is the stronger default — it's maintained, idiomatic, and covers most "notify a channel/on-call" cases. This package's real competitor is doing nothing extra.
  • Your org requires actively maintained dependencies, security review, SBOM provenance, or vendor support.
  • Delivery guarantees matter — high volume, retries with backoff, rate-limit handling, delivery auditing, or PII/compliance constraints on outbound payloads.
  • Your team would rather not own a dormant dependency. In that case, 100–200 lines behind an internal interface gets you the same outcome with full control.

How to Pitch It (Stakeholders)

To executives / leadership:

This is a zero-cost, MIT-licensed Laravel add-on that lets us post operational alerts into Slack in days rather than weeks. It removes a small but recurring piece of plumbing from every internal tool we build. The trade-off is maintenance: the library has been dormant since 2021, so we would treat it as low-risk internal tooling, wrap it behind our own interface, and be ready to absorb it in-house if needed. No license fees, no vendor lock-in, no customer-facing exposure.

To engineering:

It's a service provider, a facade, and a config-driven webhook — roughly the amount of code you'd write yourself, already written. Two conditions on adoption: (1) confirm it resolves against our Laravel version, otherwise vendor/fork it; (2) never call it directly from domain code — put it behind an internal SlackNotifier contract so swapping to Laravel's first-party Slack notification channel, or a fork, is a one-file change. Route sends through the queue, keep the webhook URL in secrets, and don't put it on a critical path.

Recommended next step: a timeboxed 1–2 day spike. Evaluate the first-party laravel/slack-notification-channel against this package for our actual use cases; if the first-party channel covers them, prefer it and skip the dependency. If we need the extra message-formatting ergonomics, adopt this one behind an interface and pin the version.

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.
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
frankyso/ipaymu
3mdikram/worldmoneywords
snowsoft/config
itmosoft/laravel-subscriptions
larva/laravel-ai-qwen
adachsoft/api-version-bundle
cgv/localized-resource
noith/settings
kda/laravel-package
kda/filament-dynamic-navigation
bypersoft/signbox
pairus/product-data
fayne/laravel-filament-cms-core