{"id":15304552,"url":"https://github.com/monkeymars/urban-airship-codeigniter-library","last_synced_at":"2025-10-08T09:30:47.820Z","repository":{"id":5483959,"uuid":"6681526","full_name":"monkeymars/Urban-Airship-CodeIgniter-library","owner":"monkeymars","description":"A simple UA library for CI. It's still very raw.","archived":false,"fork":true,"pushed_at":"2011-08-04T10:06:24.000Z","size":71,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-10-02T07:56:45.252Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"twitter.com/caioiglesias","language":"PHP","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"caioiglesias/Urban-Airship-CodeIgniter-library","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/monkeymars.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":"2012-11-14T02:31:47.000Z","updated_at":"2013-01-13T03:34:11.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/monkeymars/Urban-Airship-CodeIgniter-library","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/monkeymars%2FUrban-Airship-CodeIgniter-library","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monkeymars%2FUrban-Airship-CodeIgniter-library/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monkeymars%2FUrban-Airship-CodeIgniter-library/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monkeymars%2FUrban-Airship-CodeIgniter-library/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/monkeymars","download_url":"https://codeload.github.com/monkeymars/Urban-Airship-CodeIgniter-library/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":235700110,"owners_count":19031668,"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-10-01T07:56:57.925Z","updated_at":"2025-10-08T09:30:42.542Z","avatar_url":"https://github.com/monkeymars.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Urban Airship CodeIgniter Library\n\nI basically wrapped up the code available here into a library: https://support.urbanairship.com/customer/portal/articles/91072-simple-push-using-php-amp-the-api\n\n## Requirements\n\n1. PHP 5.1+\n2. CodeIgniter 2.0.0+\n3. cURL\n\n## Usage\n\n\t// Load the library\n\t$this-\u003eload-\u003elibrary('urban_airship');\n\t\n\t// Setup your json payload variables\n\t$tokens = array(\n\t\"b0ef35cdc226a3fdc4d3662555ca870df5201a6caced3ec960e57c01edb57aa8\",\n\t\"50ef35cdc226a3fdc4d3662555ca870df5201a6caced3ec960e57c01edb57aa2\",\n\t\"60ef35cdc226a3fdc4d3662555ca870df5201a6caced3ec960e57c01edb57aa9\"\n\t)\n\t$aps = array(\n\t\t'badge' =\u003e '+1',\n\t\t'alert' =\u003e 'Push Test'\n\t\t'sound' =\u003e 'default'\n\t\t);\n    \n\t// Send the push notification\n    $http_code = $this-\u003e urban_airship -\u003e push($tokens, $aps);\n\n\t// Http code is here\n\techo $http_code\n\t\nThis is just for the push, the rest is still coming. I appreciate the help.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonkeymars%2Furban-airship-codeigniter-library","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmonkeymars%2Furban-airship-codeigniter-library","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonkeymars%2Furban-airship-codeigniter-library/lists"}