定制 espend/idea-badge 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

Build Status Total Downloads Latest Stable Version

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

GitHub 信息

  • Stars: 3
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2015-07-03