{
"name": "picamator/transfer-object",
"description": "A modern Symfony-compatible Transfer Object Generator with property hooks, FixedArray, and asymmetric visibilities.",
"keywords": [
"generator",
"code generator",
"data transfer object",
"dto",
"transfer object",
"symfony",
"automation"
],
"license": "MIT",
"authors": [
{
"name": "Sergii Pryz"
},
{
"name": "Community",
"homepage": "https://github.com/picamator/transfer-object/graphs/contributors"
}
],
"support": {
"issues": "https://github.com/picamator/transfer-object/issues",
"wiki": "https://github.com/picamator/transfer-object/wiki",
"security": "https://github.com/picamator/transfer-object/security/policy"
},
"autoload": {
"psr-4": {
"Picamator\\TransferObject\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Picamator\\Tests\\Unit\\TransferObject\\": "tests/unit/",
"Picamator\\Tests\\Integration\\TransferObject\\": "tests/integration/",
"Picamator\\Examples\\TransferObject\\": "examples/"
}
},
"require": {
"php": ">=8.4",
"composer-runtime-api": "^2.2",
"psr/container": "^2.0",
"symfony/console": "^7.0",
"symfony/filesystem": "^7.0",
"symfony/finder": "^7.0",
"symfony/yaml": "^7.0"
},
"require-dev": {
"captainhook/captainhook": "^5.24",
"phpstan/phpstan": "^2.0",
"phpunit/phpunit": "^12.0",
"squizlabs/php_codesniffer": "^3.11"
},
"suggest": {
"ext-bcmath": "Required for supporting BcMath Number."
},
"bin": [
"bin/transfer-generate",
"bin/definition-generate"
],
"config": {
"sort-packages": true
},
"prefer-stable": true,
"scripts": {
"phpunit": "./vendor/bin/phpunit --no-progress",
"phpstan": "./vendor/bin/phpstan analyse -c phpstan.neon --no-progress --memory-limit=512M",
"transfer-generate": "php ./bin/transfer-generate",
"definition-generate": "php ./bin/definition-generate",
"captainhook": "./vendor/bin/captainhook",
"phpcs": "./vendor/bin/phpcs -q --colors",
"phpcbf": "./vendor/bin/phpcbf -q --colors"
},
"scripts-descriptions": {
"phpunit": "Run unit and integration tests.",
"phpstan": "Perform static code analysis using PHPStan.",
"transfer-generate": "Generate Transfer Objects from YML definition templates.",
"definition-generate": "Create Transfer Object definition files based on JSON blueprints.",
"captainhook": "Manage and execute Git hooks.",
"phpcs": "Analyze code style using PHP CodeSniffer.",
"phpcbf": "Automatically fix coding style issues with PHP Code Beautifier and Fixer."
}
}
|