php-basics/composer.json

101 lines
4.4 KiB
JSON
Raw Permalink Normal View History

2023-09-11 19:31:06 +02:00
{
2023-11-06 17:54:14 +01:00
"name": "opencultureconsulting/basics",
2024-02-09 22:57:20 +01:00
"description": "A collection of generic classes and useful traits for PHP projects.",
2023-09-11 19:31:06 +02:00
"type": "library",
"keywords": [
2023-11-15 12:01:40 +01:00
"ArrayAccess",
"Countable",
"Getter",
"Iterator",
"IteratorAggregate",
2024-02-11 19:05:56 +01:00
"Overloading",
"OverloadingGetter",
"OverloadingSetter",
2023-11-15 12:01:40 +01:00
"Setter",
"Singleton",
2024-03-31 18:34:21 +02:00
"StrictArray",
2024-02-05 15:37:02 +01:00
"StrictCollection",
2023-11-15 12:01:40 +01:00
"StrictList",
"StrictQueue",
"StrictStack",
2024-01-24 22:44:31 +01:00
"ThrowErrorException",
2024-03-31 18:34:21 +02:00
"TriggerExceptionError",
"TypeChecker"
2023-09-11 19:31:06 +02:00
],
2024-01-28 18:00:33 +01:00
"homepage": "https://opencultureconsulting.github.io/php-basics/",
2023-09-11 19:31:06 +02:00
"readme": "README.md",
"license": "GPL-3.0-or-later",
"authors": [
{
"name": "Sebastian Meyer",
"email": "sebastian.meyer@opencultureconsulting.com",
"homepage": "https://www.opencultureconsulting.com",
"role": "maintainer"
}
],
"support": {
2023-11-06 17:54:14 +01:00
"issues": "https://github.com/opencultureconsulting/php-basics/issues",
"source": "https://github.com/opencultureconsulting/php-basics",
2024-01-28 18:00:33 +01:00
"docs": "https://opencultureconsulting.github.io/php-basics/"
2023-09-11 19:31:06 +02:00
},
"require": {
2024-02-05 15:37:02 +01:00
"php": "^8.1"
2023-09-11 19:31:06 +02:00
},
2023-11-18 17:37:22 +01:00
"require-dev": {
2024-07-11 13:08:28 +02:00
"phpdocumentor/shim": "^3.5",
2024-09-07 21:28:43 +02:00
"phpmd/phpmd": "^2.15",
2024-09-07 21:29:14 +02:00
"phpstan/phpstan": "^1.12",
2024-07-11 13:08:28 +02:00
"phpstan/phpstan-strict-rules": "^1.6",
2024-09-07 21:29:14 +02:00
"friendsofphp/php-cs-fixer": "^3.64",
2024-07-11 13:08:28 +02:00
"squizlabs/php_codesniffer": "^3.10",
"vimeo/psalm": "^5.25"
2023-11-18 17:37:22 +01:00
},
2023-09-11 19:31:06 +02:00
"autoload": {
"psr-4": {
2023-11-06 17:54:14 +01:00
"OCC\\Basics\\": "src/"
2023-09-11 19:31:06 +02:00
}
2024-07-11 13:08:28 +02:00
},
"config": {
"allow-plugins": {
"phpdocumentor/shim": true
}
},
"scripts": {
"php-cs-fixer:check": [
"@php vendor/bin/php-cs-fixer check"
],
"php-cs-fixer:fix": [
"@php vendor/bin/php-cs-fixer fix"
],
"phpcs:check": [
"@php vendor/bin/phpcs"
],
"phpdoc:build": [
"@php vendor/bin/phpdoc"
],
2024-09-07 21:28:43 +02:00
"phpmd:check": [
"@php -r \"if (!file_exists('./.phpmd.xml')) { copy('./.phpmd.dist.xml', './.phpmd.xml'); }\"",
"@php vendor/bin/phpmd src/ ansi .phpmd.xml --cache --ignore-violations-on-exit"
],
2024-07-11 13:08:28 +02:00
"phpstan:check": [
"@php vendor/bin/phpstan"
],
"psalm:check": [
"@php vendor/bin/psalm"
2024-09-07 21:28:43 +02:00
],
"psalm:check-security": [
"@php vendor/bin/psalm --taint-analysis"
2024-07-11 13:08:28 +02:00
]
},
"scripts-descriptions": {
"php-cs-fixer:check": "Runs a code check with PHP Coding Standards Fixer and reports problems. If a custom configuration file '.php-cs-fixer.php' exists, it will be used instead of the default settings in '.php-cs-fixer.dist.php'.",
"php-cs-fixer:fix": "Runs a code check with PHP Coding Standards Fixer and tries to fix all issues. If a custom configuration file '.php-cs-fixer.php' exists, it will be used instead of the default settings in '.php-cs-fixer.dist.php'.",
"phpcs:check": "Runs a code check with PHP_CodeSniffer and reports problems. If a custom configuration file '.phpcs.xml' exists, it will be used instead of the default settings in '.phpcs.xml.dist'.",
"phpdoc:build": "Builds the documentation from source files in ./src and additional templates in .phpdoc/. If a custom configuration file 'phpdoc.xml' exists, it will be used instead of the default settings in 'phpdoc.dist.xml'.",
2024-09-07 21:28:43 +02:00
"phpmd:check": "Runs a code check with PHP Mess Detector static code analyzer and reports problems. If a custom configuration file '.phpmd.xml' exists, it will be used instead of the default settings in '.phpmd.dist.xml'.",
2024-07-11 13:08:28 +02:00
"phpstan:check": "Runs a code check with PHPStan static code analyzer and reports problems. If a custom configuration file 'phpstan.neon' exists, it will be used instead of the default settings in 'phpstan.dist.neon'.",
2024-09-07 21:28:43 +02:00
"psalm:check": "Runs a code check with Psalm static code analyzer and reports problems. If a custom configuration file 'psalm.xml' exists, it will be used instead of the default settings in 'psalm.xml.dist'.",
"psalm:check-security": "Runs a code check with Psalm static code analyzer and reports security issues. If a custom configuration file 'psalm.xml' exists, it will be used instead of the default settings in 'psalm.xml.dist'."
2023-09-11 19:31:06 +02:00
}
}