Filament Announce

The easiest way to shout announcements in filament!

Latest Version on Packagist GitHub Tests Action Status Total Downloads

Installation

You can install the package via composer:

Run migration

Optionally, you can publish the views using

publish config

Usage

You must enable Announce by adding FilamentAnnouncePlugin class to your Filament Panel's plugin() or plugins([]) method:

To override the plugins announcementResource with your own custom resource, you should append usingResource method when registering the plugin:

Now you can announce whatever to users:

Title and Body Alignment

By default, the alignments will be start and you might want to adjust them:

You can also use alignStart(), alignCenter(), alignEnd(), alignJustify(), alignBetween(), alignLeft() and alignRight() for your convenience.

Add Actions to Announce

Since Announce extends Filament Notification, you can add Filament Notification Actions to your announcements:

Read more about Notification Action.

Announcement Resource

Todo

Testing

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

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.

Last updated

Was this helpful?