Skip to content

Install & Run ​

Built on Laravel 13 / PHP 8.3+.

Local development ​

bash
composer install && npm install
bash
php artisan migrate --seed
bash
composer run dev

Nothing happens in the browser?

Usually the front end isn't built: run npm run dev or npm run build. All three core modules live in the Vite bundle; without a build, no attribute gets bound.

Docker ​

A single FrankenPHP container (Caddy and PHP in one process), SQLite by default, data kept in storage/.

bash
cp compose.yaml.example compose.yaml
docker compose up -d --build

Open http://localhost:8088 and register an account at /register to start.

APP_KEY

The renderBlade and Linker POST routes share a site-specific prefix derived from APP_KEY (/{prefix}/render, /{prefix}/linker, …). Every server of the same site must use the same key, and open pages must be reloaded after the key changes. See docs/site-endpoints.md in the repo.

Pages worth visiting first ​

These aren't demo shells. They are where real modules pushed the design until it broke. Keep them open while reading the tutorials and watch the Network panel and console in DevTools.

RouteWhat to look at
/calculator-demoState store + declarative bindings + permission boundaries (how far you get without writing JS)
/note/indexThe first complete module
/customer/indexThe first module moved to Linker, including avatar upload
/issue/indexUser and admin paths, with the state machine on the server
/ticket/indexModals, and two versions of a step-card wizard side by side
/file/indexFileDrop chunked uploads

Tests and checks ​

bash
php artisan test --compact
bash
php artisan linker:list

linker:list checks that the PHP action specs and the JS implementations match one-to-one. It belongs in CI.

This wiki ​

The wiki is a standalone VitePress site in wiki/ and does not touch the application's Vite config:

bash
cd wiki && npm install && npm run dev

Next: Your First Linker Component.