luffyzhao / laravel-boost-trae-extension
A Laravel Composer package that provides Trae IDE integration for Laravel Boost. For boost 2.x
Package info
github.com/luffyzhao/laravel-boost-trae-extension
pkg:composer/luffyzhao/laravel-boost-trae-extension
Requires
- php: >=8.2
- illuminate/support: ^12.28.1
- laravel/boost: ^2.0
Requires (Dev)
- laravel/pint: 1.20
- phpunit/phpunit: ^9.5
README
A Laravel Composer package that provides Trae IDE integration for Laravel Boost 2.x.
Requirements
- PHP ^7.4
- Laravel Boost ^2.0
- Illuminate Support ^12.28.1
Installation
composer require luffyzhao/laravel-boost-trae-extension
The service provider will be automatically discovered by Laravel.
Features
This extension registers the Trae code environment with three core capabilities:
Guidelines Support
Loads project guidelines from the configured path. The default path is:
./trae/rules/TRAAE.md
MCP (Model Context Protocol) Support
Provides MCP configuration via file-based strategy. The default MCP config path is:
./trae/.mcp.json
Skills Support
Loads custom skills from the configured directory. The default path is:
.trae/skills
Configuration
You can override the default paths by publishing the Laravel Boost configuration and updating the following keys:
boost.agents.trae.mcp_config_path- MCP configuration file pathboost.agents.trae.guidelines_path- Guidelines file pathboost.agents.trae.skills_path- Skills directory path
Detection
The Trae agent automatically detects:
- System detection: Checks if
traecommand is available in PATH across macOS, Linux, and Windows - Project detection: Looks for
.traedirectory andrules/TRAAE.mdfile in the project root
License
MIT