Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Antlers Layouts

Antlers Layouts Laravel Package

stillat/antlers-layouts

stillat/antlers-layouts adds reusable layout support to Antlers templates, letting you define shared page shells and inject view content for cleaner, DRY templates in Statamic and Laravel projects.

View on GitHub
Deep Wiki
Context7

Antlers Layouts is a Statamic addon that allows you to extend arbitrary layouts and pass data to your template's layouts.

Frequently asked questions about Antlers Layouts
What is stillat/antlers-layouts used for?
It is a Statamic addon that lets Antlers templates extend arbitrary layouts and pass data into those layouts. It is useful when you want reusable page shells or shared layout structures without repeating template markup. The package is installed via Composer and fits Statamic projects running in Laravel applications.
How do I install stillat/antlers-layouts?
Install it with Composer using the package name stillat/antlers-layouts, then follow the addon registration or configuration steps documented in the repository. Commit your Composer lockfile so deployments resolve the same package and dependency versions. In a Statamic project, confirm the installed package version is compatible with your Statamic and Laravel versions before using it in production.
Does stillat/antlers-layouts support Statamic 6?
Version 2.1.1 is described as a compatibility release that adds Statamic 6 support. That makes it a potential upgrade path, but the release note alone does not prove full compatibility with your application. Validate it against your exact Statamic 6, Laravel, and PHP versions in a staging or branch environment.
Which Laravel and PHP versions are supported by stillat/antlers-layouts?
The supported Laravel and PHP versions depend on the package Composer constraints and the Statamic 6 requirements they allow. Review the package composer.json and test against your target application versions rather than assuming broad compatibility. A patch-level release adding major-platform support can hide dependency resolution changes, so confirm the full version matrix before upgrading.
How do I pass data to a layout with Antlers Layouts?
Antlers Layouts is designed to let templates extend arbitrary layouts and pass data to them. Use the addon's documented Antlers syntax in your templates to define the layout and provide the data your shared shell needs. Check the repository README for the exact tag or directive syntax, then verify rendering in a local or staging environment.
How is Antlers Layouts different from native Statamic layouts and partials?
Statamic and Antlers already provide layout, include, and partial-style template features for common reuse patterns. Antlers Layouts focuses on extending arbitrary layouts and passing data into those layouts, which can help when shared page shells need more flexible composition. Evaluate whether native template inheritance is sufficient before adding another addon to your stack.
Can I use stillat/antlers-layouts in production?
It can be used in production if it is validated against your exact Statamic 6, Laravel, and PHP versions and covered by application regression tests. Because v2.1.1 adds major-platform support as a patch release, inspect the diff and changelog rather than treating it as a routine update. Upgrade in a branch or staging environment with a committed lockfile and a rollback plan before deploying.
Does stillat/antlers-layouts v2.1.1 contain breaking changes or migration steps?
The release note only states Statamic 6 support and does not provide a detailed changelog in the available context. Review the actual diff and repository release notes to determine whether there are behavioral or API changes. Check whether published config or assets need republishing and run your application test suite after upgrading.
Are there automated tests or CI coverage for Statamic 6 compatibility in stillat/antlers-layouts?
The provided release information does not confirm whether Statamic 6 support is covered by CI or automated tests. Check the repository for CI configuration, test suites, and compatibility badges before relying on the release. If coverage is unclear, add application-level regression tests for the templates and layouts that depend on the addon.
What are alternatives to stillat/antlers-layouts for reusable layouts in Statamic?
Native Antlers layouts, includes, partials, and template inheritance are the first alternatives to evaluate for shared page shells. Custom template structures or other Statamic addons may also fit if you do not need to extend arbitrary layouts with injected data. Choose based on how much layout flexibility your templates require and how much upgrade risk your team can maintain.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
robertmarney/lara-hierarchial-collections
simonschaufi/rule-doc-generator
emissaoja/emissaoja
blackbricksoftware/gravityforms-civicrm-form-processor
al-rahabi/fancy-crud
jinas/dhivatar-component
mltstephane/laravel-quality
bernskiold/laravel-talentlms
bernskioldmedia/laravel-form-architect