Skip to main content

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
Laravel Sail is also usable. Run vendor/bin/sail up -d first, then run the copilot command outside of Sail.

Installation

Usage

Guidelines are generated as custom instructions at .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

Publish config/boost.php to change where the guidelines file and MCP configuration file are generated.
Add an 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.
agents is an undocumented feature and may change in future versions.

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

Last modified on August 2, 2026