-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Sergii Pryz edited this page Jan 5, 2025
·
13 revisions
Welcome to the Transfer Object Generator!
This tool helps generating Transfer Objects (TO) based on well structured array or YML definitions, making it easier to manage and use TOs in your PHP projects.
The TO Generator uses modern PHP features and best practices, such as:
-
PHP 8.4 Property Hooks
: utilizes the latest PHP 8.4 property hooks feature. -
FixedArray
: usesFixedArray
for efficient memory usage as the main storage. -
Fibers
: implements fibers for interruptible execution. -
Attributes
: uses PHP attributes for TO metadata. -
Interfaces
: implements standard interfaces such asIteratorAggregate
,JsonSerializable
, andCountable
.
-
Generate Transfer Objects: console command to generate TOs from
YML
definitions. - Generate Definitions: build TOs Definitions from well structured array.
- Supported Types: BakedEnums, TO Collections, and more.
- Docker Environment: ready to use Docker environment for easy contribution.