Dhaval2404 / idea-badge

Provides badges support for statistics of IntelliJ IDEA / PhpStorm Plugin Repository

Home Page:http://www.espend.de

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

espendIdeaBadge

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/

About

Provides badges support for statistics of IntelliJ IDEA / PhpStorm Plugin Repository

http://www.espend.de

License:MIT License


Languages

Language:PHP 100.0%