m1guelpf/integration
Composer 安装命令:
composer require m1guelpf/integration
包简介
A PHP class to interact with GitHub Apps
README 文档
README
This package makes it easy to interact with GitHub Apps by providing a wrapper around the GitHub API PHP Client.
Installation
You can install the package via composer:
composer require m1guelpf/integration
Usage
To get the authentication data, you have to define the following Laravel configuration keys:
You'll need the following data:
- Application ID:
config('github.application.id') - Application PEM file:
config('github.application.pem')
$integration = new M1guelpf\Integration(); $integration->authenticate() ->asInstallation(1234) ->api('repo') ->show('example', 'repo');
Testing
composer test
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email soy@miguelpiedrafita.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 93
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-12-09