matemat / laravel-types
Generates TypeScript interfaces from laravel migrations and form requests
1.0.1
2025-01-23 14:49 UTC
Requires
- php: ^8.2
- laravel/framework: ^11.0
This package is auto-updated.
Last update: 2026-02-23 17:06:09 UTC
README
Composer package to generate TypeScript interfaces from laravel migrations and form requets
Installation
- Install package - using composer
composer require matemat/laravel-types
- Publish the package's configuration file using the following command:
php artisan vendor:publish --tag=tg-config
- Modify your migrations and form requests paths in the configuration file:
your_project/config/type-generator.php
- Run the Artisan console command to generate TypeScript interfaces:
php artisan matemat:generate-types