-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Sergii Pryz edited this page Sep 13, 2025
·
19 revisions

Welcome to the Symfony-compatible Transfer Object Generator!
This tool helps generate Transfer Objects based on well-structured array/json or YML definitions, making it easier to manage and use Transfer Objects in your PHP projects.
The Transfer Object Generator uses modern PHP features and best practices, such as:
-
PHP 8.4: utilizes the latest features such as property hooks and asymmetric visibility. -
FixedArray: usesFixedArrayfor efficient memory usage as the main storage. -
Fibers: implements fibers for interruptible execution. -
Attributes: uses PHP attributes for Transfer Object metadata. -
Lazy Objects: builds object only when they are used. -
Interfaces: implements standard interfaces such asIteratorAggregate,JsonSerializable, andCountable.
-
Generate Transfer Objects: console command to generate Transfer Objects from
YMLdefinitions. - Generate Definitions: console command to build Transfer Objects Definitions from well structured array.
- Supported Types: BakedEnums, Transfer Object Collections, and more.
- Docker Environment: ready to use Docker SDK for easy contribution.