ifwrong/laravel-boost-trae

Laravel Boost addon that provides support for Trae IDE

Maintainers

Package info

github.com/ifwrong/laravel-boost-trae-extension

pkg:composer/ifwrong/laravel-boost-trae

Transparency log

Statistics

Installs: 2

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.1.0 2026-07-22 06:27 UTC

This package is auto-updated.

Last update: 2026-07-22 08:50:48 UTC


README

A Laravel Boost addon that provides support for the Trae AI IDE.

It registers a trae agent with Laravel Boost so that boost:install can scaffold MCP configuration, project guidelines, and skills for Trae — including Trae CN.

Requirements

  • PHP ^8.2
  • Laravel Boost ^2.0

Installation

composer require ifwrong/laravel-boost-trae

Then run the Boost installer:

php artisan boost:install

Select Trae from the list of agents. Boost will generate the MCP config, guidelines, and skills into your project's .trae directory.

Features

  • System detection — locates the Trae / Trae CN app on macOS, Windows, and Linux.
  • Project detection — detects .trae in the project root, with automatic fallback to the parent directory for monorepo setups.
  • MCP support — generates .trae/mcp.json and sets the server cwd to your Laravel base path so MCP tools run in the right project context.
  • Guidelines — writes project rules to .trae/project_rules.md.
  • Skills — scaffolds skills into .trae/skills.

Configuration

All paths are configurable via config/boost.php. Defaults are shown below:

'agents' => [
    'trae' => [
        'mcp_config_path' => '.trae/mcp.json',
        'guidelines_path' => '.trae/project_rules.md',
        'skills_path'     => '.trae/skills',
    ],
],

Directory Structure

After installation, a typical .trae directory looks like:

.trae/
├── mcp.json
├── project_rules.md
└── skills/

License

The MIT License (MIT). Please see LICENSE for more information.