paulmercs/filament-sileo-notifications
Composer 安装命令:
composer require paulmercs/filament-sileo-notifications
包简介
Sileo toast bridge for Filament notifications with optional global generic action messages.
README 文档
README
Use Sileo-style toasts in Filament v5, and optionally apply generic global notification messages for create/edit/delete actions.
Features
- Replaces default Filament toast UI with Sileo-style toast output
- Works with server-rendered Filament notifications and JS-dispatched notifications
- Global generic
title+bodymessages for:CreateActionEditActionDeleteAction
- Configurable message content
Requirements
- PHP
^8.2 - Laravel
^12 - Filament
^5
Installation
composer require paulmercs/filament-sileo-notifications:^1.0
Register The Plugin
In your panel provider (example: app/Providers/Filament/AdminPanelProvider.php):
use Paulmercs\FilamentSileoNotifications\FilamentSileoNotificationsPlugin; return $panel // ... ->plugin(FilamentSileoNotificationsPlugin::make());
Publish Config (Optional)
php artisan vendor:publish --tag=filament-sileo-notifications-config
Published file:
config/filament-sileo-notifications.php
Publish Filament Assets
php artisan filament:assets
Configuration
return [ 'override_action_notifications' => true, 'messages' => [ 'create' => [ 'title' => 'Record created successfully', 'body' => 'The record has been created and saved. You can now review or update the details anytime.', ], 'edit' => [ 'title' => 'Changes saved successfully', 'body' => 'Your updates were saved successfully and are now reflected across the system.', ], 'delete' => [ 'title' => 'Record deleted successfully', 'body' => 'The selected record has been deleted and removed from the current dataset.', ], ], ];
Recommended After Install/Update
php artisan optimize:clear php artisan filament:assets
Then hard refresh the browser (Ctrl + F5).
Troubleshooting
- If no notification appears, check browser console for JS errors and run:
php artisan filament:assets
- If default Filament toast still appears, ensure plugin is registered in the active panel provider.
- If config changes are not reflected:
php artisan config:clearphp artisan optimize:clear
License
MIT
paulmercs/filament-sileo-notifications 适用场景与选型建议
paulmercs/filament-sileo-notifications 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 6 次下载、GitHub Stars 达 0, 最近一次更新时间为 2026 年 03 月 04 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 paulmercs/filament-sileo-notifications 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 paulmercs/filament-sileo-notifications 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 42
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-03-04