![]() |
VOOZH | about |
This page is a full reference for composer.json1-84 covering the package's identity metadata, runtime and development dependency constraints, PSR-4 autoload maps, Laravel provider auto-discovery entry, and all defined Composer scripts.
For how the service provider registered here integrates with the Boost framework at runtime, see 4.4. For the testing infrastructure that several of these scripts drive, see 7.4 and 6.1.
| Field | Value |
|---|---|
name | revolution/laravel-boost-phpstorm-copilot |
description | Laravel Boost Custom Agent for PhpStorm with GitHub Copilot plugin |
type | library |
license | MIT |
keywords | laravel, boost, phpstorm, github-copilot |
The type: library designation means Composer treats this as a reusable package with no executable entry point of its own.
Sources: composer.json1-10
require)| Package | Constraint | Purpose |
|---|---|---|
php | ^8.3 | Minimum PHP version; uses modern type system features |
illuminate/support | ^12.30||^13.0 | Laravel service provider base class and framework utilities |
laravel/boost | ^2.0 | Agent abstraction, SupportsMcp, SupportsGuidelines, SupportsSkills interfaces, and the boost:mcp / boost:install Artisan commands |
The double constraint on illuminate/support (^12.30||^13.0) allows the package to work with both the current and the next major Laravel release cycle.
Sources: composer.json12-16
require-dev)| Package | Constraint | Role in development |
|---|---|---|
laravel/pint | ^1.25 | Code style enforcement (PSR-12 + strict rules); see 6.3 |
orchestra/testbench | ^10.6 | Laravel application harness for package testing; provides vendor/bin/testbench |
pestphp/pest | ^4.1 | Test runner |
pestphp/pest-plugin-laravel | ^4.0 | Pest integration for Laravel-specific assertions |
mockery/mockery | ^1.6 | Mocking library used in detection strategy tests |
revolution/laravel-boost-copilot-cli | ^2.0 | Copilot CLI agent used in the workbench development environment |
None of the require-dev packages are shipped to end users who composer require this package.
Sources: composer.json17-24
PSR-4 namespace: Revolution\Laravel\Boost\
Root directory: src/
All production classes — PhpStormCopilot, PhpStormCopilotServiceProvider, and Concerns\WithWSL — live under src/ and are resolved via this single namespace prefix.
| Namespace | Directory | Contents |
|---|---|---|
Tests\ | tests/ | Pest test files |
Workbench\App\ | workbench/app/ | Workbench application classes |
Workbench\Database\Factories\ | workbench/database/factories/ | Model factories for the workbench app |
Workbench\Database\Seeders\ | workbench/database/seeders/ | Database seeders for the workbench app |
Sources: composer.json25-36
The extra.laravel.providers array tells Laravel's package auto-discovery mechanism to load PhpStormCopilotServiceProvider automatically when the package is installed into a Laravel application, without any manual registration in config/app.php.
When Composer runs post-autoload-dump, Laravel reads this entry and adds the provider to the discovered packages manifest. The provider's boot() method then calls Boost::registerAgent('phpstorm-copilot', PhpStormCopilot::class). See 4.4 for full details.
Autoload and discovery flow:
Sources: composer.json47-53
All scripts are defined under the scripts key and invoked with composer <name>.
| Script | Command(s) | Purpose |
|---|---|---|
test | pest | Run the full Pest test suite |
test:coverage | pest --coverage --coverage-clover build/logs/clover.xml | Run tests with Xdebug coverage and emit a Clover XML report |
lint | pint | Apply Laravel Pint code style fixes in-place |
test:lint | pint --test | Check code style without modifying files (non-zero exit on violation) |
boost | vendor/bin/testbench boost:install --no-interaction --ansi | Run the Boost install wizard inside the testbench workbench |
clear | @php vendor/bin/testbench package:purge-skeleton --ansi | Remove generated workbench skeleton files |
prepare | @php vendor/bin/testbench package:discover --ansi | Re-run package discovery for the workbench app |
build | @php vendor/bin/testbench workbench:build --ansi | Compile workbench assets and scaffold |
serve | @build + @php vendor/bin/testbench serve --ansi | Build and start a local HTTP server for the workbench app |
post-autoload-dump | @clear, @prepare, @build | Automatically refresh the workbench after every composer install or composer dump-autoload |
The post-autoload-dump hook means that after any dependency change (composer install, composer update, composer dump-autoload), the workbench is always left in a clean, ready state without manual intervention.
Script dependency graph:
Sources: composer.json55-78
Composer requires explicit opt-in for plugins that execute code during the install process. The pestphp/pest-plugin entry authorises the Pest plugin system to register itself during composer install.
Sources: composer.json79-83
Sources: composer.json12-24
Refresh this wiki