honed / layout
Create server-driven pages and layouts for Inertia.
Requires
- php: ^8.2
- illuminate/contracts: ^11.0||^12.0
- illuminate/support: ^11.0||^12.0
- inertiajs/inertia-laravel: ^2.0
Requires (Dev)
- larastan/larastan: ^3.0
- laravel/pint: ^1.18
- nunomaduro/collision: ^8.1
- orchestra/testbench: ^9.0.0||^10.0.0
- pestphp/pest: ^3.5.1
- pestphp/pest-plugin-arch: ^3.0.0
- pestphp/pest-plugin-laravel: ^3.0
- phpstan/extension-installer: ^1.4.3
- phpstan/phpstan-deprecation-rules: ^2.0.1
- phpstan/phpstan-phpunit: ^2.0.3
README
Caution: This package is currently under development and not ready for production use. Tag v1.0.0 will indicate a stable release.

Layout
Layout provides server-driven, persistent layouts for your Inertia.js pages, without need to supply the layout to each page using your frontend framework.
Installation
Requires PHP 8.2+
Requires Laravel 11+.
Requires Inertia.js 1.2+
Get started with the package by requiring it in your PHP project using Composer.
composer require honed/layout
Companion
Requires Vue.js 3.4+.
Requires Inertia.js 1.2+
Get started with the companion package by installing it as a node dependency via NPM.
npm install @honed/layout
Documentation
Please refer to the documentation for the usage of the package.
License
Layout was created by Joshua Wallace under the MIT license.