Skip to main content

Documentation Index

Fetch the complete documentation index at: https://kawax.biz/llms.txt

Use this file to discover all available pages before exploring further.

Overview

revolution/laravel-boost-copilot-cli adds a custom GitHub Copilot CLI agent as an extension for Laravel Boost. Laravel Boost already includes GitHub Copilot, but that path is mainly oriented to VS Code GitHub Copilot workflows. This package gives you a clearer setup for Copilot CLI and is especially useful for package developers using Testbench.

Requirements

  • PHP 8.2+
  • Laravel 12+
  • Laravel Boost 2.0+
  • Copilot CLI 1.0.25+

Supported platforms

  • macOS
  • WSL (Native Windows also works, but WSL is recommended)
  • Linux
Laravel Sail is also supported. Run vendor/bin/sail up -d first, then execute the copilot command outside Sail.

Installation

composer require revolution/laravel-boost-copilot-cli --dev

Usage

php artisan boost:install
# Select "GitHub Copilot CLI"
copilot
The guidelines will be generated as custom instructions in .github/instructions/laravel-boost.instructions.md. Copilot CLI automatically loads .mcp.json from your project root, so you do not need extra configuration.

Customization

You can change the path where the guidelines file is generated by publishing config/boost.php.
php artisan vendor:publish --tag=boost-config
Add an agents key to config/boost.php. To align Copilot CLI with the official Copilot (VS Code) agent, specify AGENTS.md. You can also update the Copilot (VS Code) side instead.
'executable_paths' => [],

'agents' => [
    // Copilot CLI
    'copilot_cli' => [
        'guidelines_path' => 'AGENTS.md',
    ],
    // Copilot(VS Code)
    'copilot' => [
        'guidelines_path' => '.github/instructions/laravel-boost.instructions.md',
    ],
],
agents is an undocumented feature and may change in a future release.

Testbench support (for package developers)

This package is designed to work smoothly in Testbench-based package development workflows where Laravel Boost defaults can be harder to apply directly.
1

Set up Testbench workbench

vendor/bin/testbench workbench:install
2

Add @build to composer.json

Add @build to post-autoload-dump.
{
  "scripts": {
    "post-autoload-dump": [
      "@clear",
      "@prepare",
      "@build"
    ]
  }
}
3

Install Boost through Testbench

vendor/bin/testbench boost:install
Last modified on April 26, 2026