PHP code example of sharik709 / laravel-github

1. Go to this page and download the library: Download sharik709/laravel-github library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

sharik709 / laravel-github example snippets


use LaravelGithub\Repositories;

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

use LaravelGithub\Repositories;

$repos = new Repository;

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


$repository->issues()

$repository->pullRequests();

$repository->contributors();
config/app.php
tan-tan-kanarek/github-php-client