composer.json
{
"name": "meyfa/php-svg",
"homepage": "https://github.com/meyfa/php-svg",
"type": "library",
"description": "Read, edit, write, and render SVG files with PHP",
"keywords": ["svg"],
"license": "MIT",
"authors": [
{
"name": "Fabian Meyer",
"homepage": "https://meyfa.net"
}
],
"require": {
"php": ">=7.4.0"
},
"require-dev": {
"phpunit/phpunit": "^9.6.16",
"meyfa/phpunit-assert-gd": "^v3.0.0",
"phpmd/phpmd" : "^2.15.0",
"rector/rector": "^1.0"
},
"suggest": {
"ext-gd": "Needed to rasterize images",
"ext-simplexml": "Needed to read SVG strings and files"
},
"autoload": {
"psr-4": {
"SVG\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"SVG\\Tests\\": "tests/"
}
}
}