PHPackages                             infinitedevelopers/weatherwidget-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. infinitedevelopers/weatherwidget-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

infinitedevelopers/weatherwidget-bundle
=======================================

Widget to display current weather

133PHP

Since Aug 27Pushed 11y ago4 watchersCompare

[ Source](https://github.com/InfiniteDevelopers/WeatherWidgetBundle)[ Packagist](https://packagist.org/packages/infinitedevelopers/weatherwidget-bundle)[ RSS](/packages/infinitedevelopers-weatherwidget-bundle/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependenciesVersions (2)Used By (0)

\#WeatherWidgetBundle

Twig extension to display a widget with the current wheater and temperature using openweathermap and cmfcmf/OpenWeatherMap-PHP-Api

Installation
------------

[](#installation)

- add dependencie in your composer.json :

```
"require": {
	[...],
    "infinitedevelopers/weatherwidget-bundle": "dev-master"
}

```

- add package and dependencies in AppKernel.php

```
$bundles = array(
	[...],
	new InfiniteDevelopers\Base64Bundle\InfiniteDevelopersBase64Bundle(),
    new InfiniteDevelopers\WeatherWidgetBundle\InfiniteDevelopersWeatherWidgetBundle()
);

```

Configuration
-------------

[](#configuration)

add this in your config.yml

```
infinite_developers_weather_widget:
    owm_key: your_open_weather_map_api_key #default null
    owm_units: metric #or imperial (°F), default metric (°C)

```

Usage
-----

[](#usage)

Use it in a twig template like this

```
{{ weather_widget('query') }}

```

*query* is an open weather map query exemple for current weather in Lyon, french city :

```
{{ weather_widget('Lyon, France') }}

```

Roadmap
-------

[](#roadmap)

Coming soon

- caching open weather map request
- serveral images for different weather conditions

Suggestion

- we're currenlyt using internal base64 converter twig extension for displaying images, we may change it

Licence
-------

[](#licence)

Code is under MIT licence, image are free to use.

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity43

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 92.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/5f0c06c19ed23375e993730f8a8f1bc26f2240e2bf2c96cda1f2d8f54b730291?d=identicon)[fdicioccio](/maintainers/fdicioccio)

---

Top Contributors

[![fdicioccio](https://avatars.githubusercontent.com/u/3645606?v=4)](https://github.com/fdicioccio "fdicioccio (13 commits)")[![CedricMaillot](https://avatars.githubusercontent.com/u/1560699?v=4)](https://github.com/CedricMaillot "CedricMaillot (1 commits)")

### Embed Badge

![Health badge](/badges/infinitedevelopers-weatherwidget-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/infinitedevelopers-weatherwidget-bundle/health.svg)](https://phpackages.com/packages/infinitedevelopers-weatherwidget-bundle)
```

###  Alternatives

[sebdesign/laravel-state-machine

Winzou State Machine service provider for Laravel

3401.3M1](/packages/sebdesign-laravel-state-machine)[wapmorgan/php-deprecation-detector

Analyzer of PHP code to search issues with deprecated functionality in newer interpreter versions.

366479.5k13](/packages/wapmorgan-php-deprecation-detector)[savannabits/filament-flatpickr

Flatpickr input for Filamentphp

9652.6k](/packages/savannabits-filament-flatpickr)[seshac/otp-generator

OTP Generator and Validator for Laravel Applications

42157.5k](/packages/seshac-otp-generator)[symbiote/silverstripe-addressable

SilverStripe addressable and geocoding module

2985.1k7](/packages/symbiote-silverstripe-addressable)[disc/php-zabbix-sender

PHP implementation of zabbix\_sender utility. Works with Zabbix 2.0.8, 2.1.7+ and 4.0 versions.

19158.1k1](/packages/disc-php-zabbix-sender)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
