netgen/layouts-core
Core PHP library for Netgen Layouts, providing the foundation for building and managing dynamic page layouts. Includes APIs for layouts, reusable blocks, and targeting so applications can compose pages from configurable content components.
Architecture fit
netgen/layouts-core is a domain library, not a product: it provides the Layout / Zone / Block / BlockDefinition model, a rule-based targeting/resolution engine, and a Twig rendering pipeline. The authoring UI and REST surface live in sibling packages (layouts-admin, Symfony bundle), so adopting core alone gets you a rendering engine without an editor.Integration feasibility
Technical risk
symfony/* components (console, http-foundation, finder, process, error-handler). Constraint collisions on Symfony majors are a realistic blocker and should be audited before scoping.Key questions
RendererInterface, or is the Twig environment a hard dependency?Stack fit
LayoutResolver, BlockRenderer, and repository ports, and keep Netgen types out of controllers, models, and Blade views so the decision remains reversible.Migration path
Compatibility
composer why-not audits against the target Laravel version before scoping; pin exact Symfony component versions.Sequencing
Maintenance
Support
Scaling
Failure modes
Ramp-up
How can I help you explore Laravel packages today?