Generated PHP classes
Named getters, setters, field constants and type declarations come from your schema.
Define fields, generate PHP classes, and pass data through methods your IDE can check.
CakePHP DTO integrates php-collective/dto with CakePHP. A DTO carries data with named fields; it does not save records or replace ORM entities.
Start with one small DTO. The beginner guide creates a working class without a database or admin interface.
For shared DTO features, see the parent library documentation and php-collective/dto repository. Use this site for CakePHP setup, commands and ORM integration.