spiral/testing
Testing SDK for Spiral Framework packages. Provides a custom TestCase with a TestApp so you can test packages without a full application setup. Configure root directory and bootloaders, and keep test app config under tests/app. PHP 8.1+, Spiral 3.15+.
This package is explicitly designed for the Spiral framework, not Laravel. Spiral and Laravel are fundamentally different PHP frameworks with distinct architecture, bootstrapping mechanisms, and service container implementations. Attempting to use spiral/testing in a Laravel project would require rewriting the package to conform to Laravel's ecosystem, which is impractical. Integration feasibility is near-zero due to incompatible core dependencies (e.g., Spiral's Kernel vs. Laravel's Application class). Technical risks include dependency conflicts, broken test bootstrapping, and inability to resolve services. Key questions: Was this package mistakenly referenced for Laravel? Does the team understand the framework mismatch? Are there Laravel-specific testing tools (e.g., Orchestra Testbench, Pest) being overlooked?
No stack fit exists—Spiral's testing layer is incompatible with Laravel's architecture. Migration path is nonexistent; the package cannot be adapted without a complete rewrite. Compatibility is zero: Laravel's service container, routing, and event system differ fundamentally from Spiral's implementation. Sequencing is irrelevant since integration is impossible. The only viable path is to abandon this package and use Laravel-native testing tools (e.g., phpunit, laravel/dusk, or pestphp).
Maintenance would be unsustainable due to the framework mismatch—any custom modifications would require ongoing effort to sync with both Spiral and Laravel updates. Support is nonexistent for Laravel use cases. Scaling is irrelevant as the package cannot function in Laravel. Failure modes would include test failures from unresolved services, incorrect environment bootstrapping, and dependency conflicts. Ramp-up would be high for developers to force-fit an incompatible tool, but this effort is wasted—Laravel's native testing ecosystem is mature, well-documented, and requires zero adaptation.
How can I help you explore Laravel packages today?