PHPackages                             m1guelpf/integration - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. m1guelpf/integration

ActiveLibrary[API Development](/categories/api)

m1guelpf/integration
====================

A PHP class to interact with GitHub Apps

v1.1(8y ago)2931[1 PRs](https://github.com/m1guelpf/integration/pulls)MITPHPPHP ^7.0

Since Dec 9Pushed 6y agoCompare

[ Source](https://github.com/m1guelpf/integration)[ Packagist](https://packagist.org/packages/m1guelpf/integration)[ Docs](https://github.com/m1guelpf/integration)[ RSS](/packages/m1guelpf-integration/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (7)Versions (4)Used By (0)

A PHP class to interact with GitHub Apps
========================================

[](#a-php-class-to-interact-with-github-apps)

[![Latest Version on Packagist](https://camo.githubusercontent.com/844b8313c1e9136c666b4c675221cda3687fc5fc0d04656809c6d18fc830a635/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d316775656c70662f696e746567726174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/m1guelpf/integration)[![Build Status](https://camo.githubusercontent.com/d3f7d6b9a3185e1f4c41817b5abcc58aa5cabdec59650b77586703cdb19966ad/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6d316775656c70662f696e746567726174696f6e2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/m1guelpf/integration)[![Quality Score](https://camo.githubusercontent.com/51e813c5ddc7f69b49be0c94a571d0a128818ef6ba09cc8c5c028a167056a0a1/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6d316775656c70662f696e746567726174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/m1guelpf/integration)[![Total Downloads](https://camo.githubusercontent.com/a9bd9cec0bfa068a4d681c412182a9678c3978cc17eb198eeaeaf2b02ed8fa97/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d316775656c70662f696e746567726174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/m1guelpf/integration)

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

Installation
------------

[](#installation)

You can install the package via composer:

```
composer require m1guelpf/integration
```

Usage
-----

[](#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

[](#testing)

```
composer test
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

### Security

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Miguel Piedrafita](https://github.com/m1guelpf)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~60 days

Total

2

Last Release

3013d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/23558090?v=4)[Miguel Piedrafita](/maintainers/m1guelpf)[@m1guelpf](https://github.com/m1guelpf)

---

Top Contributors

[![m1guelpf](https://avatars.githubusercontent.com/u/23558090?v=4)](https://github.com/m1guelpf "m1guelpf (4 commits)")

---

Tags

githubintegrationm1guelpf

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/m1guelpf-integration/health.svg)

```
[![Health](https://phpackages.com/badges/m1guelpf-integration/health.svg)](https://phpackages.com/packages/m1guelpf-integration)
```

###  Alternatives

[lasserafn/laravel-economic

Economic REST wrapper for Laravel

1118.5k](/packages/lasserafn-laravel-economic)[juststeveking/companies-house-laravel

A Laravel wrapper to get companies house information and validate company numbers

224.1k](/packages/juststeveking-companies-house-laravel)[phpsa/laravel-postman

Export laravel API routes to postman

1014.7k](/packages/phpsa-laravel-postman)[offline-agency/laravel-fatture-in-cloud

An integration plugin with Fatture in Cloud Api written in Laravel PHP

101.1k](/packages/offline-agency-laravel-fatture-in-cloud)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
