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

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

sensorario/dto
==============

2.0.1(8y ago)08PHP

Since Jun 9Pushed 8y agoCompare

[ Source](https://github.com/sensorario/dto)[ Packagist](https://packagist.org/packages/sensorario/dto)[ RSS](/packages/sensorario-dto/feed)WikiDiscussions master Synced 3d ago

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

Dto
===

[](#dto)

Given a Dto like this:

```
class Person extends Dto
{
    public $name;
    public $surname;
}

```

available property names
------------------------

[](#available-property-names)

```
Person::getPropertyNames(); // [ 'name', 'surname', ];

```

properties accessibility
------------------------

[](#properties-accessibility)

```
$dto = Person::createFromArray([ 'name' => 'Simone', ]);

$dto->get('name'); // 'Simone'

```

properties as array
-------------------

[](#properties-as-array)

```
$dto = Person::createFromArray([
      'name' => 'Simone',
      'surname' => 'Gentili',
]);

$dto->asArray(); // [ 'name' => 'Simone', 'surname' => 'Gentili', ];

```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity67

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

Total

5

Last Release

3259d ago

Major Versions

1.0.0 → 2.0.02017-06-09

1.0.x-dev → 2.0.12017-06-12

### Community

Maintainers

![](https://www.gravatar.com/avatar/6deb026c846017d92a6feb598acbbf7ad4ac8852bdd39448647dee004402182f?d=identicon)[sensorario](/maintainers/sensorario)

---

Top Contributors

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

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

PHPackages © 2026

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