espend/idea-badge
最新稳定版本:v1.5.0
Composer 安装命令:
composer require espend/idea-badge
包简介
Provides badges support for statistics of IntelliJ IDEA / PhpStorm Plugin Repository with the help of Poser library.
README 文档
README
Install
$ php composer.phar require espend/idea-badge
<?php // app/AppKernel.php public function registerBundles() { $bundles = array( // ... new espend\IdeaBadgeBundle\espendIdeaBadgeBundle(), ); }
Configuration
# app/config/routing.yml espend_poser_extra: resource: . type: espend_idea_badge
Basic Usage
# app/config/config.yml espend_idea_badge: badge_lifetime: 3600 route_path: '/badges/{id}/{provider}' badge_controller: 'espend_idea_badge_bundle.badge.controller:showAction' monthly_storage_path: '%kernel.root_dir%/../var/badge_monthly_storage_path.json'
Urls
/badge/{pluginId}/downloads
/badge/{pluginId}/last-month
/badge/{pluginId}/version
Run tests
vendor/bin/phpunit tests/
统计信息
- 总下载量: 40
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2015-07-03