{"id":14984054,"url":"https://github.com/symfony/firebase-notifier","last_synced_at":"2025-04-06T15:12:54.474Z","repository":{"id":44439133,"uuid":"239546980","full_name":"symfony/firebase-notifier","owner":"symfony","description":"Symfony Firebase Notifier Bridge","archived":false,"fork":false,"pushed_at":"2024-11-29T09:08:08.000Z","size":99,"stargazers_count":11,"open_issues_count":0,"forks_count":11,"subscribers_count":5,"default_branch":"7.2","last_synced_at":"2025-03-30T13:09:53.177Z","etag":null,"topics":["component","firebase","notifier","php","symfony","symfony-component"],"latest_commit_sha":null,"homepage":"https://symfony.com/notifier","language":"PHP","has_issues":false,"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/symfony.png","metadata":{"funding":{"github":"fabpot","tidelift":"packagist/symfony/symfony","custom":"https://symfony.com/sponsor"},"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2020-02-10T15:38:24.000Z","updated_at":"2024-12-02T13:33:00.000Z","dependencies_parsed_at":"2023-02-13T22:55:14.733Z","dependency_job_id":"35c23b21-ec3f-4a44-a1c5-76c42e41069b","html_url":"https://github.com/symfony/firebase-notifier","commit_stats":{"total_commits":75,"total_committers":20,"mean_commits":3.75,"dds":0.6799999999999999,"last_synced_commit":"2cda40b2ac6418ded2d11c6fd20310f710be6252"},"previous_names":[],"tags_count":89,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/symfony%2Ffirebase-notifier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/symfony%2Ffirebase-notifier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/symfony%2Ffirebase-notifier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/symfony%2Ffirebase-notifier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/symfony","download_url":"https://codeload.github.com/symfony/firebase-notifier/tar.gz/refs/heads/7.2","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247500469,"owners_count":20948880,"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":["component","firebase","notifier","php","symfony","symfony-component"],"created_at":"2024-09-24T14:08:22.880Z","updated_at":"2025-04-06T15:12:54.450Z","avatar_url":"https://github.com/symfony.png","language":"PHP","funding_links":["https://github.com/sponsors/fabpot","https://tidelift.com/funding/github/packagist/symfony/symfony","https://symfony.com/sponsor"],"categories":[],"sub_categories":[],"readme":"Firebase Notifier\n=================\n\nProvides [Firebase](https://firebase.google.com) integration for Symfony Notifier.\n\nDSN example\n-----------\n\n```\nFIREBASE_DSN=firebase://USERNAME:PASSWORD@default\n```\n\nwhere:\n - `USERNAME` is your Firebase username\n - `PASSWORD` is your Firebase password\n\nAdding Interactions to a Message\n--------------------------------\n\nWith a Firebase message, you can use the `AndroidNotification`, `IOSNotification` or `WebNotification` classes to add\n[message options](https://firebase.google.com/docs/cloud-messaging/xmpp-server-ref.html).\n\n```php\nuse Symfony\\Component\\Notifier\\Message\\ChatMessage;\nuse Symfony\\Component\\Notifier\\Bridge\\Firebase\\Notification\\AndroidNotification;\n\n$chatMessage = new ChatMessage('');\n\n// Create AndroidNotification options\n$androidOptions = (new AndroidNotification('/topics/news', []))\n    -\u003eicon('myicon')\n    -\u003esound('default')\n    -\u003etag('myNotificationId')\n    -\u003ecolor('#cccccc')\n    -\u003eclickAction('OPEN_ACTIVITY_1')\n    // ...\n    ;\n\n// Add the custom options to the chat message and send the message\n$chatMessage-\u003eoptions($androidOptions);\n\n$chatter-\u003esend($chatMessage);\n```\n\nResources\n---------\n\n * [Contributing](https://symfony.com/doc/current/contributing/index.html)\n * [Report issues](https://github.com/symfony/symfony/issues) and\n   [send Pull Requests](https://github.com/symfony/symfony/pulls)\n   in the [main Symfony repository](https://github.com/symfony/symfony)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsymfony%2Ffirebase-notifier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsymfony%2Ffirebase-notifier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsymfony%2Ffirebase-notifier/lists"}