Download the PHP package stboris/filament-outbox without Composer
On this page you can find all versions of the php package stboris/filament-outbox. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download stboris/filament-outbox
More information about stboris/filament-outbox
Files in stboris/filament-outbox
Package filament-outbox
Short Description Configurable notification channels (Discord, Slack, Microsoft Teams, generic webhook) for Laravel, with a Filament v5 admin panel on top.
License MIT
Informations about the package filament-outbox
Filament Outbox
Configurable notification channels for Laravel - Discord, Slack, Microsoft Teams, and generic signed webhooks - built on Laravel's native notification system. No new APIs to learn: write a normal Notification class, return a message object, done.
Requirements
- PHP 8.3+
- Laravel 13
Installation
Optionally publish the config:
Usage
Discord
The webhook URL is resolved in this order:
->to($url)on the messagerouteNotificationForDiscord()on the notifiableconfig('filament-outbox.discord.webhook_url')(envOUTBOX_DISCORD_WEBHOOK_URL)
Slack (incoming webhook)
Microsoft Teams (Workflows webhook)
Sends Adaptive Cards to the webhook URL of a Power Automate workflow (the "When a Teams webhook request is received" trigger) - the mechanism that replaces the retired Office 365 Connector webhooks.
->block([...]) appends raw Adaptive Card elements; ->card([...]) replaces the generated card entirely.
Generic webhook
When a secret is configured (OUTBOX_WEBHOOK_SECRET or ->secret(...) on the message), the raw JSON body is signed with HMAC-SHA256 and the hex digest is sent in the X-Outbox-Signature header, so receivers can verify authenticity:
Testing an endpoint
Verify any endpoint from the command line before relying on it:
Resilient sending
Transient failures - connection errors, HTTP 429 rate limits, and 5xx responses - are automatically retried with exponential backoff (2 attempts by default, configurable via http.retry in the config). Permanent client errors (4xx) fail immediately with a descriptive CouldNotSendNotification exception.
Testing
License
MIT.
All versions of filament-outbox with dependencies
illuminate/contracts Version ^13.0
illuminate/http Version ^13.0
illuminate/notifications Version ^13.0
illuminate/support Version ^13.0
spatie/laravel-package-tools Version ^1.16