move currency to config file; change units to their own group in settings

This commit is contained in:
Nabeel Shahzad
2018-02-26 20:23:48 -06:00
parent 920b92c096
commit d61ade4482
15 changed files with 154 additions and 39 deletions

82
composer.lock generated
View File

@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
"This file is @generated automatically"
],
"content-hash": "dbfae0d2bcd1653a30a90bb2e244308c",
"content-hash": "4d004ed24ecf6bf961fc610d54213848",
"packages": [
{
"name": "arrilot/laravel-widgets",
@@ -1861,6 +1861,86 @@
],
"time": "2017-12-11T05:05:12+00:00"
},
{
"name": "moneyphp/money",
"version": "v3.1.3",
"source": {
"type": "git",
"url": "https://github.com/moneyphp/money.git",
"reference": "5e6a3c98ba2cb190d48d35656967eacf30716034"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/moneyphp/money/zipball/5e6a3c98ba2cb190d48d35656967eacf30716034",
"reference": "5e6a3c98ba2cb190d48d35656967eacf30716034",
"shasum": ""
},
"require": {
"php": ">=5.6"
},
"require-dev": {
"cache/taggable-cache": "^0.4.0",
"doctrine/instantiator": "^1.0.5",
"ext-bcmath": "*",
"ext-gmp": "*",
"ext-intl": "*",
"florianv/swap": "^3.0",
"leanphp/phpspec-code-coverage": "^3.0 || ^4.0",
"moneyphp/iso-currencies": "^3.0",
"php-http/message": "^1.4",
"php-http/mock-client": "^0.3.3",
"phpspec/phpspec": "^3.0",
"phpunit/phpunit": "^5",
"psr/cache": "^1.0",
"sllh/php-cs-fixer-styleci-bridge": "^2.1",
"symfony/phpunit-bridge": "^4"
},
"suggest": {
"ext-bcmath": "Calculate without integer limits",
"ext-gmp": "Calculate without integer limits",
"ext-intl": "Format Money objects with intl",
"florianv/swap": "Exchange rates library for PHP",
"psr/cache-implementation": "Used for Currency caching"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "3.0-dev"
}
},
"autoload": {
"psr-4": {
"Money\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Mathias Verraes",
"email": "mathias@verraes.net",
"homepage": "http://verraes.net"
},
{
"name": "Frederik Bosch",
"email": "f.bosch@genkgo.nl"
},
{
"name": "Márk Sági-Kazár",
"email": "mark.sagi-kazar@gmail.com"
}
],
"description": "PHP implementation of Fowler's Money pattern",
"homepage": "http://verraes.net/2011/04/fowler-money-pattern-in-php/",
"keywords": [
"Value Object",
"money",
"vo"
],
"time": "2018-02-16T11:04:16+00:00"
},
{
"name": "monolog/monolog",
"version": "1.23.0",