PHPackages                             matemat/laravel-types - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. matemat/laravel-types

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

matemat/laravel-types
=====================

Generates TypeScript interfaces from laravel migrations and form requests

1.0.1(1y ago)06MITPHPPHP ^8.2

Since Jan 14Pushed 1y agoCompare

[ Source](https://github.com/matematio/laravel-types)[ Packagist](https://packagist.org/packages/matemat/laravel-types)[ Docs](https://github.com/matematio/laravel-types)[ RSS](/packages/matemat-laravel-types/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (1)Versions (4)Used By (0)

Laravel Types
=============

[](#laravel-types)

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

Installation
------------

[](#installation)

1. Install package - using composer

```
composer require matemat/laravel-types

```

2. Publish the package's configuration file using the following command:

```
php artisan vendor:publish --tag=tg-config

```

3. Modify your migrations and form requests paths in the configuration file:

```
your_project/config/type-generator.php

```

4. Run the Artisan console command to generate TypeScript interfaces:

```
php artisan matemat:generate-types

```

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance42

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~9 days

Total

2

Last Release

472d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3db1097f310226a4fc9d8e962153625ee6c47db2adbdcd79bda6536b0a870f1b?d=identicon)[matemat](/maintainers/matemat)

---

Top Contributors

[![RobertPapyan](https://avatars.githubusercontent.com/u/68157423?v=4)](https://github.com/RobertPapyan "RobertPapyan (4 commits)")

### Embed Badge

![Health badge](/badges/matemat-laravel-types/health.svg)

```
[![Health](https://phpackages.com/badges/matemat-laravel-types/health.svg)](https://phpackages.com/packages/matemat-laravel-types)
```

###  Alternatives

[tightenco/ziggy

Use your Laravel named routes in JavaScript.

4.3k41.6M267](/packages/tightenco-ziggy)[wireui/wireui

TallStack components

1.8k1.3M16](/packages/wireui-wireui)[ramonrietdijk/livewire-tables

Dynamic tables for models with Laravel Livewire

21147.4k](/packages/ramonrietdijk-livewire-tables)[nickurt/laravel-akismet

Akismet for Laravel 11.x/12.x/13.x

97139.6k2](/packages/nickurt-laravel-akismet)[sbine/route-viewer

A Laravel Nova tool to view your registered routes.

57215.9k](/packages/sbine-route-viewer)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
