adminetic / announcement
Announcement Module for Adminetic Adminetic Admin Panel
Requires
- php: ^7.4|^8.0
- illuminate/support: ^8.0
- laravel/slack-notification-channel: ^2.3
- league/html-to-markdown: ^5.0
Requires (Dev)
- orchestra/testbench: ^6.0
- phpunit/phpunit: ^9.0
This package is auto-updated.
Last update: 2024-10-28 17:12:47 UTC
README
Announcement module for Adminetic Admin Panel
For detailed documentaion visit Adminetic Announcement Module Documentation
Contains : -
- Global/Selective Announcement
- Email Notification
- Slack Notification
- Database Notification
- Announcement Timeline
Installation
You can install the package via composer:
composer require adminetic/announcement
Note
For slack notification Add AnnouncementUser Trait in your User Model
use Adminetic\Announcement\Traits\AnnouncementUser;
and slack webhook link in you env file
SLACK_WEBHOOK=your_slack_webhook_link
for more information visit Laravel Slack Routing
register announcement module adapter in app/adminetic.php
// Adapters 'adapters' => [ Adminetic\Announcement\Adapter\AnnouncementAdapter::class, ]
Announcement Notification widget
If you wish to add announcement notification widget on your header located in views/admin/layouts/components/header.blade.php add
<div class="nav-right col-8 pull-right right-header p-0"> <ul class="nav-menus"> <x-announcement-announcement-notification-bell /> // Other Items </ul> </div>
Testing
composer test
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email pratikdai404@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.