Skip to content

Commit d2bc00d

Browse files
committed
Move money dependencies to the suggest section of composer
1 parent 2892c97 commit d2bc00d

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

composer.json

+7-5
Original file line numberDiff line numberDiff line change
@@ -31,21 +31,20 @@
3131
"src/helpers.php"
3232
],
3333
"exclude-from-classmap": [
34-
"src/**Test.php",
35-
"src/Test**"
34+
"src/**Test.php"
3635
]
3736
},
3837
"require": {
3938
"php": "^7.4 || ^8.0",
39+
"ext-intl": "*",
4040
"ext-json": "*",
4141
"bakame/intl-formatter": "~0.3.0",
4242
"illuminate/config": "^8.0 || ^9.0",
43-
"illuminate/support": "^8.0 || ^9.0",
44-
"moneyphp/money": "^3.0 || ^4.0",
45-
"ext-intl": "*"
43+
"illuminate/support": "^8.0 || ^9.0"
4644
},
4745
"require-dev": {
4846
"friendsofphp/php-cs-fixer": "^3.8",
47+
"moneyphp/money": "^3.0 || ^4.0",
4948
"nunomaduro/larastan": "^1.0.0 || ^2.1",
5049
"orchestra/testbench": "^6.6.0 || ^7.5",
5150
"phpstan/phpstan": "^1.7",
@@ -54,6 +53,9 @@
5453
"phpstan/phpstan-strict-rules": "^1.2",
5554
"phpunit/phpunit": "^9.5"
5655
},
56+
"suggest": {
57+
"moneyphp/money": "To format currency based on the Money library"
58+
},
5759
"scripts": {
5860
"phpcs:fix" : "php-cs-fixer fix -vvv --using-cache=no --allow-risky=yes --ansi",
5961
"phpcs": "php-cs-fixer fix -vvv --diff --dry-run --allow-risky=yes --ansi",

0 commit comments

Comments
 (0)