PHPackages                             cblink/laravel-dto - 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. cblink/laravel-dto

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

cblink/laravel-dto
==================

Package description here.

v3.0.0(1y ago)213.8k9MITPHPPHP ^8.2

Since May 27Pushed 1y ago3 watchersCompare

[ Source](https://github.com/cblink/laravel-dto)[ Packagist](https://packagist.org/packages/cblink/laravel-dto)[ RSS](/packages/cblink-laravel-dto/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)Dependencies (4)Versions (26)Used By (9)

 laravel-dto
=============

[](#-laravel-dto-)

 .

Installing
----------

[](#installing)

```
# 1.x与2.x完全不兼容，2.x版本还在测试中，请勿使用
$ composer require cblink/laravel-dto ^1.0 -vvv
```

生成DTO
-----

[](#生成dto)

```
// 默认将创建到项目 /app/DTO 目录
php artisan make:dto BaseDTO

// 创建到指定目录 /Domain/DTO 目录
php artisan make:dto TestDTO --path Domain/DTO
```

Contributing
------------

[](#contributing)

You can contribute in one of three ways:

1. File bug reports using the [issue tracker](https://github.com/cblink/laravel-dto/issues).
2. Answer questions or fix bugs on the [issue tracker](https://github.com/cblink/laravel-dto/issues).
3. Contribute new features or update the wiki.

*The code contribution process is not very formal. You just need to make sure that you follow the PSR-0, PSR-1, and PSR-2 coding guidelines. Any new code contributions must be accompanied by unit tests where applicable.*

License
-------

[](#license)

MIT

###  Health Score

45

—

FairBetter than 92% of packages

Maintenance46

Moderate activity, may be stable

Popularity25

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity78

Established project with proven stability

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

Recently: every ~194 days

Total

25

Last Release

416d ago

Major Versions

v0.3.0 → v1.0.02020-07-09

v1.1.0 → v2.0.02021-09-18

v1.1.2 → v2.1.02023-02-06

1.x-dev → 3.x-dev2025-03-22

PHP version history (4 changes)v1.1.0PHP &gt;=7.2

v2.0.0PHP ^7.2|^8.0

v1.1.1PHP ^7 || ^8

3.x-devPHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/8a33f3d22f7c5ba81df984215eda327fe21f224f59a8a8cb404138042ec9f788?d=identicon)[overnic](/maintainers/overnic)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/cblink-laravel-dto/health.svg)

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

PHPackages © 2026

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