Skip to content

Commit c2cbaa1

Browse files
committed
Updates composer
Removes require-dev and scripts from plugins. These are not required.
1 parent 255b312 commit c2cbaa1

7 files changed

Lines changed: 17 additions & 141 deletions

File tree

plugins/bake/composer.json

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,12 @@
33
"description": "A bake template for RESTful CakePHP controllers",
44
"type": "cakephp-plugin",
55
"license": "MIT",
6-
"keywords": ["cakephp"],
6+
"keywords": ["cakephp","cakephp bake","cakephp scaffold"],
77
"require": {
88
"php": ">=7.2",
99
"cakephp/cakephp": "^4.0",
1010
"cakephp/bake": "^2.1"
1111
},
12-
"require-dev": {
13-
"phpunit/phpunit": "~8.5.0",
14-
"cakephp/cakephp-codesniffer": "^4.2",
15-
"phpstan/phpstan": "^0.12.32",
16-
"phpmd/phpmd": "^2.8"
17-
},
1812
"autoload": {
1913
"psr-4": {
2014
"MixerApi\\Bake\\": "src/"
@@ -26,21 +20,8 @@
2620
"MixerApi\\Bake\\Test\\App\\": "tests/test_app/App/"
2721
}
2822
},
29-
"scripts": {
30-
"check": [
31-
"@test",
32-
"@cs-check",
33-
"@stan",
34-
"@md"
35-
],
36-
"cs-check": "phpcs --colors -p --standard=vendor/cakephp/cakephp-codesniffer/CakePHP src/",
37-
"cs-fix": "phpcbf --colors --standard=vendor/cakephp/cakephp-codesniffer/CakePHP src/",
38-
"stan": "phpstan analyse src/",
39-
"test": "phpunit --colors=always",
40-
"md": "phpmd src/ ansi phpmd.xml",
41-
"coverage": "phpunit --coverage-html coverage-reports/"
42-
},
4323
"support": {
24+
"issues": "https://github.com/mixerapi/mixerapi-dev/issues",
4425
"source": "https://github.com/mixerapi/bake"
4526
},
4627
"authors": [

plugins/collection-view/composer.json

Lines changed: 2 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,12 @@
33
"description": "A simple Collection View for displaying pagination meta data in JSON or XML collection responses",
44
"type": "cakephp-plugin",
55
"license": "MIT",
6-
"keywords": ["cakephp"],
6+
"keywords": ["cakephp","cakephp json","cakephp view"],
77
"require": {
88
"php": ">=7.2",
99
"cakephp/cakephp": "^4.0",
1010
"adbario/php-dot-notation": "^2.2"
1111
},
12-
"require-dev": {
13-
"ext-json": "*",
14-
"ext-xml": "*",
15-
"ext-simplexml": "*",
16-
"ext-sqlite3": "*",
17-
"ext-mysqli": "*",
18-
"cakephp/cakephp-codesniffer": "^4.2",
19-
"phpmd/phpmd": "^2.9",
20-
"phpstan/phpstan": "^0.12.64",
21-
"phpunit/phpunit": "~8.5.0"
22-
},
2312
"autoload": {
2413
"psr-4": {
2514
"MixerApi\\CollectionView\\": "src/"
@@ -31,20 +20,8 @@
3120
"MixerApi\\CollectionView\\Test\\App\\": "tests/test_app/src"
3221
}
3322
},
34-
"scripts": {
35-
"analyze": [
36-
"@test",
37-
"@phpcs",
38-
"@phpstan"
39-
],
40-
"test": "phpunit --colors=always",
41-
"phpcs": "phpcs --colors -p --standard=vendor/cakephp/cakephp-codesniffer/CakePHP src/",
42-
"phpbf": "phpcbf --colors --standard=vendor/cakephp/cakephp-codesniffer/CakePHP src/",
43-
"phpstan": "phpstan analyse src/",
44-
"md": "phpmd src/ ansi phpmd.xml",
45-
"coverage": "phpunit --coverage-html coverage-reports/"
46-
},
4723
"support": {
24+
"issues": "https://github.com/mixerapi/mixerapi-dev/issues",
4825
"source": "https://github.com/mixerapi/collection-view"
4926
},
5027
"authors": [

plugins/core/composer.json

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,12 @@
33
"description": "MixerAPI Core libraries",
44
"type": "library",
55
"license": "MIT",
6-
"keywords": ["mixerapi"],
6+
"keywords": ["mixerapi","cakephp"],
77
"require": {
88
"php": ">=7.2",
99
"cakephp/cakephp": "^4.0",
1010
"thecodingmachine/class-explorer": "^1.1"
1111
},
12-
"require-dev": {
13-
"phpunit/phpunit": "~8.5.0",
14-
"cakephp/cakephp-codesniffer": "^4.2",
15-
"phpstan/phpstan": "^0.12.32",
16-
"phpmd/phpmd": "^2.8",
17-
"ext-sqlite3": "*"
18-
},
1912
"autoload": {
2013
"psr-4": {
2114
"MixerApi\\Core\\": "src/"
@@ -27,23 +20,8 @@
2720
"MixerApi\\Core\\Test\\App\\": "tests/test_app/src"
2821
}
2922
},
30-
"scripts": {
31-
"post-install-cmd": "MixerApi\\Console\\Console\\Installer::postInstall",
32-
"post-create-project-cmd": "MixerApi\\Console\\Installer::postInstall",
33-
"check": [
34-
"@test",
35-
"@cs-check",
36-
"@stan",
37-
"@md"
38-
],
39-
"cs-check": "phpcs --colors -p --standard=vendor/cakephp/cakephp-codesniffer/CakePHP src/",
40-
"cs-fix": "phpcbf --colors --standard=vendor/cakephp/cakephp-codesniffer/CakePHP src/",
41-
"stan": "phpstan analyse src/",
42-
"test": "phpunit --colors=always",
43-
"md": "phpmd src/ ansi phpmd.xml",
44-
"coverage": "phpunit --coverage-html coverage-reports/"
45-
},
4623
"support": {
24+
"issues": "https://github.com/mixerapi/mixerapi-dev/issues",
4725
"source": "https://github.com/mixerapi/core"
4826
},
4927
"authors": [

plugins/exception-render/composer.json

Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,11 @@
33
"description": "Handles rendering entity validation errors and other exceptions for your API",
44
"type": "cakephp-plugin",
55
"license": "MIT",
6-
"keywords": ["cakephp"],
6+
"keywords": ["cakephp","cakephp error handling","cakephp exception handling"],
77
"require": {
88
"php": ">=7.2",
99
"cakephp/cakephp": "^4.0"
1010
},
11-
"require-dev": {
12-
"phpunit/phpunit": "~8.5.0",
13-
"cakephp/cakephp-codesniffer": "^4.2",
14-
"phpstan/phpstan": "^0.12.32",
15-
"phpmd/phpmd": "^2.8"
16-
},
1711
"autoload": {
1812
"psr-4": {
1913
"MixerApi\\ExceptionRender\\": "src/"
@@ -25,23 +19,8 @@
2519
"MixerApi\\ExceptionRender\\Test\\App\\": "tests/test_app/src/"
2620
}
2721
},
28-
"scripts": {
29-
"post-install-cmd": "MixerApi\\Console\\Console\\Installer::postInstall",
30-
"post-create-project-cmd": "MixerApi\\Console\\Installer::postInstall",
31-
"check": [
32-
"@test",
33-
"@cs-check",
34-
"@stan",
35-
"@md"
36-
],
37-
"cs-check": "phpcs --colors -p --standard=vendor/cakephp/cakephp-codesniffer/CakePHP src/",
38-
"cs-fix": "phpcbf --colors --standard=vendor/cakephp/cakephp-codesniffer/CakePHP src/",
39-
"stan": "phpstan analyse src/",
40-
"test": "phpunit --colors=always",
41-
"md": "phpmd src/ ansi phpmd.xml",
42-
"coverage": "phpunit --coverage-html coverage-reports/"
43-
},
4422
"support": {
23+
"issues": "https://github.com/mixerapi/mixerapi-dev/issues",
4524
"source": "https://github.com/mixerapi/exception-render"
4625
},
4726
"authors": [

plugins/hal-view/composer.json

Lines changed: 2 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,13 @@
33
"description": "A Hypertext Application Language (HAL+JSON) view for CakePHP.",
44
"type": "cakephp-plugin",
55
"license": "MIT",
6-
"keywords": ["cakephp"],
6+
"keywords": ["cakephp","cakephp view","cakephp hal","cakephp hal json","hypertext applicatoin language"],
77
"require": {
88
"php": ">=7.2",
99
"ext-json": "*",
1010
"cakephp/cakephp": "^4.0",
1111
"mixerapi/core": "^0.2"
1212
},
13-
"require-dev": {
14-
"phpunit/phpunit": "~8.5.0",
15-
"cakephp/cakephp-codesniffer": "^4.2",
16-
"phpstan/phpstan": "^0.12.32",
17-
"phpmd/phpmd": "^2.8",
18-
"ext-sqlite3": "*"
19-
},
2013
"autoload": {
2114
"psr-4": {
2215
"MixerApi\\HalView\\": "src/"
@@ -28,22 +21,8 @@
2821
"MixerApi\\HalView\\Test\\App\\": "tests/test_app/src/"
2922
}
3023
},
31-
"scripts": {
32-
"check": [
33-
"@test",
34-
"@cs-check",
35-
"@stan",
36-
"@md"
37-
],
38-
"cs-check": "phpcs --colors -p --standard=vendor/cakephp/cakephp-codesniffer/CakePHP src/",
39-
"cs-fix": "phpcbf --colors --standard=vendor/cakephp/cakephp-codesniffer/CakePHP src/",
40-
"stan": "phpstan analyse src/",
41-
"test": "phpunit --colors=always",
42-
"md": "phpmd src/ ansi phpmd.xml",
43-
"coverage": "phpunit --coverage-html coverage-reports/"
44-
},
4524
"support": {
46-
"issues": "https://github.com/mixerapi/hal-view/issues",
25+
"issues": "https://github.com/mixerapi/mixerapi-dev/issues",
4726
"source": "https://github.com/mixerapi/hal-view"
4827
},
4928
"authors": [

plugins/mixerapi/composer.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "Streamline development of API-first applications in CakePHP",
44
"type": "cakephp-plugin",
55
"license": "MIT",
6-
"keywords": ["cakephp"],
6+
"keywords": ["cakephp","api","rest"],
77
"require": {
88
"php": ">=7.2",
99
"cakephp/cakephp": "~4.0",
@@ -57,6 +57,9 @@
5757
"role": "Organization"
5858
}
5959
],
60+
"suggest": {
61+
"cnizzardini/cakephp-preloader": "An OpCache preloader for php >= 7.4 cakephp projects"
62+
},
6063
"prefer-stable": true,
6164
"minimum_stability": "dev"
6265
}

plugins/rest/composer.json

Lines changed: 3 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,13 @@
33
"description": "The missing RESTful API component to CakePHP's bake console. Create RESTful API skeletions in seconds.",
44
"type": "cakephp-plugin",
55
"license": "MIT",
6-
"keywords": ["cakephp rest","cakephp4 rest","cakephp rest bake","cakephp api bake"],
6+
"keywords": ["cakephp rest","cakephp4 rest","cakephp rest bake"],
77
"require": {
88
"php": ">=7.2",
99
"cakephp/cakephp": "^4.0",
1010
"nikic/php-parser": "^4.8",
1111
"thecodingmachine/class-explorer": "^1.1"
1212
},
13-
"require-dev": {
14-
"phpunit/phpunit": "^8.0",
15-
"cakephp/cakephp-codesniffer": "^4.2",
16-
"phpstan/phpstan": "^0.12.32",
17-
"phpmd/phpmd": "^2.8"
18-
19-
},
2013
"autoload": {
2114
"psr-4": {
2215
"MixerApi\\Rest\\": "src/"
@@ -29,23 +22,9 @@
2922
"MixerApi\\Rest\\Test\\MyPlugin\\": "tests/plugins/MyPlugin/"
3023
}
3124
},
32-
"scripts": {
33-
"check": [
34-
"@test",
35-
"@cs-check",
36-
"@stan",
37-
"@md"
38-
],
39-
"cs-check": "phpcs --colors -p --standard=vendor/cakephp/cakephp-codesniffer/CakePHP src/",
40-
"cs-fix": "phpcbf --colors --standard=vendor/cakephp/cakephp-codesniffer/CakePHP src/",
41-
"stan": "phpstan analyse src/",
42-
"test": "phpunit --colors=always",
43-
"md": "phpmd src/ ansi phpmd.xml",
44-
"coverage": "phpunit --coverage-html coverage-reports/"
45-
},
4625
"support": {
47-
"issues": "https://github.com/mixerapi/cakephp-rest-baker/issues",
48-
"source": "https://github.com/mixerapi/cakephp-rest-baker"
26+
"issues": "https://github.com/mixerapi/mixerapi-dev/issues",
27+
"source": "https://github.com/mixerapi/rest"
4928
},
5029
"authors": [
5130
{

0 commit comments

Comments
 (0)