{"id":18735124,"url":"https://github.com/irontec/push-notifications","last_synced_at":"2025-04-12T19:12:39.443Z","repository":{"id":56993536,"uuid":"58392652","full_name":"irontec/push-notifications","owner":"irontec","description":"Libreria para gestionar facilmente las notificaciónes push con Android e IOS.","archived":false,"fork":false,"pushed_at":"2016-05-30T17:31:10.000Z","size":10,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":15,"default_branch":"master","last_synced_at":"2025-04-12T19:12:02.287Z","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":"eupl-1.1","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/irontec.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}},"created_at":"2016-05-09T16:45:42.000Z","updated_at":"2016-10-27T20:17:58.000Z","dependencies_parsed_at":"2022-08-21T13:20:38.190Z","dependency_job_id":null,"html_url":"https://github.com/irontec/push-notifications","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irontec%2Fpush-notifications","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irontec%2Fpush-notifications/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irontec%2Fpush-notifications/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/irontec%2Fpush-notifications/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/irontec","download_url":"https://codeload.github.com/irontec/push-notifications/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248618281,"owners_count":21134201,"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":"2024-11-07T15:15:49.100Z","updated_at":"2025-04-12T19:12:39.417Z","avatar_url":"https://github.com/irontec.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"PushNotifications\n=================\n\nLibreria para gestionar facilmente las notificaciónes push con Android e IOS.\n\nInstalación\n===========\n\n### Instalación con Composer\n\n````sh\ncomposer require irontec/pushnotifications\n````\n\nor\n````json\n    {\n        \"require\": {\n            \"require irontec/pushnotifications\": \"\u003e=1.0\"\n        }\n    }\n````\n\n# Ejemplos\n\n## Android\n\nEnvio de una notificación a un dispositivo Android\n\n````php\n\u003c?php\n\n$android = new PushNotifications\\Android();\n\n$android-\u003esetApikey('******');\n$android-\u003esetDeviceToken('');\n$android-\u003esetMessage('');\n$android-\u003esetExtraData(array('a' =\u003e 1, 'b' =\u003e 2));\n\n$android-\u003esend();\n\n````\n\n## IOS\n\nEnvio de una notificación a un dispositivo IOS\n\n````php\n\u003c?php\n\n$ios = new PushNotifications\\IOS();\n\n$ios-\u003esetEnvironment(1);\n$ios-\u003esetPassphraseDev('******');\n$ios-\u003esetPemDev('/certs/dev/app.pem');\n\n$ios-\u003esetWriteInterval(1);\n$ios-\u003esetSendRetryTimes(1);\n$ios-\u003esetConnectTimeout(1);\n$ios-\u003esetExpiry(60);\n\n$ios-\u003esetDeviceToken('');\n$ios-\u003esetMessage('');\n$ios-\u003esetExtraData(array('a' =\u003e 1, 'b' =\u003e 2));\n$ios-\u003esend();\n\n````","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Firontec%2Fpush-notifications","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Firontec%2Fpush-notifications","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Firontec%2Fpush-notifications/lists"}