Illuminate\Support\ServiceProvider) or standalone PHP libraries would be required.phpunit, laravel/testcase) or packages like orchestra/testbench (for testing Laravel packages) are more appropriate.monolog, twig) may clash with Laravel’s versions.Bundle system relies on kernel events, container compilation, and routing—none of which align with Laravel’s architecture.orchestra/testbench or Laravel’s built-in testing tools fulfill the same need?TestUtilitiesServiceProvider).// Hypothetical extracted library
composer require vendor/test-utils
// Laravel Service Provider
namespace App\Providers;
use Vendor\TestUtils\TestHelper;
class TestUtilitiesServiceProvider extends ServiceProvider {
public function register() {
$this->app->singleton(TestHelper::class, fn() => new TestHelper());
}
}
TestCase, Assertions, or Fixtures that could be decoupled.Mockery instead of Symfony’s HttpKernel).composer require and a Service Provider.Container, EventDispatcher, and HttpKernel have no Laravel equivalents.composer why-not vendor/test-utils to check for conflicts.orchestra/testbench or Laravel’s native testing tools.UPGRADING.md.orchestra/testbench issues for alternatives.HttpKernel or EventDispatcher would add unnecessary overhead for testing.Bundle lifecycle (e.g., boot(), build()) won’t work in Laravel, causing runtime errors.psr/log, symfony/console) may break autoloading.How can I help you explore Laravel packages today?