Overview
revolution/laravel-boost-copilot-cli is a package that extends Laravel Boost with a custom agent for the GitHub Copilot CLI.
Laravel Boost already ships with a GitHub Copilot agent, but that one is mainly aimed at the GitHub Copilot integration in VS Code. This package clarifies the path for the Copilot CLI and, in particular, provides a setup that plays nicely with package development that uses Testbench.
Requirements
- PHP 8.2+
- Laravel 12+
- Laravel Boost 2.0+
- Copilot CLI 1.0.61+
Supported platforms
- macOS
- WSL (native Windows is also possible; WSL recommended)
- Linux
vendor/bin/sail up -d first, then run the copilot command outside of Sail.
Installation
Usage
.github/instructions/laravel-boost.instructions.md.
The Copilot CLI automatically loads .github/mcp.json at the project root, so no additional configuration is required.
Customization
Publishconfig/boost.php to change where the guidelines file and MCP configuration file are generated.
agents entry to config/boost.php. To align the Copilot CLI with the official Copilot (VS Code) agent, point it at AGENTS.md. You can also change the Copilot (VS Code) side instead.
Testbench support (for package developers)
This package provides a setup that makes Testbench-based workflows — which are hard to cover with the official Laravel Boost — easy to run.1
Set up the Testbench workbench
2
Add @build to composer.json
Add
@build to post-autoload-dump.3
Install Boost via Testbench
Related links
- GitHub: invokable/laravel-boost-copilot-cli
- Related package for PhpStorm: invokable/laravel-boost-phpstorm-copilot
- Copilot SDK for Laravel: invokable/laravel-copilot-sdk