Download the PHP package benjaminhansen/nws-php without Composer
On this page you can find all versions of the php package benjaminhansen/nws-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download benjaminhansen/nws-php
More information about benjaminhansen/nws-php
Files in benjaminhansen/nws-php
Download benjaminhansen/nws-php
More information about benjaminhansen/nws-php
Files in benjaminhansen/nws-php
Vendor benjaminhansen
Package nws-php
Short Description A wrapper for the National Weather Service REST API (https://api.weather.gov).
License MIT
Homepage https://github.com/benjaminhansen/nws-php
Package nws-php
Short Description A wrapper for the National Weather Service REST API (https://api.weather.gov).
License MIT
Homepage https://github.com/benjaminhansen/nws-php
Please rate this library. Is it a good library?
Informations about the package nws-php
PHP Library for the National Weather Service REST API
Provides an intuitive interface to use the NWS REST API (https://api.weather.gov) in any PHP application.
Pairs well with my ArcGIS Geocode API wrapper as well. https://github.com/benjaminhansen/arcgis-geocode
NWS Documentation
https://www.weather.gov/documentation/services-web-api
Installation
Usage
Notes
- Requires PHP 8.2 or greater
- All requests can be cached locally to reduce outbound requests to the API endpoint
- All datetime fields are automatically returned as a
Carbon
object - Any timezone fields are automatically returned as a PHP
DateTimeZone
object - A
raw()
method is available on most calls to print out the raw API data
Example
All versions of nws-php with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.2
guzzlehttp/guzzle Version ^7.8
nesbot/carbon Version ^3.2
phpfastcache/phpfastcache Version ^9.2
illuminate/collections Version ^11.6
laravel/helpers Version ^1.7
guzzlehttp/guzzle Version ^7.8
nesbot/carbon Version ^3.2
phpfastcache/phpfastcache Version ^9.2
illuminate/collections Version ^11.6
laravel/helpers Version ^1.7
The package benjaminhansen/nws-php contains the following files
Loading the files please wait ....