crustum / inertia-ui
CakePHP Inertia starter: bake controllers and pages plus a Vue/React frontend scaffold
Package info
Language:TypeScript
Type:cakephp-plugin
pkg:composer/crustum/inertia-ui
Requires
- php: >=8.4
- cakedc/users: ^16.0
- cakephp/cakephp: ^5.4
- crustum/inertia-cakephp: dev-main
- crustum/viator: dev-main
Requires (Dev)
- cakedc/cakephp-phpstan: ^4.3
- cakephp/bake: ^3.8
- cakephp/cakephp-codesniffer: ^5.3
- crustum/plugin-manifest: ^1.2
- phpstan/phpstan: ^2.3
- phpunit/phpunit: ^11.1 || ^12.5 || ^13.0
- rector/rector: ^2.7
Suggests
- crustum/plugin-manifest: CakePHP plugin installer
Provides
None
Conflicts
None
Replaces
None
This package is not auto-updated.
Last update: 2026-11-19 16:47:52 UTC
README
The InertiaUI plugin is the bake-and-scaffold companion to the InertiaCakephp protocol adapter (crustum/inertia-cakephp). It generates Inertia controllers with DTO type-hints and matching Vue or React pages from your tables, and scaffolds a minimal frontend runtime (entry, layout, helpers, types, demo page, Vite + TypeScript setup) into the host application.
Baked pages bind to server-built links and the shared form row pattern, while baked controllers declare only queries, DTO type-hints, and components — the layout, the validation-failure status, and the paginated table payload live in shared behavior. Auth pages come from the scaffold itself, served by opt-in starter routes pointing at the host UsersController.
Requirements
- PHP 8.4+
crustum/inertia-cakephpcrustum/viatorcakedc/users
See Versions.md for the supported CakePHP versions.
Documentation
For documentation, as well as tutorials, see the docs directory of this repository.
License
Licensed under the MIT License. Redistributions of the source code included in this repository must retain the copyright notice found in each file.