matemat/laravel-types

Generates TypeScript interfaces from laravel migrations and form requests

Installs: 6

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

pkg:composer/matemat/laravel-types

1.0.1 2025-01-23 14:49 UTC

This package is auto-updated.

Last update: 2025-12-23 16:47:38 UTC


README

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