2017 © Pedro Peláez
 

library integration

A PHP class to interact with GitHub Apps

image

m1guelpf/integration

A PHP class to interact with GitHub Apps

  • Wednesday, June 27, 2018
  • by m1guelpf
  • Repository
  • 1 Watchers
  • 0 Stars
  • 54 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 286 % Grown

The README.md

A PHP class to interact with GitHub Apps

Latest Version on Packagist Build Status Quality Score Total Downloads, (*1)

This package makes it easy to interact with GitHub Apps by providing a wrapper around the GitHub API PHP Client., (*2)

Installation

You can install the package via composer:, (*3)

composer require m1guelpf/integration

Usage

To get the authentication data, you have to define the following Laravel configuration keys:, (*4)

You'll need the following data: - Application ID: config('github.application.id') - Application PEM file: config('github.application.pem'), (*5)

``` php $integration = new M1guelpf\Integration(); $integration->authenticate() ->asInstallation(1234) ->api('repo') ->show('example', 'repo');, (*6)


### Testing ``` bash composer test

Contributing

Please see CONTRIBUTING for details., (*7)

Security

If you discover any security related issues, please email soy@miguelpiedrafita.com instead of using the issue tracker., (*8)

Credits

License

The MIT License (MIT). Please see License File for more information., (*9)

The Versions