jeckel-lab / easyadmin-notification-bundle
Symfony's Easyadmin simple notification's bundle
Installs: 59
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 3
Forks: 0
Open Issues: 3
Type:symfony-bundle
Requires
- php: ^7.1
- easycorp/easyadmin-bundle: ^2.3
- jeckel-lab/advanced-types: ^0.3
- jeckel-lab/clock: ^0.2.0
- jeckel-lab/contract: ^0.1.4
Requires (Dev)
- phpmd/phpmd: ^2.8
- phpro/grumphp: ^0.19.0
- phpstan/phpstan: ^0.12.3
- phpunit/phpunit: ^9.0
- roave/security-advisories: dev-master
- squizlabs/php_codesniffer: ^3.5
- vimeo/psalm: ^3.12
This package is auto-updated.
Last update: 2024-10-29 05:47:13 UTC
README
Symfony Notification Bundle for EasyAdmin bundle
Doctrine additional config:
doctrine: dbal: types: notification_level: JeckelLab\NotificationBundle\DBAL\Types\NotificationLevelType
Easy admin sample configuration:
easy_admin: design: templates: layout: '@JeckelLabNotification/layouts/layout.html.twig' entities: Notification: translation_domain: 'JeckelLabNotification' class: JeckelLab\NotificationBundle\Entity\Notification controller: JeckelLab\NotificationBundle\Controller\NotificationController disabled_actions: ['edit', 'new'] list: batch_actions: ['delete', 'markRead'] fields: - { property: level, label: notification.level, template: '@JeckelLabNotification/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: '@JeckelLabNotification/field/notification_level.html.twig' } - { property: source, label: notification.source } - { property: message, label: notification.message } - { property: send_at, label: notification.send_at }