PHPackages                             ielfran/phptypes-bridge-laravel - 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. [API Development](/categories/api)
4. /
5. ielfran/phptypes-bridge-laravel

ActiveLibrary[API Development](/categories/api)

ielfran/phptypes-bridge-laravel
===============================

Laravel integration for PHPTypeS/bridge — Artisan commands, auto-discovery, and route scanning

v0.1.3(1mo ago)05MITPHPPHP ^8.1

Since May 27Pushed 1mo agoCompare

[ Source](https://github.com/Ielfran/phptypes-bridge-laravel)[ Packagist](https://packagist.org/packages/ielfran/phptypes-bridge-laravel)[ RSS](/packages/ielfran-phptypes-bridge-laravel/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (8)Versions (5)Used By (0)

ielfran/phptypes-bridge-laravel
===============================

[](#ielfranphptypes-bridge-laravel)

Laravel integration for ielfran/phptypes-bridge — Artisan commands, auto-discovery, and route scanning.

Requirements
------------

[](#requirements)

- PHP 8.1+
- Laravel 10, 11, 12, or 13

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

[](#installation)

```
composer require ielfran/phptypes-bridge ielfran/phptypes-bridge-laravel
```

Setup
-----

[](#setup)

```
php artisan phptypes:init
php artisan phptypes:generate
```

Important
---------

[](#important)

Every DTO returned from a controller must implement `\JsonSerializable`:

```
class BookDto implements \JsonSerializable
{
    use \App\DTOs\JsonSerializableDto; // auto-generated by bridge:generate
    public function __construct(...) {}
}
```

Commands
--------

[](#commands)

CommandDescription`phptypes:init`Publish config/phptypes.php`phptypes:generate`Generate TypeScript files`phptypes:validate`CI drift check

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance89

Actively maintained with recent releases

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 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 ~1 days

Total

4

Last Release

55d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/122223878?v=4)[Ielfran](/maintainers/Ielfran)[@Ielfran](https://github.com/Ielfran)

---

Top Contributors

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

---

Tags

apilaraveltypescriptBridgedtocodegen

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/ielfran-phptypes-bridge-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/ielfran-phptypes-bridge-laravel/health.svg)](https://phpackages.com/packages/ielfran-phptypes-bridge-laravel)
```

###  Alternatives

[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

77922.3M186](/packages/laravel-mcp)[psalm/plugin-laravel

Psalm plugin for Laravel

3345.3M347](/packages/psalm-plugin-laravel)[laravel/boost

Laravel Boost accelerates AI-assisted development by providing the essential context and structure that AI needs to generate high-quality, Laravel-specific code.

3.5k21.5M673](/packages/laravel-boost)[laravel/cashier

Laravel Cashier provides an expressive, fluent interface to Stripe's subscription billing services.

2.5k30.2M151](/packages/laravel-cashier)[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M246](/packages/laravel-ai)[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k15.1M136](/packages/laravel-pulse)

PHPackages © 2026

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