ivan-petrunko/weather-entities

PHP weather entities.

Installs: 3

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/ivan-petrunko/weather-entities

1.0.0 2020-08-15 02:04 UTC

This package is auto-updated.

Last update: 2025-12-18 04:45:38 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.