piedweb / github
Github Meta Data Repo Extractor without api
Installs: 11 465
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Requires
- php: ~7.1|^8.0
- ropendev/curl: ^1.0
- ropendev/simple_html_dom: ^1.7
- vimeo/psalm: ^4.4
Requires (Dev)
- phpunit/phpunit: >=7.0
- squizlabs/php_codesniffer: ^3.0
README
Github Meta Data Repo Extractor
Install
Via Packagist
$ composer require piedweb/github
Usage
use PiedWeb\Github\ExtractRepoMetaData; $github = new ExtractRepoMetaData('https://github.com/PiedWeb/CMS'); $github->getName() // @return string $github->getDescription() // @return string $github->getStars() // @return string $github->getRepo() // @return string eg. PiedWeb/CMS $github->getUrl() // @return string
Testing
$ composer test
Contributing
Please see contributing
Credits
License
The MIT License (MIT). Please see License File for more information.