https://github.com/softspring/notification-bundle
https://github.com/softspring/notification-bundle
symfony-bundle
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/softspring/notification-bundle
- Owner: softspring
- License: agpl-3.0
- Created: 2022-02-10T11:30:47.000Z (over 4 years ago)
- Default Branch: 5.5
- Last Pushed: 2025-03-21T13:13:09.000Z (over 1 year ago)
- Last Synced: 2025-03-28T08:03:09.417Z (over 1 year ago)
- Topics: symfony-bundle
- Language: PHP
- Homepage:
- Size: 78.1 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Notification Bundle





[](https://github.com/softspring/notification-bundle/actions/workflows/ci.yml)

## Installation
### Configure Bundle
If you use flex, you should not need to do this. But if you don't or something goes wrong, you must add include
the bundle in config/bundles.php file:
['all' => true],
];
### Configure ORM
Create your Notification entity:
user;
}
/**
* @inheritdoc
*/
public function setUser(UserInterface $user): void
{
$this->user = $user;
}
}
Create config/packages/sfs_notification.yaml file with your entity configuration
sfs_notification:
notification_class: App\Entity\Notification