arnapou / weather
Project - Forecast weather website
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Forks: 0
Type:project
pkg:composer/arnapou/weather
Requires
- php: ~8.5.0
- ext-redis: *
- arnapou/encoder: ^2.3
- arnapou/explicit: ^1.0
- arnapou/owmclient: ^2.7
- arnapou/svg: ^1.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.52
- phpstan/extension-installer: ^1.3
- phpstan/phpstan: ^2.0
- phpstan/phpstan-deprecation-rules: ^2.0
- phpstan/phpstan-phpunit: ^2.0
- phpstan/phpstan-strict-rules: ^2.0
- phpunit/php-code-coverage: ^12.0
- phpunit/phpunit: ^12.0
README
Display weather information based on OpenWeatherMap.
I wrote this app for my usage because I needed more information to plan my bike trip to work (rain, wind, ...).
Installation
composer create-project arnapou/weather
packagist 👉️ arnapou/weather
Examples
- https://weather.arnapou.net/ - default location (check config / envvars)
- https://weather.arnapou.net/codes - list of country codes (Iso 3166 Alpha 2)
- https://weather.arnapou.net/CN/Shanghai - Shanghai weather
- https://weather.arnapou.net/3/FR/Paris - Paris weather (only 3 days)
- https://weather.arnapou.net/40.404,-3.721 - Madrid via latitude + longitude
Notes
- the date and time are relocated in the right timezone !
- the offset with UTC is mentioned
- data are cached for at least 5 minutes
- period is between 2 and 5 days
- compatible iOS to add it like a web-app
Screenshot

Php versions
| Date | Ref | 8.5 | 8.4 | 8.3 | 8.2 | 8.1 |
|---|---|---|---|---|---|---|
| 29/12/2025 | 5.x, main | × | ||||
| 25/11/2024 | 4.x | × | ||||
| 26/11/2023 | 3.x | × | ||||
| 05/12/2022 | 2.x | × | ||||
| 04/03/2022 | 1.x | × |