定制 cjmellor/boost-ide-bundle 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

cjmellor/boost-ide-bundle

最新稳定版本:v1.0.1

Composer 安装命令:

composer require cjmellor/boost-ide-bundle

包简介

Extended IDE support bundle for Laravel Boost. Multiple development environments, one package.

README 文档

README

Latest Version on Packagist Total Downloads Packagist PHP Version Laravel Version

Boost IDE Bundle

Extended IDE support bundle for Laravel Boost. It provides a simple, convention-based way to register multiple IDE-aware code environments in your Laravel application.

Features

  • Automatic discovery of environment classes
  • Zero configuration — uses Laravel package auto-discovery
  • Compatible with Laravel 10, 11, and 12; PHP 8.1+

Included environments:

  • Cline
  • KiloCode
  • Kiro
  • RooCode
  • Trae
  • Warp

Warning

I (the maintainer) don't use all these IDE/Agents, so I cannot guarentee the config locations are correct. If they are wrong, please submit a PR to fix it.

Requirements

  • PHP ^8.1
  • Laravel ^10 | ^11 | ^12
  • Laravel Boost 1.4

Installation

Install via Composer:

composer require cjmellor/boost-ide-bundle --dev

# Ensure Laravel Boost is present in your app (if not already installed)
composer require laravel/boost:^1.4 --dev

This package uses Laravel’s auto-discovery. No manual provider registration is needed.

How It Works

  • The service provider scans src/CodeEnvironments for *.php classes.
  • Each class must extend Laravel\Boost\Install\CodeEnvironment\CodeEnvironment and implement name(): string.
  • On boot, the bundle registers each environment with Laravel\Boost\Boost::registerCodeEnvironment($name, $class).

Usage

Out of the box, the environment classes in src/CodeEnvironments are registered automatically.

Adding Your Own Environment

Create a class in src/CodeEnvironments that extends Boost’s \Laravel\Boost\Install\CodeEnvironment\CodeEnvironment and implement the required methods.

Drop the file in src/CodeEnvironments and it will be discovered automatically on the next boot.

Conventions

No dedicated configuration file is required; the bundle follows these conventions:

  • Files are read from src/CodeEnvironments
  • Class names must be ucfirst (first letter uppercase)
  • name() must return a lowercase string

Contributing

Contributions are welcome! Please:

  • Fork the repository and create a feature branch
  • Keep changes focused and follow the existing style
  • Run composer lint before submitting
  • Open a pull request and follow the guideline template

Security Vulnerabilities

Please report any security issues directly to the maintainer via GitHub issues or email.

License

The MIT License (MIT). See LICENSE for details.

统计信息

  • 总下载量: 83
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 0
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-10-16