Install & Run
Built on Laravel 13 / PHP 8.3+.
Local development
composer install && npm installphp artisan migrate --seedcomposer run devNothing 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/.
cp compose.yaml.example compose.yaml
docker compose up -d --buildOpen 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.
| Route | What to look at |
|---|---|
/calculator-demo | State store + declarative bindings + permission boundaries (how far you get without writing JS) |
/note/index | The first complete module |
/customer/index | The first module moved to Linker, including avatar upload |
/issue/index | User and admin paths, with the state machine on the server |
/ticket/index | Modals, and two versions of a step-card wizard side by side |
/file/index | FileDrop chunked uploads |
Tests and checks
php artisan test --compactphp artisan linker:listlinker: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:
cd wiki && npm install && npm run devNext: Your First Linker Component.