Download the PHP package hasanyagout/filament-announcements without Composer
On this page you can find all versions of the php package hasanyagout/filament-announcements. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download hasanyagout/filament-announcements
More information about hasanyagout/filament-announcements
Files in hasanyagout/filament-announcements
Package filament-announcements
Short Description Global announcement system for different users
License MIT
Homepage https://github.com/HasanYagout/filament-announcement
Informations about the package filament-announcements
Filament Announcement
A powerful Filament plugin for broadcasting announcements to all users or specific recipients with support for scheduling, dismissible alerts, live updates, and custom recipient models.
Features
- ✅ Global announcements
- ✅ Targeted recipients
- ✅ Dismissible announcements
- ✅ Live polling updates
- ✅ Scheduled announcements
- ✅ Multiple announcement types
- ✅ Translation ready
- ✅ Filament native UI
- ✅ Custom recipient models
- ✅ User-specific visibility
- ✅ Laravel policy support
Installation
Install the package via Composer:
[!IMPORTANT] If you are using Filament Panels and have not set up a custom theme yet, follow the official Filament documentation first:
https://filamentphp.com/docs/4.x/styling/overview#creating-a-custom-theme
After setting up a custom theme, add the plugin views to your theme CSS file:
Publish and run migrations:
Publish the config file:
Optionally publish translations:
Optionally publish views:
Setup
Register the plugin inside your Filament panel provider:
Configuration
Example configuration:
Polling Interval
Customize the polling interval:
Custom Recipient Models
You can register custom recipient models dynamically:
Announcement Types
Supported announcement types:
infowarningdangersuccess
Translation Support
The plugin is fully translation-ready.
Example:
Scheduling
Announcements support scheduling using:
starts_atends_at
Only active announcements are displayed automatically.
Dismissible Announcements
Users can dismiss announcements individually.
Dismiss states are stored per recipient.
Recipient Targeting
Announcements can be:
- Global (
is_global) - Assigned to specific users/models
Supported via polymorphic recipient relationships.
Permissions & Policies
The plugin supports Laravel Policies.
Example policy registration:
Screenshots
Add screenshots here later.
Example:
Testing
Changelog
Please see CHANGELOG for more information about recent changes.
Contributing
Contributions, issues, and feature requests are welcome.
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.
All versions of filament-announcements with dependencies
filament/filament Version ^5.0
spatie/laravel-package-tools Version ^1.15.0