oai-pmh2/composer.json

125 lines
5.7 KiB
JSON
Raw Normal View History

2024-01-03 16:54:13 +01:00
{
"name": "opencultureconsulting/oai-pmh2",
"description": "This is a stand-alone OAI-PMH 2.0 data provider. It serves records in any XML metadata format from a database, supports deleted records, resumption tokens and sets.",
"type": "project",
"keywords": [
"oai",
"oaipmh",
"oaipmh2",
"oai-pmh",
"oai-pmh2",
"code4lib"
],
"homepage": "https://github.com/opencultureconsulting/oai-pmh2",
"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": {
"issues": "https://github.com/opencultureconsulting/oai-pmh2/issues",
"source": "https://github.com/opencultureconsulting/oai-pmh2",
2024-07-18 14:10:36 +02:00
"docs": "https://opencultureconsulting.github.io/oai-pmh2/"
2024-01-03 16:54:13 +01:00
},
"require": {
"php": "^8.1",
"ext-dom": "*",
"ext-libxml": "*",
"ext-sqlite3": "*",
2024-09-30 19:37:29 +02:00
"doctrine/dbal": "^4.1",
2024-07-13 21:37:20 +02:00
"doctrine/orm": "^3.2",
2024-09-30 19:37:29 +02:00
"opencultureconsulting/basics": "^2.1",
"opencultureconsulting/psr15": "^1.2",
2024-01-03 16:54:13 +01:00
"symfony/cache": "^6.4",
"symfony/console": "^6.4",
"symfony/filesystem": "^6.4",
"symfony/validator": "^6.4",
"symfony/yaml": "^6.4"
},
"require-dev": {
2024-07-13 18:49:39 +02:00
"phpdocumentor/shim": "^3.5",
2024-08-09 12:29:36 +02:00
"phpmd/phpmd": "^2.15",
2024-09-30 19:37:29 +02:00
"phpstan/phpstan": "^1.12",
"phpstan/phpstan-doctrine": "^1.5",
2024-07-13 19:36:59 +02:00
"phpstan/phpstan-strict-rules": "^1.6",
2024-09-30 19:37:29 +02:00
"phpstan/phpstan-symfony": "^1.4",
"friendsofphp/php-cs-fixer": "^3.64",
2024-07-13 18:49:39 +02:00
"squizlabs/php_codesniffer": "^3.10",
2024-09-30 19:37:29 +02:00
"vimeo/psalm": "^5.26"
2024-01-03 16:54:13 +01:00
},
"autoload": {
"psr-4": {
"OCC\\OaiPmh2\\": "src/"
}
},
2024-07-13 18:49:39 +02:00
"config": {
"allow-plugins": {
"phpdocumentor/shim": true
}
},
2024-01-03 16:54:13 +01:00
"scripts": {
"pre-install-cmd": [
2024-07-18 14:10:36 +02:00
"@php -r \"if (!is_dir('./data')) { mkdir('./data', 0775); }\"",
"@php -r \"if (!file_exists('./config/config.yml')) { copy('./config/config.dist.yml', './config/config.yml'); }\""
2024-01-03 16:54:13 +01:00
],
"post-install-cmd": [
"@doctrine:clear-cache --quiet",
"@php bin/cli orm:generate-proxies --quiet"
],
"post-create-project-cmd": [
"@doctrine:initialize-database --quiet"
],
"doctrine:clear-cache": [
"@php bin/cli orm:clear-cache:metadata --flush",
2024-09-30 19:37:29 +02:00
"@php bin/cli orm:clear-cache:query",
2024-01-03 16:54:13 +01:00
"@php bin/cli orm:clear-cache:result --flush"
],
"doctrine:initialize-database": [
2024-07-20 12:00:15 +02:00
"@php bin/cli orm:schema-tool:update --force",
2024-01-04 05:21:54 +01:00
"@php bin/cli oai:formats:update --quiet"
2024-07-13 18:49:39 +02:00
],
"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-08-09 12:29:36 +02:00
"phpmd:check": [
"@php -r \"if (!file_exists('./.phpmd.xml')) { copy('./.phpmd.dist.xml', './.phpmd.xml'); }\"",
2024-09-30 19:37:29 +02:00
"@php vendor/bin/phpmd bin/,public/,src/ ansi .phpmd.xml --cache"
2024-08-09 12:29:36 +02:00
],
2024-07-13 18:49:39 +02:00
"phpstan:check": [
"@php vendor/bin/phpstan"
],
"psalm:check": [
"@php vendor/bin/psalm"
2024-07-13 21:37:20 +02:00
],
"psalm:check-security": [
"@php vendor/bin/psalm --taint-analysis"
2024-01-03 16:54:13 +01:00
]
},
"scripts-descriptions": {
"doctrine:clear-cache": "Clears the Doctrine/ORM metadata, query and result caches",
2024-07-13 18:49:39 +02:00
"doctrine:initialize-database": "Initializes a new database (NOT RECOMMENDED IN PRODUCTION!)",
"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-08-09 12:29:36 +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-13 18:49:39 +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-07-13 21:37:20 +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'."
2024-01-03 16:54:13 +01:00
}
}