Skip to content

Automatically generates Typescript interfaces and types from Laravel migrations and from requests

License

Notifications You must be signed in to change notification settings

matematio/laravel-types

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 

About

Automatically generates Typescript interfaces and types from Laravel migrations and from requests

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages