{"id":15287364,"url":"https://github.com/minishlink/web-push-bundle","last_synced_at":"2025-12-16T12:25:36.410Z","repository":{"id":2625964,"uuid":"47016018","full_name":"Minishlink/web-push-bundle","owner":"Minishlink","description":"Bundle around the WebPush library","archived":false,"fork":false,"pushed_at":"2025-01-06T09:59:12.000Z","size":27,"stargazers_count":45,"open_issues_count":3,"forks_count":11,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-04T13:45:09.825Z","etag":null,"topics":["bundle","notifications","php","symfony","symfony-bundle","web-push"],"latest_commit_sha":null,"homepage":null,"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/Minishlink.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":"2015-11-28T08:23:13.000Z","updated_at":"2025-01-06T09:58:14.000Z","dependencies_parsed_at":"2024-06-18T18:40:31.270Z","dependency_job_id":"1607f6c4-fda3-4be9-9e8d-89b8b51996d2","html_url":"https://github.com/Minishlink/web-push-bundle","commit_stats":{"total_commits":32,"total_committers":6,"mean_commits":5.333333333333333,"dds":0.3125,"last_synced_commit":"299871aae0d229ecd619059ce83270fb9cad0af9"},"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Minishlink%2Fweb-push-bundle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Minishlink%2Fweb-push-bundle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Minishlink%2Fweb-push-bundle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Minishlink%2Fweb-push-bundle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Minishlink","download_url":"https://codeload.github.com/Minishlink/web-push-bundle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247190247,"owners_count":20898702,"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":["bundle","notifications","php","symfony","symfony-bundle","web-push"],"created_at":"2024-09-30T15:27:56.823Z","updated_at":"2025-12-16T12:25:36.403Z","avatar_url":"https://github.com/Minishlink.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MinishlinkWebPushBundle\nThis bundle provides a simple integration of the [WebPush library](https://github.com/Minishlink/web-push).\n\n[![SensioLabsInsight](https://insight.sensiolabs.com/projects/0c2947f7-f173-4d00-b0bb-da26613d52a2/mini.png)](https://insight.sensiolabs.com/projects/0c2947f7-f173-4d00-b0bb-da26613d52a2)\n\n## Usage\nWeb Push sends notifications to endpoints which server delivers web push notifications as described in\nthe [Web Push API specification](http://www.w3.org/TR/push-api/).\n\n```php\n\u003c?php\n/** @var \\Minishlink\\WebPush\\WebPush */\n$webPush = $this-\u003econtainer-\u003eget('minishlink_web_push');\n```\n\nThe bundle provides a new `minishlink_web_push` service that returns an instance of `Minishlink\\WebPush\\WebPush`.\n\nFor more info on what you can do with `$webPush`, check [Minishlink/web-push](https://github.com/Minishlink/web-push).\n\n## Installation\n\n1. `composer require minishlink/web-push-bundle`\n2. Enable the bundle in your `app/AppKernel.php`.\n\n```php\n\u003c?php\n// app/AppKernel.php\n\npublic function registerBundles()\n{\n    $bundles = array(\n        // ...\n        new Minishlink\\Bundle\\WebPushBundle\\MinishlinkWebPushBundle(),\n        // ...\n    );\n}\n```\n\n## Configuration\nHere is the default configuration, you may change it in your `app/config/config.yml`.\n\n```yml\nminishlink_web_push:\n  VAPID:\n    subject: https://yoursite.com # can be an URL or a mailto:\n    publicKey: ~88 chars          # uncompressed public key P-256 encoded in Base64-URL\n    privateKey: ~44 chars         # the secret multiplier of the private key encoded in Base64-URL\n    pemFile: path/to/pem          # if you have a PEM file and can link to it on your filesystem\n    pem: pemFileContent           # if you have a PEM file and want to hardcode its content\n  ttl: 2419200                    # Time to Live of notifications in seconds\n  urgency: ~                      # can be very-low / low / normal / high\n  topic: ~                        # default identifier for your notifications\n  timeout: 30                     # Timeout of each request in seconds\n  automatic_padding: true         # pad messages automatically for better security (against more bandwith usage)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminishlink%2Fweb-push-bundle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fminishlink%2Fweb-push-bundle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminishlink%2Fweb-push-bundle/lists"}