PHPackages                             sharik709/laravel-github - 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. sharik709/laravel-github

ActiveLibrary[API Development](/categories/api)

sharik709/laravel-github
========================

It will make it easier for laravel application to use github api

v1.1(7y ago)418MITPHP

Since Mar 23Pushed 7y ago1 watchersCompare

[ Source](https://github.com/sharik709/laravel-github)[ Packagist](https://packagist.org/packages/sharik709/laravel-github)[ RSS](/packages/sharik709-laravel-github/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (2)Versions (8)Used By (0)

Laravel Github Integration
==========================

[](#laravel-github-integration)

This package will allow you to integrate github api into laravel application.

Steps
-----

[](#steps)

### Step 1

[](#step-1)

get package from composer `composer require sharik709/laravel-github`

### Step 2

[](#step-2)

If you are using laravel 5.5 and above then you don't need to register service provider. Otherwise, you will need to add this package's service provider into your `config/app.php` file's providers array. `LaravelGithub\LaravelGithubServiceProvider::class`

### Step 3

[](#step-3)

In your `.env` file you will need to setup your api keys. Which you can get from github

```
[Laravel Github Keys]

[Laravel Github API]
GITHUB_USERNAME=
GITHUB_PASSWORD=

```

You can also set these things to `.env.example`

Now, You should be able to use the api

Usage
-----

[](#usage)

#### To Retrieve all repositories

[](#to-retrieve-all-repositories)

```
use LaravelGithub\Repositories;

$repos = new Repositories;
$repositories = $repos->list()
```

#### To Get a specific repository

[](#to-get-a-specific-repository)

```
use LaravelGithub\Repositories;

$repos = new Repository;

$repository = $repos->get($name);
```

#### To get issues of a repository

[](#to-get-issues-of-a-repository)

```
$repository->issues()
```

#### To get pull requests for a repository

[](#to-get-pull-requests-for-a-repository)

```
$repository->pullRequests();
```

#### To get contributors for a repository

[](#to-get-contributors-for-a-repository)

```
$repository->contributors();
```

above `$repository` variable can be the result of `get` or you can call `list`get list of repositories and find the one you want to work with and call above methods.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------

[](#above-repository-variable-can-be-the-result-of-get-or-you-can-call-listget-list-of-repositories-and-find-the-one-you-want-to-work-with-and-call-above-methods)

### More in usage.md file

[](#more-in-usagemd-file)

---

Credit
------

[](#credit)

This package has been built on top of another package called `tan-tan-kanarek/github-php-client`. This package is a wrapper on that package. Credit for building such a great functionality to interact with github is to `tan tan kanarek`.

License
=======

[](#license)

MIT

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity64

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 ~0 days

Total

5

Last Release

2608d ago

Major Versions

v0.1.3 → v1.02019-03-23

### Community

Maintainers

![](https://www.gravatar.com/avatar/1439cc5e284ee01eaacb919569f4198f8b569612ac5134cbc0fc4ccd95a67081?d=identicon)[sharik709](/maintainers/sharik709)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/sharik709-laravel-github/health.svg)

```
[![Health](https://phpackages.com/badges/sharik709-laravel-github/health.svg)](https://phpackages.com/packages/sharik709-laravel-github)
```

###  Alternatives

[mollie/laravel-mollie

Mollie API client wrapper for Laravel &amp; Mollie Connect provider for Laravel Socialite

3624.1M28](/packages/mollie-laravel-mollie)[mll-lab/laravel-graphiql

Easily integrate GraphiQL into your Laravel project

683.2M9](/packages/mll-lab-laravel-graphiql)[spatie/laravel-route-discovery

Auto register routes using PHP attributes

23645.0k2](/packages/spatie-laravel-route-discovery)[esign/laravel-conversions-api

A laravel wrapper package around the Facebook Conversions API

69145.4k](/packages/esign-laravel-conversions-api)[didww/didww-api-3-php-sdk

PHP SDK for DIDWW API 3

1218.2k](/packages/didww-didww-api-3-php-sdk)[surface/laravel-webfinger

A Laravel package to create an ActivityPub webfinger.

113.8k](/packages/surface-laravel-webfinger)

PHPackages © 2026

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