macpaw/schema-context-bundle
A Symfony bundle that provides a structured schema context layer, helping you define, organize, and share schema definitions consistently across your PHP application. Useful for projects that need reusable, metadata-driven configuration and cleaner separation between schema logic and application cod...
Architecture fit
-bundle suffix is the first red flag. Symfony bundles are a first-class packaging convention (a Bundle subclass, a DependencyInjection\Extension, prepend/CompilerPass hooks, Resources/config service definitions loaded by the Symfony kernel). Laravel has no bundle registry — it has service providers, a config repository, and a container with different lifecycle semantics. There is no drop-in path; adoption means re-hosting whatever services the bundle registers into an Illuminate\Support\ServiceProvider.Extension wiring, tagged services, or FrameworkBundle compiler passes is not.Integration feasibility
composer require in a scratch Laravel 11/12 app, inspect the vendor tree for Symfony\\Component\HttpKernel\Bundle\Bundle inheritance and Extension classes, and read whether the public API is a set of plain classes or a container-wired service graph, would settle the question.app/Support behind our own interface.Technical risk
Key questions
Bundle? Does it ship an Extension?)composer.json, and are there conflicts against our current lockfile?Stack fit
config/schema-context.php mapped from the bundle's semantic configuration, and expose the capability through a narrow first-party facade or contract so application code never imports the vendor namespace directly.symfony/framework-bundle or bootstrap a Symfony kernel inside Laravel to satisfy bundle conventions. That path ends in container duplication and two competing bootstraps.Migration path
composer require, inspect vendor tree, read the src directory end to end, produce a one-page finding on actual API shape and framework coupling. Kill criteria defined up front.SchemaContextProvider) and write contract tests against that interface only. Vendor types may not leak past the adapter.^), commit the lockfile, and add the package to a dependency-review list so it is re-evaluated on every Laravel or Symfony-component upgrade.app/Support/SchemaContext and drop the dependency. If the adapter is thin, this is a few hours of work and should be rehearsed once.Compatibility
composer why-not rather than trusting the README. Pay particular attention to symfony/http-kernel, symfony/dependency-injection, and symfony/config — Laravel pins these and a mismatch will either hard-fail or silently float to an untested combination.files autoloads or global function definitions, which are the usual source of conflict in shared-process environments like Octane.Sequencing
Maintenance
Support
Scaling
Failure modes
Ramp-up
How can I help you explore Laravel packages today?