Files
2024-03-17 11:39:27 +07:00

64 lines
2.0 KiB
JSON

{
"name": "cakephp/migrations",
"description": "Database Migration plugin for CakePHP based on Phinx",
"type": "cakephp-plugin",
"keywords": ["cakephp", "migrations"],
"homepage": "https://github.com/cakephp/migrations",
"license": "MIT",
"authors": [
{
"name": "CakePHP Community",
"homepage": "https://github.com/cakephp/migrations/graphs/contributors"
}
],
"support": {
"issues": "https://github.com/cakephp/migrations/issues",
"forum": "https://stackoverflow.com/tags/cakephp",
"irc": "irc://irc.freenode.org/cakephp",
"source": "https://github.com/cakephp/migrations"
},
"require": {
"php": ">=5.6.0",
"robmorgan/phinx": "^0.10.3|^0.11.1",
"cakephp/orm": "^3.6.0",
"cakephp/cache": "^3.6.0"
},
"require-dev": {
"phpunit/phpunit": "^5.7.14|^6.0",
"cakephp/cakephp": "^3.6.0",
"cakephp/bake": "^1.7.0",
"cakephp/cakephp-codesniffer": "^3.0"
},
"autoload": {
"psr-4": {
"Migrations\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"Cake\\Test\\": "vendor/cakephp/cakephp/tests/",
"Migrations\\PHPStan\\": "tests/PHPStan/",
"Migrations\\Test\\": "tests/",
"TestApp\\": "tests/test_app/App/",
"TestBlog\\": "tests/test_app/Plugin/TestBlog/src/"
}
},
"suggest": {
"cakephp/bake": "If you want to generate migrations."
},
"minimum-stability": "dev",
"prefer-stable": true,
"scripts": {
"check": [
"@cs-check",
"@test"
],
"cs-check": "phpcs --colors -p src/ tests/",
"cs-fix": "phpcbf --colors -p src/ tests/",
"phpstan": "phpstan analyse src/",
"phpstan-setup": "cp composer.json composer.backup && composer require --dev phpstan/phpstan-shim:^0.11 && mv composer.backup composer.json",
"test": "phpunit",
"test-coverage": "phpunit --coverage-clover=clover.xml"
}
}