ivan-petrunko/weather-entities

1.0.0 2020-08-15 02:04 UTC

This package is auto-updated.

Last update: 2024-09-18 01:48:35 UTC


README

Installation

It's recommended that you use Composer to install PHP Weather Entities.

$ composer require ivan-petrunko/weather-entities

Petrunko\Weather\Entity\Weather

Contains snapshot of a weather:

  • condition (see Petrunko\Weather\Entity\Enum\Condition)
  • temperature range
  • temperature "feels like" range
  • wind direction (see Petrunko\Weather\Entity\Enum\WindDirection)
  • wind speed
  • pressure
  • humidity

Petrunko\Weather\Entity\WeatherDaily

Contains weather for a whole day (morning, day, evening & night).

P.S.

Feel free to use it however you want :)

Pull requests are welcome.