larakiln 0.3.0

Port Laravel PHP apps to a new Laravel runtime (Laravel Rust today) and check nothing was lost: audit, plan, codegen, route parity
larakiln-0.3.0 is not a library.

LaraKiln (preview)

An agent skill and CLI that ports a Laravel PHP app to a new Laravel runtime and checks nothing was lost on the way: audit, porting plan, code generation, item-by-item porting and route parity. The PHP app is only ever read.

Target Status
Laravel Rust Preview (laravel-rust 0.1.4)
Laravel for Go Planned
cargo install larakiln --locked   # or: cargo install --path tool --locked, from a clone
larakiln audit ../my-laravel-app --out inventory.json
larakiln feasibility inventory.json
larakiln manifest inventory.json --out PORTING.md
larakiln codegen inventory.json --rust ../my-rust-app
larakiln next PORTING.md --rust ../my-rust-app
larakiln route-parity inventory.json --rust ../my-rust-app

Every item gets green (verified mapping), yellow (needs a person) or red (no mapping). Nothing is guessed, and the PHP app is never written to. manifest turns the audit into PORTING.md, a checklist in dependency order (data, models, input, views, routes by controller, background work, tests), with red items set aside; re-running it keeps your ticks. codegen writes models, policies, migrations (for the test database), input structs, handler stubs, routes and views into the target app, never overwriting a file and marking every guess PORT-TODO. next prints the first unticked item with its PHP source, its generated stub and the PORT-TODO lines left in it. route-parity checks that every PHP route exists in the target app with the same methods and auth, and exits 1 on gaps, so it can run in CI.

Tested on: a Laravel Bootcamp Chirper app, the React and Livewire starter kits, Ping CRM and BookStack.

Laravel Nova is not supported. Nova is commercial, closed-source software from Laravel. LaraKiln doesn't port, convert or copy Nova code or its UI, and isn't affiliated with or endorsed by Laravel. Apps that use Nova get a red audit item: keep the Nova panel in PHP (behind the strangler config) under your own Nova licence, and port the rest of the app.

Install as a skill by copying this folder to .agents/skills/larakiln/ in your project. MIT licensed (see LICENSE).

LaraKiln is an independent project. It is not affiliated with or endorsed by Laravel. "Laravel" is a trademark of Laravel Holdings Inc.