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
Requires
- yiisoft/yii2: *
This package is auto-updated.
Last update: 2024-10-29 04:42:09 UTC
README
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', ]); ?>