markogrady1 / widgit
A widget to display your GitHub repositories within your website.
dev-master
2016-07-15 16:40 UTC
Requires
- php: ^5.3.3 || ^7.0
- markogrady1/widgit: *
Requires (Dev)
- phpunit/phpunit: ~4.1.0@stable
- raveren/kint: ^1.0
This package is not auto-updated.
Last update: 2022-01-14 05:47:15 UTC
README
Library that provides small GitHub widgets to display various GitHub information directly into your website.
- Enter the correct path to the widget.js file.
####The repo list widget.
<?php use Widgit\Lib\Plugin; //simply provide your username and the amount of repositories your wish to display $widget = new Plugin("markogrady1", 10); echo $widget->getData(true); ?>
This will result in the following widget.
NOTE: More widgets are on their way.