{"id":27770715,"url":"https://github.com/minds/surge","last_synced_at":"2025-04-29T21:14:59.153Z","repository":{"id":26590766,"uuid":"30045460","full_name":"Minds/Surge","owner":"Minds","description":"A php library for sending push notifications","archived":false,"fork":false,"pushed_at":"2021-01-12T14:10:24.000Z","size":25,"stargazers_count":18,"open_issues_count":2,"forks_count":18,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-04-29T21:14:54.341Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Minds.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-01-29T22:56:12.000Z","updated_at":"2024-09-03T21:46:22.000Z","dependencies_parsed_at":"2022-09-01T17:10:59.446Z","dependency_job_id":null,"html_url":"https://github.com/Minds/Surge","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Minds%2FSurge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Minds%2FSurge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Minds%2FSurge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Minds%2FSurge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Minds","download_url":"https://codeload.github.com/Minds/Surge/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251582942,"owners_count":21612747,"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":[],"created_at":"2025-04-29T21:14:58.605Z","updated_at":"2025-04-29T21:14:59.141Z","avatar_url":"https://github.com/Minds.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Surge\n__A php library for push notifications__\n\n[![Build Status](https://magnum.travis-ci.com/Minds/Surge.svg?token=vHzWaxguqXbJqkudCFTn\u0026branch=master)](https://magnum.travis-ci.com/Minds/Surge)\n\n### Getting started\n\nAdd the following to your composer.json file.\n\n````\n{\n    \"require\": {\n        \"Minds/Surge: \"v1.0\",\n        ...\n    },\n    ...\n}\n````\n\n### Configure Apple Push Notifications (APN)\n\nOk, this is a bit of a pain. Follow carefully. \n\n- Go to `https://developer.apple.com/` and follow the steps to create a new certificate. Create a Push Notification certificate and download.\n- Add this certificat to your keychain (double clicking should do this). \n- Navigate to Certificate and look for the certificate you just added.\n- Ctrl click the certificate and click export. Enter a password.\n- the run `openssl pkcs12 -in Certificates.p12 -out apns.pem -nodes -clcerts`\n\nThen your app should be able to do the rest..\n\n\n### Configure Google Push Notifications (GPN)\n\nGoogle makes things easier, all you need is an API key. Go to https://console.developers.google.com/ and enable Push Notifictions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminds%2Fsurge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fminds%2Fsurge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fminds%2Fsurge/lists"}