Download the PHP package rupadana/filament-announce without Composer
On this page you can find all versions of the php package rupadana/filament-announce. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download rupadana/filament-announce
More information about rupadana/filament-announce
Files in rupadana/filament-announce
Package filament-announce
Short Description An easy way to shout your exceptional offerings to the potential users
License MIT
Homepage https://github.com/rupadana/filament-announce
Informations about the package filament-announce
Filament Announce
The easiest way to shout announcements in filament!
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
- [x] Can add actions to every announcement
- [x] Provide a resource/action to send announcement
- [ ] Add banner-like implementations for global announcement
- [ ] Set end date or time so it will disapear automaticly
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
- Rupadana
- margarizaldi
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
All versions of filament-announce with dependencies
filament/filament Version ^3.0
spatie/laravel-package-tools Version ^1.15.0
illuminate/contracts Version ^10.0|^11.0|^12.0
guava/filament-icon-picker Version ^2.0