GitHub Copilot SDK for Laravel is a community SDK that brings the official GitHub Copilot SDK workflow into Laravel applications. You can call Copilot from Artisan commands, controllers, jobs, and other Laravel runtime contexts.Documentation Index
Fetch the complete documentation index at: https://kawax.biz/llms.txt
Use this file to discover all available pages before exploring further.
What is specific to Laravel
This package adds Laravel-native ergonomics on top of an SDK-compatible layer:- Facade-first API with
Copilot::run()andCopilot::start() - Laravel-style configuration via
config/copilot.phpand.env - Integration points for Laravel Prompts, queues, and console UX
- Testing utilities such as
Copilot::fake()and prompt assertions
Usage examples
Run single prompt
Multiple prompts in a single session
copilot() helper
Start here
Getting started
Build your first Copilot-powered Laravel app.
Authentication
Configure GitHub login, token-based auth, or BYOK workflows.
Session config
Control tools, models, MCP servers, and session behavior.
SessionEvent
Understand Laravel-specific event helpers and lifecycle handling.
Permission request
Review the permission flow to run tools with explicit approval.
Tools
Define custom tools that Copilot can call.
Streaming
Handle incremental output and live assistant responses.
MCP
Connect MCP servers to extend capabilities.
Laravel Cloud
Run the SDK in Laravel Cloud environments.
Custom providers
Integrate additional provider and model strategies.
Official repositories
- Laravel package: invokable/laravel-copilot-sdk
- Official SDK: github/copilot-sdk