Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jeckel-lab/easyadmin-notification-bundle
Symfony Notification Bundle
https://github.com/jeckel-lab/easyadmin-notification-bundle
easyadmin notification symfony symfony-bundle
Last synced: 9 days ago
JSON representation
Symfony Notification Bundle
- Host: GitHub
- URL: https://github.com/jeckel-lab/easyadmin-notification-bundle
- Owner: Jeckel-Lab
- License: mit
- Created: 2019-12-24T13:51:59.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-08-02T04:38:10.000Z (over 3 years ago)
- Last Synced: 2024-04-25T06:02:22.847Z (7 months ago)
- Topics: easyadmin, notification, symfony, symfony-bundle
- Language: PHP
- Size: 44.9 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# EasyAdmin notification bundle
Symfony Notification Bundle for EasyAdmin bundle
### Doctrine additional config:
```yaml
doctrine:
dbal:
types:
notification_level: JeckelLab\NotificationBundle\DBAL\Types\NotificationLevelType
```### Easy admin sample configuration:
```yaml
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 }
```