riverline/openweathermap-bundle
最新稳定版本:1.1.1
Composer 安装命令:
composer require riverline/openweathermap-bundle
包简介
Webrivage OpenWeatherMap Bundle for Symfony
README 文档
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%'
统计信息
- 总下载量: 26.33k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-04-17