inquid/yii2-collaborative

Yii2 Collaborative tools for open source projects.

Installs: 17

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Type:yii2-extension

dev-master 2018-03-23 18:00 UTC

This package is auto-updated.

Last update: 2024-11-29 04:52:21 UTC


README

Yii Framework

Donate

Yii2 Collaborative

Yii2 Collaborative tools for open source projects.

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist inquid/yii2-collaborative "*"

or add

"inquid/yii2-collaborative": "*"

to the require section of your composer.json file.

Usage

Once the extension is installed, simply use it in your code by :

For add the github button at the corner use:

<?= \inquid\collaborative\GitHubRabito::widget(); ?>

Options:

    <?= \inquid\collaborative\GitHubRabito::widget([
        'background_color'=>'#e65353',
        'logo_cat'=>'#FFF',
        'position_top'=>'0px',
        'url'=>'https://github.com/me/MyRepo',
        'label'=>'My Github Repo',
        'width'=>'250px',
        'height'=>'250px',
    ]); ?>

SUPPORT

paypal