Skip to content
This repository has been archived by the owner on Aug 7, 2019. It is now read-only.

Configuration

Shea Lewis edited this page Jun 2, 2015 · 1 revision

Configuration

Caffeinated Github comes bundled with a config file that you may publish and customize.

Publishing The Config File

To publish the bundled config file, simply run Laravel's vendor:publish Artisan command:

php artisan vendor:publish

This will copy the bundled config file to config/github.php.

Configuration Options

Default Connection Name

You may specify the default connection to use when authenticating against the GitHub API.

'default' => 'main',

Connections

You may define multiple methods of authentication for the GitHub API service. For the time being, the token authentication method is the only one supported by Caffeinated Github.

'connections' => [
    'main' => [
        'token'  => 'your-token',
        'method' => 'token',
    ]
]
Table of Contents
  1. Home
  2. Installation
  3. Configuration
API References
Clone this wiki locally