Search by

dereuromark / cakephp-dto

dereuromark

A CakePHP plugin for generating immutable Data Transfer Objects with full type safety

Package info

github.com/dereuromark/cakephp-dto

Homepage

Type:cakephp-plugin

pkg:composer/dereuromark/cakephp-dto

Statistics

Installs: 109 133

Dependents: 3

Suggesters: 0

Stars: 30

Open Issues: 0

3.1.0 2026-06-18 15:33 UTC

README

CI codecov Latest Stable Version Minimum PHP Version License Total Downloads Coding Standards

Generate typed data transfer objects from XML, PHP, YAML or NEON definitions. The plugin integrates php-collective/dto with CakePHP and adds console generation, entity mapping, JSON responses and schema import tools.

Generated DTOs have named getters, setters or immutable with...() methods. They carry data between application layers; ORM entities still represent persisted records.

Documentation

See the version map for older CakePHP branches and Composer constraints for package compatibility.

Examples

Try the Sandbox demo, browse definition examples, or inspect the generated test DTOs.