composer.json
{
"name": "squirrelphp/entities",
"type": "library",
"description": "Simple, safe and flexible implementation of handling SQL entities and repositories as well as multi-table SQL queries while staying lightweight and straightforward.",
"keywords": [
"php",
"mysql",
"pgsql",
"sqlite",
"database",
"entities",
"repositories"
],
"homepage": "https://github.com/squirrelphp/entities",
"license": "MIT",
"authors": [
{
"name": "Andreas Leathley",
"email": "andreas.leathley@panaxis.ch"
}
],
"require": {
"php": ">=8.2",
"symfony/console": "^5.0|^6.0|^7.0",
"symfony/finder": "^5.0|^6.0|^7.0",
"squirrelphp/debug": "^2.0",
"squirrelphp/queries": "^2.0",
"squirrelphp/types": "^1.0"
},
"require-dev": {
"captainhook/captainhook-phar": "^5.0",
"captainhook/hook-installer": "^1.0",
"phpunit/phpunit": "^11.2",
"mockery/mockery": "^1.0",
"symfony/process": "^7.0"
},
"suggest": {
"squirrelphp/queries-bundle": "Symfony integration of squirrel/queries - automatic assembling of decorated connections",
"squirrelphp/entities-bundle": "Automatic integration of squirrel/entities in Symfony"
},
"config": {
"sort-packages": true,
"allow-plugins": {
"captainhook/captainhook-phar": true,
"captainhook/hook-installer": true
}
},
"extra": {
"captainhook": {
"config": "tools/captainhook.json"
}
},
"bin": [
"bin/squirrel_repositories_generate"
],
"autoload": {
"psr-4": {
"Squirrel\\Entities\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Squirrel\\Entities\\Tests\\": "tests/"
}
},
"scripts": {
"phpstan": "vendor-bin/phpstan/vendor/bin/phpstan analyse --configuration=tools/phpstan.neon",
"phpstan_full": "rm -Rf tools/cache/phpstan && vendor-bin/phpstan/vendor/bin/phpstan analyse --configuration=tools/phpstan.neon",
"phpstan_base": "vendor-bin/phpstan/vendor/bin/phpstan analyse --configuration=tools/phpstan.neon --generate-baseline=tools/phpstan-baseline.php",
"psalm": "vendor-bin/psalm/vendor/bin/psalm --config=tools/psalm.xml --show-info=false",
"psalm_full": "vendor-bin/psalm/vendor/bin/psalm --config=tools/psalm.xml --clear-cache && vendor-bin/psalm/vendor/bin/psalm --config=tools/psalm.xml --show-info=false",
"psalm_base": "vendor-bin/psalm/vendor/bin/psalm --config=tools/psalm.xml --set-baseline=tools/psalm-baseline.xml",
"phpunit": "vendor/bin/phpunit --configuration=tools/phpunit.xml.dist --colors=always",
"phpunit_clover": "vendor/bin/phpunit --configuration=tools/phpunit.xml.dist --coverage-text --coverage-clover build/logs/clover.xml",
"coverage": "XDEBUG_MODE=coverage vendor/bin/phpunit --configuration=tools/phpunit.xml.dist --coverage-html=tests/_reports",
"phpcs": "vendor-bin/phpcs/vendor/bin/phpcs --standard=tools/ruleset.xml --extensions=php --cache=tools/cache/.phpcs-cache --ignore=tests/TestEntities/NonRepositoryWithAttributeInUse.php,tests/TestEntities/UserNickname.php --colors src tests",
"phpcs_diff": "vendor-bin/phpcs/vendor/bin/phpcs -s --standard=tools/ruleset.xml --extensions=php --cache=tools/cache/.phpcs-cache --ignore=tests/TestEntities/NonRepositoryWithAttributeInUse.php,tests/TestEntities/UserNickname.php --colors src tests",
"phpcs_fix": "vendor-bin/phpcs/vendor/bin/phpcbf --standard=tools/ruleset.xml --extensions=php --cache=tools/cache/.phpcs-cache --ignore=tests/TestEntities/NonRepositoryWithAttributeInUse.php,tests/TestEntities/UserNickname.php --colors src tests",
"binupdate": "bin/vendorbin update",
"binoutdated": "bin/vendorbin outdated"
}
}