Skip to content
Jordan Partridge edited this page Dec 11, 2024 · 2 revisions

GitHub Client for Laravel

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

A powerful, Laravel-first GitHub API client built on Saloon that makes integrating with GitHub's API simple and intuitive.

Features

  • Built on Saloon for reliable API handling in Laravel
  • Full type-hinting support with typed responses
  • Seamless integration with Laravel's configuration and authentication
  • Comprehensive test coverage
  • Support for facades and dependency injection
  • Modern PHP 8.1+ codebase
  • Laravel-style resource pattern

Installation

Install the package via Composer:

composer require jordanpartridge/github-client

Configuration

  1. Generate a GitHub token in your GitHub Settings
  2. Add the token to your .env file:
GITHUB_TOKEN=your-token-here

Clone this wiki locally