{"id":19129642,"url":"https://github.com/almostengr/cakephpnwsapi","last_synced_at":"2026-01-28T02:06:01.459Z","repository":{"id":250322797,"uuid":"834132703","full_name":"almostengr/CakephpNwsApi","owner":"almostengr","description":"Interact with the National Weather Service API using CakePHP Plugin","archived":false,"fork":false,"pushed_at":"2024-10-18T00:52:06.000Z","size":22,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-08T16:49:32.006Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/almostengr.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-07-26T13:41:55.000Z","updated_at":"2024-10-18T02:17:50.000Z","dependencies_parsed_at":"2024-10-18T08:05:07.557Z","dependency_job_id":null,"html_url":"https://github.com/almostengr/CakephpNwsApi","commit_stats":null,"previous_names":["almostengr/cakephp-nws-api","almostengr/cakephp-nwsapi"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/almostengr/CakephpNwsApi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/almostengr%2FCakephpNwsApi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/almostengr%2FCakephpNwsApi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/almostengr%2FCakephpNwsApi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/almostengr%2FCakephpNwsApi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/almostengr","download_url":"https://codeload.github.com/almostengr/CakephpNwsApi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/almostengr%2FCakephpNwsApi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28833494,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T23:29:49.665Z","status":"online","status_checked_at":"2026-01-28T02:00:06.943Z","response_time":57,"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-11-09T06:08:02.154Z","updated_at":"2026-01-28T02:06:01.445Z","avatar_url":"https://github.com/almostengr.png","language":"PHP","readme":"# National Weather Service API Plugin for CakePHP\n\nInteract with the National Weather Service API using CakePHP Plugin\n\nMethods that are available are based on the routes listed on the National Weather Service website at \nhttps://www.weather.gov/documentation/services-web-api#/.\n\n\n## Contents\n\n* [Installation](#installation)\n* [Usage / How To Use](#usage)\n* [Overriding Default Configuration](#overriding-default-configuration)\n* [Report Issues / Feature Requests](#report-issues-or-feature-requests)\n* [Versoining](#version-numbering)\n\n## Installation\n\nYou can install this plugin into your CakePHP application using [composer](https://getcomposer.org).\n\nThe recommended way to install composer packages is:\n\n```sh\ncomposer require almostengr/national-weather-service-api\n```\n\n## Usage\n\nThis plugin is to be used like any other component within CakePHP.\n\nIn your Controller class, add the code below. If you do not already have an ```initialize()``` method \nin your controller class, you may copy and paste the code below as it is written.\n\n```php\npublic function initialize(): void\n{\n    parent::initialize();\n\n    $this-\u003eloadComponenent(\"NwsApi\");\n}\n```\n\nInside of your controller method, you will call one of the endpoints like the below.\n\n```php\n$this-\u003eNwsApi-\u003egetAlertTypes();\n```\n\n## Overriding Default Configuration\n\nThis plugin has default values for the API URL and the timeout. To override the defaults, \nadd an entry to your app_local.php file.\n\n```json\n[\n    \"NwsApi\":\n    {\n        \"url\": \"api.weather.gov\",\n        \"timeout\": 30,\n    }\n]\n```\n\n## Report Issues or Feature Requests\n\nIssues and feature requests should be submitted to the project issue tracker at \nhttps://github.com/almostengr/cakephp-nws-api.\n\nUpcoming features and functionality are also listed on the project issue tracker.\n\n## Version Numbering\n\nThe version number for this plugin is in the following format. Using the example of \n\n```txt\n5.2024.07.26\n```\n\n\"5\" represents the major CakePHP version number that the plugin is designed for\n\n\"2024.07.26\" represents the date, in YYYY-MM-DD format, that the release was created\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falmostengr%2Fcakephpnwsapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falmostengr%2Fcakephpnwsapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falmostengr%2Fcakephpnwsapi/lists"}