revolution / laravel-boost-copilot-cli
Laravel Boost Custom Agent for GitHub Copilot CLI
Package info
github.com/invokable/laravel-boost-copilot-cli
pkg:composer/revolution/laravel-boost-copilot-cli
Fund package maintenance!
Requires
- php: ^8.2
- illuminate/support: ^12.30||^13.0
- laravel/boost: ^2.3.2
Requires (Dev)
- laravel/pint: ^1.25
- mockery/mockery: ^1.6
- orchestra/testbench: ^10.6||^11.0
- pestphp/pest: ^4.1
- pestphp/pest-plugin-laravel: ^4.0
README
Requirements
- PHP >= 8.2
- Laravel >= 12.x
- Laravel Boost >= 2.0
- Copilot CLI >= 1.0
Suggest
- laravel-boost-phpstorm-copilot Laravel Boost for PhpStorm with Copilot plugin
- laravel-copilot-sdk Copilot SDK for Laravel
Supported Platforms
- macOS
- WSL
- Native Windows can also be installed, but WSL is still recommended.
- Linux
Laravel Sail
It also supports Laravel Sail. Before use, start it with vendor/bin/sail up -d. The copilot command runs outside of Sail.
Testbench for Package Developers
Installation
composer require revolution/laravel-boost-copilot-cli --dev
Usage
When you run the Laravel Boost installation command within your Laravel project, you'll see a GitHub Copilot CLI item added to the list.
- First, you will see
Which Boost features would you like to configure?. The files will be installed depending on the features you select.AI Guidelines:.github/instructions/laravel-boost.instructions.mdAgent Skills:.github/skillsBoost MCP Server Configuration:.mcp.json
- Next, you will see
Which AI agents would you like to configure?. SelectGitHub Copilot CLIfor the AI agent.
php artisan boost:install
Copilot CLI automatically loads the .mcp.json configuration file from the project root, so no additional options are needed.
copilot
Known issues
Copilot CLI does not load instructions after the <. This means that Laravel Boost's <laravel-boost-guidelines> is not loaded at all. Instruct .github/copilot-instructions.md to load laravel-boost.instructions.md.
License
MIT