Looking to hire Laravel developers? Try LaraJobs

laravel-types maintained by matemat

Description
Generates TypeScript interfaces from laravel migrations and form requests
Author
Last update
2025/01/23 15:49 (dev-main)
License
Downloads
6

Comments
comments powered by Disqus

Laravel Types

Composer package to generate TypeScript interfaces from laravel migrations and form requets

Installation

  1. Install package - using composer
composer require matemat/laravel-types
  1. Publish the package's configuration file using the following command:
php artisan vendor:publish --tag=tg-config
  1. Modify your migrations and form requests paths in the configuration file:
your_project/config/type-generator.php
  1. Run the Artisan console command to generate TypeScript interfaces:
php artisan matemat:generate-types