VOOZH about

URL: https://deepwiki.com/invokable/laravel-boost-copilot-cli/7.1-package-dependencies

⇱ Package Dependencies | invokable/laravel-boost-copilot-cli | DeepWiki


Loading...
Last indexed: 7 March 2026 (397730)
Menu

Package Dependencies

This page lists all runtime and development dependencies declared in composer.json1-82 with version constraints and the role each dependency plays in the package. For how dependencies are used in tests, see 6.2. For code style tooling, see 6.5. For CI/CD configuration that executes these tools, see 6.6.


Runtime Dependencies

These packages are installed in all environments where revolution/laravel-boost-copilot-cli is used.

PackageVersion ConstraintRole
php^8.2Minimum PHP version; required for modern type system features
illuminate/support^12.30||^13.0Laravel framework core — service provider base class, facades, event system
laravel/boost^2.0Provides the Agent base class, Boost::registerAgent(), boost:mcp, boost:install, and all MCP infrastructure

illuminate/support

CopilotCliServiceProvider extends Illuminate\Support\ServiceProvider composer.json13 which is supplied by this package. The event system (CommandStarting) used in the service provider's Testbench path also comes from this dependency.

laravel/boost

This is the central dependency. It defines:

  • The Agent abstract base class that CopilotCli extends.
  • The interfaces SupportsGuidelines, SupportsMcp, and SupportsSkills that CopilotCli implements.
  • The Boost::registerAgent() facade method called in CopilotCliServiceProvider::boot().
  • The boost:mcp Artisan command that acts as the MCP server process.
  • The boost:install command that uses CopilotCli's methods to generate config files.
  • The McpInstallationStrategy enum used by mcpServerConfig().

Without laravel/boost, none of the Agent registration or MCP server infrastructure exists.

Runtime dependency graph:


Sources: composer.json11-15


Development Dependencies

These packages are installed only in the package development environment (require-dev). They are not present in the production application.

PackageVersion ConstraintRole
orchestra/testbench^10.6Laravel application bootstrapping for package tests
pestphp/pest^4.1Test framework; runs all tests in tests/
pestphp/pest-plugin-laravel^4.0Pest integration with Laravel testing helpers
mockery/mockery^1.6Object mocking in unit tests
laravel/pint^1.25Code style formatter (Laravel preset)

orchestra/testbench

Testbench bootstraps a full Laravel application without a real Laravel project. The tests/TestCase.php file extends Orchestra\Testbench\TestCase, and testbench.yaml controls database, build steps, and discovery settings.

The CopilotCli class has a specific isRunningInTestbench() method that detects the TESTBENCH_CORE constant defined by this package. When true, the MCP server command is resolved to ./vendor/bin/testbench instead of php. See 4.2 and 2.4 for details.

pestphp/pest and pestphp/pest-plugin-laravel

All tests in tests/Feature/ and tests/ArchTest.php are written using Pest's functional syntax. The pest-plugin-laravel plugin provides Laravel-specific helpers (artisan(), get(), etc.) within the Pest environment.

The composer test script composer.json54 and composer test:coverage script composer.json55 both invoke the pest binary.

mockery/mockery

Used in feature tests where method isolation is needed. Mockery is automatically integrated with Pest via pest-plugin-laravel.

laravel/pint

Enforces consistent code style across src/ and tests/. Configured via pint.json with the laravel preset and declare_strict_types enabled. Invoked via:

  • composer lint — fix in place
  • composer test:lint — check only (used in CI)

See composer.json56-61

Development toolchain diagram:


Sources: composer.json17-22


PHP Version Support

The package requires PHP ^8.2 and is tested against PHP 8.3, 8.4, and 8.5 in CI (see 6.6). The illuminate/support constraint (^12.30||^13.0) tracks the Laravel 12 and 13 release lines. orchestra/testbench ^10.6 corresponds to this Laravel version range.

ComponentConstraint
PHP^8.2
Laravel (illuminate/support)^12.30 or ^13.0
Testbench^10.6

Sources: composer.json11-22