{"id":33990021,"url":"https://github.com/thtroyer/noaa-cap-alerts","last_synced_at":"2026-05-29T08:01:45.458Z","repository":{"id":57069245,"uuid":"55569071","full_name":"thtroyer/noaa-cap-alerts","owner":"thtroyer","description":"Fetches and parses NOAA CAP alerts","archived":false,"fork":false,"pushed_at":"2022-06-07T02:35:35.000Z","size":114,"stargazers_count":3,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-12-14T18:04:55.720Z","etag":null,"topics":["noaa","noaa-api","noaa-data","noaa-weather","php","severe-weather","weather-alerts","weather-information"],"latest_commit_sha":null,"homepage":"https://packagist.org/packages/thtroyer/noaa-cap-alerts","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/thtroyer.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-04-06T02:11:20.000Z","updated_at":"2024-04-02T05:59:39.000Z","dependencies_parsed_at":"2022-08-24T14:54:15.917Z","dependency_job_id":null,"html_url":"https://github.com/thtroyer/noaa-cap-alerts","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/thtroyer/noaa-cap-alerts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thtroyer%2Fnoaa-cap-alerts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thtroyer%2Fnoaa-cap-alerts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thtroyer%2Fnoaa-cap-alerts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thtroyer%2Fnoaa-cap-alerts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thtroyer","download_url":"https://codeload.github.com/thtroyer/noaa-cap-alerts/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thtroyer%2Fnoaa-cap-alerts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33642318,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-29T02:00:06.066Z","response_time":107,"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":["noaa","noaa-api","noaa-data","noaa-weather","php","severe-weather","weather-alerts","weather-information"],"created_at":"2025-12-13T06:02:00.893Z","updated_at":"2026-05-29T08:01:45.453Z","avatar_url":"https://github.com/thtroyer.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# thtroyer/noaa-cap-alerts\n\n[![Build Status](https://scrutinizer-ci.com/g/thtroyer/noaa-cap-alerts/badges/build.png?b=master)](https://scrutinizer-ci.com/g/thtroyer/noaa-cap-alerts/build-status/master)\n[![Code Coverage](https://scrutinizer-ci.com/g/thtroyer/noaa-cap-alerts/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/thtroyer/noaa-cap-alerts/?branch=master)\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/thtroyer/noaa-cap-alerts/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/thtroyer/noaa-cap-alerts/?branch=master)\n[![Latest Stable Version](https://poser.pugx.org/thtroyer/noaa-cap-alerts/version)](https://packagist.org/packages/thtroyer/noaa-cap-alerts)\n[![Latest Unstable Version](https://poser.pugx.org/thtroyer/noaa-cap-alerts/v/unstable)](//packagist.org/packages/thtroyer/noaa-cap-alerts)\n[![License](https://poser.pugx.org/thtroyer/noaa-cap-alerts/license)](https://packagist.org/packages/thtroyer/noaa-cap-alerts)\n\n## What is this?\nThis is a PHP 7.3+ library to make it easier to fetch and use weather alerts created by NOAA.\n\n## Setup\n\nInclude noaa-cap-alerts into your project:\n\n```\ncomposer require thtroyer/noaa-cap-alerts\ncomposer update\n```\n\n### Dependencies\nMake sure you have the XML extension installed for PHP.\n\ne.g. `sudo apt install php7.4-xml`\n\n### Usage\nInstantiate a new NoaaCapAlerts\\NoaaAlerts object.  Calling getAlerts() will download the latest alerts from NOAA, parse and return a set of data objects to be consumed.\n\n```php\n$noaaAlerts = new NoaaCapAlerts\\NoaaAlerts();\n$alerts = $noaaAlerts-\u003egetAlerts();\n\nforeach ($alerts as $alert) {\n    echo $alert-\u003egetTitle();\n}\n```\n\nSee [NoaaCapAlerts\\Model\\NoaaAlert](https://github.com/thtroyer/noaa-cap-alerts/blob/master/src/NoaaCapAlerts/Model/NoaaAlert.php) class to see what data is currently available.\n\nFeatures are still being added, so some changes may not be backwards compatible.  Until 1.0, treat new feature versions (0.x) as breaking updates.\n\nMore information about NOAA's CAP format is available [here](http://alerts.weather.gov/).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthtroyer%2Fnoaa-cap-alerts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthtroyer%2Fnoaa-cap-alerts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthtroyer%2Fnoaa-cap-alerts/lists"}