Skip to content

feat: Laravel support#6

Draft
AlwinGarside wants to merge 10 commits into
mainfrom
feature/Laravel-Support
Draft

feat: Laravel support#6
AlwinGarside wants to merge 10 commits into
mainfrom
feature/Laravel-Support

Conversation

@AlwinGarside
Copy link
Copy Markdown
Contributor

No description provided.

Introduce shared Docker Compose execution primitives so Composer and Laravel flows use the same command building and service startup behavior.

Add Laravel autodiscovery support, publishable config, console entry matching, and integration coverage for Artisan and custom bootstrap redirection.
Composer applies -d before plugin execution, so workdir inference should use the active process CWD instead of Composer's private config baseDir. This maps bind volumes and translated Composer arguments from the directory where the redirected command actually runs.

Keep Laravel redirection project-root based because its redirector receives an explicit Laravel project root for entrypoint absolutization and path translation.

Also documents the active-CWD inference behavior and adds regression coverage for exact and ancestor bind mappings plus Composer command path translation limits.
@AlwinGarside AlwinGarside self-assigned this May 15, 2026
@AlwinGarside AlwinGarside force-pushed the feature/Laravel-Support branch from 1a365aa to 5bd7199 Compare May 15, 2026 20:18
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 16, 2026

Code Coverage Summary (windows)

Code Coverage

Package Line Rate Branch Rate Health
ComposerProcessRunner.php 100% 100%
DockerComposeCommandBuilder.php 100% 100%
DockerComposeExecutionResult.php 100% 100%
DockerComposerConfig.php 100% 100%
DockerComposeResolvedOptions.php 100% 100%
DockerComposerPlugin.php 100% 100%
DockerComposeRunner.php 100% 100%
DockerComposeWorkdirResolution.php 100% 100%
DockerComposeWorkdirResolver.php 100% 100%
EnvironmentContainerDetector.php 100% 100%
Laravel\Config.php 100% 100%
Laravel\ConsoleEntry.php 100% 100%
Laravel\Redirector.php 100% 100%
Laravel\ServiceProvider.php 100% 100%
ShellProcessRunner.php 100% 100%
Summary 100% (908 / 908) 100% (0 / 0)

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 16, 2026

Code Coverage Summary (ubuntu)

Code Coverage

Package Line Rate Branch Rate Health
ComposerProcessRunner.php 100% 100%
DockerComposeCommandBuilder.php 100% 100%
DockerComposeExecutionResult.php 100% 100%
DockerComposerConfig.php 100% 100%
DockerComposeResolvedOptions.php 100% 100%
DockerComposerPlugin.php 100% 100%
DockerComposeRunner.php 100% 100%
DockerComposeWorkdirResolution.php 100% 100%
DockerComposeWorkdirResolver.php 100% 100%
EnvironmentContainerDetector.php 100% 100%
Laravel/Config.php 100% 100%
Laravel/ConsoleEntry.php 100% 100%
Laravel/Redirector.php 100% 100%
Laravel/ServiceProvider.php 100% 100%
ShellProcessRunner.php 100% 100%
Summary 100% (908 / 908) 100% (0 / 0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant