{"id":16772258,"url":"https://github.com/m-adamski/symfony-notification-bundle","last_synced_at":"2026-01-26T22:53:30.108Z","repository":{"id":62521068,"uuid":"154468910","full_name":"m-adamski/symfony-notification-bundle","owner":"m-adamski","description":"The Symfony Bundle was created to support simple notifications","archived":false,"fork":false,"pushed_at":"2024-11-05T10:31:57.000Z","size":37,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"5.0","last_synced_at":"2024-11-18T14:16:46.674Z","etag":null,"topics":["notification-bundle","php","symfony","symfony-bundle"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/m-adamski.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-10-24T08:49:42.000Z","updated_at":"2024-11-05T10:31:29.000Z","dependencies_parsed_at":"2024-02-02T11:32:14.252Z","dependency_job_id":"565b00ec-a12a-4168-9457-e12c6963d0ef","html_url":"https://github.com/m-adamski/symfony-notification-bundle","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-adamski%2Fsymfony-notification-bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-adamski%2Fsymfony-notification-bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-adamski%2Fsymfony-notification-bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/m-adamski%2Fsymfony-notification-bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/m-adamski","download_url":"https://codeload.github.com/m-adamski/symfony-notification-bundle/tar.gz/refs/heads/5.0","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225925361,"owners_count":17546269,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["notification-bundle","php","symfony","symfony-bundle"],"created_at":"2024-10-13T06:30:49.291Z","updated_at":"2026-01-26T22:53:30.072Z","avatar_url":"https://github.com/m-adamski.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Notification Bundle for Symfony\n\nThe Symfony Bundle was created to support simple notifications.\nCompared to previous versions, this one is based on simple methods of creating and adding notifications.\n\nVersion 5.0 doesn't have compatibility with previous versions.\n\n## Installation\n\nComposer can install this bundle:\n\n```\n$ composer require m-adamski/symfony-notification-bundle\n```\n\n## How to use it?\n\nCompared to the previous version, to add a notification, we call the ``add`` function:\n\n```php\nuse Adamski\\Symfony\\NotificationBundle\\Helper\\NotificationHelper;\nuse Adamski\\Symfony\\NotificationBundle\\Model\\Notification;\nuse Adamski\\Symfony\\NotificationBundle\\Model\\Type;\n\n$this-\u003enotificationHelper\n    -\u003eadd(new Notification(Type::SUCCESS, \"Sample notification\"))\n    -\u003eadd(new Notification(Type::SUCCESS, \"Second sample notification\"));\n```\n\nThe custom Twig function is responsible for displaying notifications (place it somewhere in the template):\n\n```html\n{{ notification() }}\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm-adamski%2Fsymfony-notification-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fm-adamski%2Fsymfony-notification-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fm-adamski%2Fsymfony-notification-bundle/lists"}