Skip to content

Releases: cmfcmf/OpenWeatherMap-PHP-API

OpenWeatherMap-PHP-API 2.0.0-rc1

23 Jan 18:43
Compare
Choose a tag to compare
Pre-release
  • Weather history added, closes #3.
  • Autoloader removed, closes #6. It's strongly recommended to install this library via composer now.
  • Vendor name changed from cmfcmf to Cmfcmf.
  • new OpenWeatherMap() constructor changed. The first parameter now is an instance of a class implementing Cmfcmf/OpenWeatherMap/FetcherInterface, which is responsible for fetching data from urls. Two fetchers are implemented, the old one using file_get_contents($url) and a new one using cURL. If you do not specify a fetcher, cURL will be used if it's available.
  • The copyright string was removed from all classes and is now only available via OpenWeatherMap::COPYRIGHT.

Due to the bc breaks, this will be (pre-)released as v2.0.0(-rc1) (following SemVer). The "final" 2.0.0 release will follow after some days of testing.

OpenWeatherMap-PHP-API 1.1.0

23 Jan 18:16
Compare
Choose a tag to compare
v1.1.0

Now with forecast functionality!

OpenWeatherMap-PHP-API 1.0.0

21 Jul 14:25
Compare
Choose a tag to compare

This is the first "stable" release of my OpenWeatherMap-PHP-API. Fetching forecast weather-data is currently not supported.

This api is PSR-2 compatible and can be loaded using composer. Add the following lines into your projects composer.json file:

"require": {
    "cmfcmf/openweathermap-php-api": ">=1.0.0"
}

Please give me a ⭐ if you like this or even fork this repo.

OpenWeatherMap-PHP-API 0.1.0

07 Jul 12:40
Compare
Choose a tag to compare

This is the first release of my OpenWeatherMap-PHP-API. Fetching forecast weather-data is currently not supported.
Please give me a ⭐ if you like this or even fork this repo.