riverline / openweathermap-bundle
Webrivage OpenWeatherMap Bundle for Symfony
Installs: 25 777
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 1
Open Issues: 0
Requires
- php: >=5.3.0
- cmfcmf/openweathermap-php-api: ~2.0
- symfony/config: >=2.0
- symfony/dependency-injection: >=2.0
- symfony/http-kernel: >=2.0
This package is auto-updated.
Last update: 2024-10-30 01:37:11 UTC
README
Riverline\OpenWeatherMapBundle
wraps open weather map php api in a symfony 2 bundle with configuration capabilities.
Requirements
- PHP 5.3
- symfony/http-kernel >= 2.0
- symfony/config >= 2.0
- symfony/dependency-injection >= 2.0
- cmfcmf/openweathermap-php-api 2.0
Configuration
owm.curl.fetcher: class: Riverline\OpenWeatherMapBundle\Fetcher\CurlOwmFetcher owm.cache: class: Riverline\OpenWeatherMapBundle\Cache\MemcachedOwmCache arguments: - '@cache' - '%kernel.environment%-owm-%%s' riverline_open_weather_map: api_key: '%riverline_open_weather_map.api_key%' fetcher_service_id: owm.curl.fetcher lang: '%locale%' mode: json units: metric cache_service_id: owm.cache cache_ttl: '%riverline_open_weather_map.cache_ttl%'