{"repo":"picamator/transfer-object","free":true,"listed":false,"github":"https://github.com/picamator/transfer-object","clone":"git clone https://github.com/picamator/transfer-object.git","description":"A modern Symfony-compatible Transfer Object Generator with property hooks, FixedArray, and asymmetric visibilities.","language":"PHP","stars":21,"topics":["code-generator","data-transfer-object","php","dto","automation","generator","symfony","transfer-object","dto-generator","symfony-console"],"license":"MIT","category":"workflow-automation","readme_excerpt":"Transfer Object Generator ========================== Would you like to build Symfony-compatible transfer objects? You're in the right place! 🎉 Imagine you have a Rest API response: Running the following interactive console command: Generates a YML definition file: Then, running console command: Builds the transfer object: Key Features ------------ Symfony Compatibility: Provides Symfony console command: TransferGeneratorCommand TransferGeneratorBulkCommand DefinitionGeneratorCommand Includes Symfony services: TransferGeneratorFacade DefinitionGeneratorFacade Enables automatic Symfony request query data mapping Supports Symfony validator attributes Transfer Object: Offers methods: fromArray() toArray() Implements standard interfaces: IteratorAggregate JsonSerializable Countable Handles embedded and collection transfer objects. Works with PHP primitive data types. Extends compatibility to advanced types: BackedEnum DateTime DateTimeImmutable BcMath\\Number Supports asymmetric property visibility. Integrates with external transfer objects. Installation ------------ Composer installation: The Transfer Object Generator is available on Packagist and can be installed using Composer: Version PHP Symfony --------- ----- --------- ≤ 4.0.0 8.4 7.3 ≥ 5.0.0 8.5 8.0 Directory Structure: After installation, the following directory structure is recommended: src/Generated : transfer objects directory src/config/generator.config.yml : generator's configuration file src/config/definition/ .tran","default_branch":null,"files":null,"tree":[],"storefront":"/r/picamator","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/picamator/transfer-object/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}