cjmellor/boost-ide-bundle

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

Installs: 2

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 0

Forks: 1

pkg:composer/cjmellor/boost-ide-bundle

v1.0.0 2025-10-16 22:24 UTC

This package is auto-updated.

Last update: 2025-10-17 10:49:17 UTC


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.