$ account fumeapp
ModelTyper is a Laravel package that generates TypeScript interfaces and types from Eloquent models. It provides artisan commands (`model:typer` and `model:typer-mappings`) to inspect model columns, accessors, relationships, counts, exists, sums, enums, and custom interfaces, producing accurate TypeScript definitions. The architecture follows Laravel package conventions with a service provider, invokable action classes, and a custom override of Laravel's ModelInspector to support custom relationships and nullable return types. The codebase is well-structured, with comprehensive test coverage and support for multiple output formats (CLI, JSON, file). It is actively maintained and supports Laravel 11.33+ and PHP 8.2+.