jordanpartridge/conduit-test-dev-component
A Laravel/PHP development component for Conduit that helps scaffold, test, and verify component behavior in local and testing environments. Useful for package developers working with Conduit workflows.
This is an initial v1.0.0 release, so treat it as a greenfield dependency: there is no migration path to worry about, but also no documented public API beyond installation. The release notes describe it as a Conduit CLI component — i.e. it plugs into a Conduit CLI application (the Laravel-flavoured console toolkit) rather than into a standard HTTP Laravel app.
Minimal steps:
composer require jordanpartridge/conduit-test-dev-component
Then, in order:
1.0.0 component, vendor/jordanpartridge/conduit-test-dev-component/src/ plus its composer.json (extra.laravel.providers, extra.conduit.*, autoload maps) tells you far more than the release notes. Look for a ServiceProvider and any command classes.php conduit list (or php artisan list if the app exposes commands that way) and diff against the list from before installation. New commands are the component's actual surface area.require-dev, not require. Verify whether its provider is safe to boot in production before deciding — see Gotchas.First use case: install it into an existing Conduit CLI app and use it to scaffold or assert your command test suite (Pest/PHPUnit around console commands), rather than as a runtime feature.
Register the component explicitly if Conduit expects a manifest entry. Auto-discovery via extra.laravel.providers works for Laravel-style packages, but Conduit components are often listed in the host app's component/config manifest. Check both; a silently-unregistered component is the most common "it installed but does nothing" outcome.
Keep it in require-dev and gate the provider.
"require-dev": {
"jordanpartridge/conduit-test-dev-component": "^1.0"
}
If the host app runs composer install --no-dev in production, the provider simply won't exist — that's the cleanest isolation for a dev component, provided nothing in require references its classes at compile time.
Pair it with a command-test harness. The practical day-to-day value of a dev component is asserting console behaviour:
it('runs the component command', function () {
$this->artisan('your:command', ['arg' => 'value'])
->expectsOutputToContain('expected')
->assertExitCode(0);
});
If the component ships its own test base class or fixtures, extend those instead of hand-rolling a Testbench setup — that's usually the whole reason the package exists.
Use it in CI as a dev dependency. Add the composer step to your pipeline with dev dependencies installed, run the suite, and treat the component's own commands as smoke tests for your CLI wiring.
Compose with existing components. In a Conduit app, components are meant to stack. Where the package exposes bindings or extension hooks, override them in your app's provider rather than forking the vendor code.
1.0.0. Pin to ^1.0 and read the source. Expect the public API to shift in 1.x minor releases until it stabilises; treat internal classes as off-limits.require vs require-dev matters more than usual. A dev component that registers commands unconditionally will show up in production list output and can fail if it depends on packages excluded by --no-dev.bootstrap/providers.php or config/app.php? config cached (php artisan config:clear, php conduit config:clear)? In CLI contexts a stale cached config is a frequent culprit.list will show one entry and the resolution order is provider registration order — check yours.-vvv on the command plus the full stack trace is faster than reasoning about it.vendor:publish --tag=...). Those are the three seams most Conduit components expose.composer show jordanpartridge/conduit-test-dev-component (confirm version and deps) → list (confirm commands) → -vvv (confirm runtime failures) → provider's register()/boot() (confirm what it actually does).How can I help you explore Laravel packages today?