PROJECT STORY / DEVELOPER TOOL
LaraTS
An open-source CLI developer tool that scans project structure, generates architecture docs and Mermaid diagrams, and scaffolds contextual modules for Laravel, TypeScript, and JavaScript projects.
Developer tooling
CLI · Open source
TypeScript / Node.js / CLI
$ npx larats scan
ARCHITECTURE.md · Mermaid diagram
Laravel / TypeScript / JavaScript
$ npx larats scaffold Payment --dry-run
Usage example · preview without writing files
$ npx larats ai --copy
Architecture context for editors and AI
A CLI for visualizing architecture and scaffolding modules in Laravel, TypeScript, and JavaScript projects. Scanning generates structural documentation and Mermaid diagrams.
Role & contribution
This project explores making code structure easier to understand and helping developers scaffold modules consistently.
What went into it
- Structure scanning and architecture visualization.
- Contextual module scaffolding for the detected stack.
- Architecture context packaging and technology documentation.
- Public npm package support and open-source ecosystem integration.
Outcome
Available as an official npm package (larats) and recognized as an open-source contributor in the XERJ ecosystem (hub.xerj.org). Source code available on GitHub.