{"id":15277463,"url":"https://github.com/tattersoftware/codeigniter4-pushover","last_synced_at":"2025-09-10T00:18:06.847Z","repository":{"id":49149142,"uuid":"274794703","full_name":"tattersoftware/codeigniter4-pushover","owner":"tattersoftware","description":"Pushover integration for CodeIgniter 4","archived":false,"fork":false,"pushed_at":"2023-02-03T10:03:11.000Z","size":58,"stargazers_count":5,"open_issues_count":4,"forks_count":4,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2025-08-23T06:07:28.240Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tattersoftware.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":"2020-06-25T00:10:38.000Z","updated_at":"2024-09-23T01:46:58.000Z","dependencies_parsed_at":"2023-02-18T05:45:45.068Z","dependency_job_id":null,"html_url":"https://github.com/tattersoftware/codeigniter4-pushover","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/tattersoftware/codeigniter4-pushover","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tattersoftware%2Fcodeigniter4-pushover","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tattersoftware%2Fcodeigniter4-pushover/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tattersoftware%2Fcodeigniter4-pushover/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tattersoftware%2Fcodeigniter4-pushover/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tattersoftware","download_url":"https://codeload.github.com/tattersoftware/codeigniter4-pushover/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tattersoftware%2Fcodeigniter4-pushover/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274390464,"owners_count":25276406,"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","status":"online","status_checked_at":"2025-09-09T02:00:10.223Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-09-30T11:06:38.183Z","updated_at":"2025-09-10T00:18:06.797Z","avatar_url":"https://github.com/tattersoftware.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tatter\\Pushover\nPushover integration for CodeIgniter 4\n\n[![](https://github.com/tattersoftware/codeigniter4-pushover/workflows/PHP%20Unit%20Tests/badge.svg)](https://github.com/tattersoftware/codeigniter4-pushover/actions?query=workflow%3A%22PHP+Unit+Tests)\n\n## Quick Start\n\n1. Install with Composer: `\u003e composer require tatter/pushover`\n2. Add credentials to **.env** or **Config/Pushover.php**\n3. Send an alert: `service('pushover')-\u003emessage(['message' =\u003e 'Hello world'])-\u003esend();`\n\n## Description\n\n**Tatter\\Pushover** adds an easy-to-use class for [Pushover](https://pushover.net)\nto your CodeIgniter 4 project. Send push notifications and access other API endpoints with\nthe integrated Service and support entities.\n\n## Configuration (optional)\n\nThe library's default behavior can be altered by extending its config file. Copy\n**examples/Pushover.php** to **app/Config/** and follow the instructions\nin the comments. If no config file is found in **app/Config** then the library will use its own.\n\nIn order to interface with Pushover you will need to specify your user secret and app token.\nAs these are sensitive items it is highly recommended you supply them in your **.env** file\ninstead of directly to repository code, e.g. (fake values):\n```\npushover.user = e9e1495ec75826de5983cd1abc8031\npushover.token = KzGDORePKggMaC0QOYAMyEEuzJnyUi\n```\n\n## Usage\n\nLoad the service with CodeIgniter's service helper:\n\n\t$pushover = service('pushover');\n\nThen craft your message and send it off to Pushover:\n\n```\nuse Tatter\\Pushover\\Entities\\Message;\n\n$message = new Message([\n\t'title'    =\u003e 'My Message',\n\t'message'  =\u003e 'This is my first CodeIgniter push notification!',\n\t'priority' =\u003e 1,\n]);\n\n$pushover-\u003esendMessage($message);\n```\n\nYou may also use class convenience methods to draft Messages with pre-defined default\nproperties (see **examples/Pushover.php** for configuration):\n\n```\n$message = $pushover-\u003emessage(['message' =\u003e 'Hellow world']);\n$message-\u003esend();\n```\n\n## Troubleshooting\n\nFollow Pushover's [API specifications](https://pushover.net/api#messages) to make sure\nyour messages are valid and you usage complies with their policies. Use the class method\n`Pushover::getErrors()` to access any error messages should something go wrong:\n\n```\ntry\n{\n\t$pushover-\u003emessage(['title' =\u003e 'New Boots', 'attachment' =\u003e 'boots.jpg'])-\u003esend();\n}\ncatch (\\Tatter\\Pushover\\Exceptions\\PushoverException $e)\n{\n\td($pushover-\u003egetErrors());\n}\n...\narray (2) [\n    0 =\u003e string (23) \"message cannot be blank\"\n    1 =\u003e string (37) \"The API returned a failing status: 0.\"\n]\n```\n\n## Development\n\nCurrently this module only supports the `messages.json` endpoint (including attachments),\nbut more endpoints will be added in the future. If you have a specific request please open\nan issue (or PR!) for a new feature request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftattersoftware%2Fcodeigniter4-pushover","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftattersoftware%2Fcodeigniter4-pushover","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftattersoftware%2Fcodeigniter4-pushover/lists"}