paul-lab/easyadmin-notification-bundle
Composer 安装命令:
composer require paul-lab/easyadmin-notification-bundle
包简介
Symfony's Easyadmin notification's bundle
README 文档
README
Symfony Notification Bundle for EasyAdmin bundle
Doctrine additional config:
doctrine: dbal: types: notification_level: PaulLab\NotificationBundle\DBAL\Types\NotificationLevelType
Easy admin sample configuration:
easy_admin: design: templates: layout: '@PaulLabNotification/layouts/layout.html.twig' entities: Notification: translation_domain: 'PaulLabNotification' class: PaulLab\NotificationBundle\Entity\Notification controller: PaulLab\NotificationBundle\Controller\NotificationController disabled_actions: ['edit', 'new'] list: batch_actions: ['delete', 'markRead'] fields: - { property: level, label: notification.level, template: '@PaulLabNotification/field/notification_level.html.twig' } - { property: source, label: notification.source } - { property: message, label: notification.message } - { property: send_at, label: notification.send_at } - { property: read_at, label: notification.read_at } sort: ['send_at', 'DESC'] filters: - { property: source, label: notification.source } - { property: read_at, label: notification.read_at, type: date } show: fields: - { property: level, label: notification.level, template: '@PaulLabNotification/field/notification_level.html.twig' } - { property: source, label: notification.source } - { property: message, label: notification.message } - { property: send_at, label: notification.send_at }
统计信息
- 总下载量: 32
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-06-21