Laravel GitHub Integration

GitHub Client

Professional GitHub API integration package for Laravel applications

Built by Jordan Partridge - Laravel Integration Specialist & API Package Developer

GitHub Client Package - Available Now

Production-ready Laravel package for GitHub API integration, actively maintained and ready for use.

Current Version: v0.3.1
Status: Active Development & Maintenance
Laravel Support: 10.x, 11.x, 12.x
PHP Requirements: 8.2+
Built With: Saloon PHP & Modern Architecture

Part of Jordan's Integration Package Suite

This GitHub client joins the Strava Client as part of a comprehensive suite of Laravel API integration packages, all designed with zero-configuration principles and enterprise-grade reliability.

Current Features

Production-ready GitHub integration built with Saloon and Laravel best practices

Saloon-Powered

Built on Saloon PHP for robust API handling with typed responses using data transfer objects and Laravel-style resource patterns.

Repository Operations

List and retrieve repositories, manage commits, and handle comprehensive GitHub API interactions with clean Laravel syntax.

Pull Request Management

Create, update, and merge pull requests with full support for reviews and comments through a clean Laravel interface.

Laravel Integration

Supports facades and dependency injection with Laravel 10, 11, and 12 compatibility for seamless framework integration.

Typed Responses

Strongly-typed data transfer objects ensure type safety and better IDE support for all GitHub API responses.

Simple Setup

Install via Composer, add your GitHub token to .env, and start using the GitHub API with clean Laravel syntax immediately.

Quick Start

Get started with GitHub API integration in minutes

Installation

composer require jordanpartridge/github-client

Configuration & Usage

# Add GitHub token to .env
GITHUB_TOKEN=your_github_token_here

# Use with Facade
use Partridge\GitHub\GitHub;

$repositories = GitHub::repositories()->list();

# Use with Dependency Injection
public function __construct(
    private readonly GitHub $github
) {}

$pullRequests = $this->github->pullRequests()
    ->list($owner, $repo);

# Repository operations
$repo = GitHub::repositories()->get('jordanpartridge', 'github-client');

# Pull request management
$pr = GitHub::pullRequests()->create($owner, $repo, [
    'title' => 'Feature: Add new functionality',
    'head' => 'feature-branch',
    'base' => 'main',
    'body' => 'This PR adds amazing new features'
]);

# Add PR review
GitHub::pullRequests()->addReview($owner, $repo, $prNumber, [
    'body' => 'Looks good to me!',
    'event' => 'APPROVE'
]);

Professional GitHub Integration

The GitHub Client Package embodies Jordan's philosophy of eliminating integration complexity while maximizing developer productivity. Designed for professional Laravel applications that require robust, scalable GitHub integration.

Developer-Focused Design

Built for modern development workflows with intuitive API design and comprehensive documentation.

Laravel-Native Integration

Seamless integration with Laravel's ecosystem including Eloquent models, Jobs, and Events.

Enterprise-Ready Architecture

Production-tested patterns with robust error handling and scalable design principles.

Why Choose Jordan's GitHub Package?

  • Zero-configuration setup out of the box
  • Secure token management built-in
  • Laravel-native API design patterns
  • Multi-user repository access control

Built by Jordan Partridge

Laravel Integration Specialist with extensive experience building production-grade API integration packages. Jordan's packages are used by teams worldwide to eliminate integration complexity and accelerate development.