diff --git a/app/Http/Controllers/ImportController.php b/app/Http/Controllers/ImportController.php index 47a17e08e0c4..6447ae292375 100644 --- a/app/Http/Controllers/ImportController.php +++ b/app/Http/Controllers/ImportController.php @@ -105,7 +105,7 @@ class ImportController extends Controller public function import(ImportRequest $request) { $data = $request->all(); - +nlog($data); if (empty($data['hash'])) { // Create a reference $data['hash'] = $hash = Str::random(32); @@ -120,7 +120,6 @@ class ImportController extends Controller } unset($data['files']); - // CSVImport::dispatch( $data, auth()->user()->company() ); CSVIngest::dispatch($data, auth()->user()->company()); return response()->json(['message' => ctrans('texts.import_started')], 200); diff --git a/composer.lock b/composer.lock index 9f997c4e4596..c6b9d36c5a5e 100644 --- a/composer.lock +++ b/composer.lock @@ -4,20 +4,20 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "9553e30992e58b8dd7c54229a209edba", + "content-hash": "35058400b3cb3208978e32fd2057b281", "packages": [ { "name": "afosto/yaac", - "version": "v1.4.0", + "version": "v1.5.0", "source": { "type": "git", "url": "https://github.com/afosto/yaac.git", - "reference": "ef131cfe9e6dc627968f2847a5a726e961a21cd3" + "reference": "c11e5d254ca42bbc6435488df5978a9f4b2a3bfd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/afosto/yaac/zipball/ef131cfe9e6dc627968f2847a5a726e961a21cd3", - "reference": "ef131cfe9e6dc627968f2847a5a726e961a21cd3", + "url": "https://api.github.com/repos/afosto/yaac/zipball/c11e5d254ca42bbc6435488df5978a9f4b2a3bfd", + "reference": "c11e5d254ca42bbc6435488df5978a9f4b2a3bfd", "shasum": "" }, "require": { @@ -54,9 +54,9 @@ ], "support": { "issues": "https://github.com/afosto/yaac/issues", - "source": "https://github.com/afosto/yaac/tree/v1.4.0" + "source": "https://github.com/afosto/yaac/tree/v1.5.0" }, - "time": "2022-02-18T15:18:06+00:00" + "time": "2022-07-15T10:42:38+00:00" }, { "name": "apimatic/jsonmapper", @@ -268,16 +268,16 @@ }, { "name": "awobaz/compoships", - "version": "2.1.3", + "version": "2.1.4", "source": { "type": "git", "url": "https://github.com/topclaudy/compoships.git", - "reference": "c5b107f16a2a8650fb2dbc21babd4a65a0f48585" + "reference": "ba86741d9b439d1179a6432dded92b0ecc89a63a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/topclaudy/compoships/zipball/c5b107f16a2a8650fb2dbc21babd4a65a0f48585", - "reference": "c5b107f16a2a8650fb2dbc21babd4a65a0f48585", + "url": "https://api.github.com/repos/topclaudy/compoships/zipball/ba86741d9b439d1179a6432dded92b0ecc89a63a", + "reference": "ba86741d9b439d1179a6432dded92b0ecc89a63a", "shasum": "" }, "require": { @@ -316,7 +316,7 @@ ], "support": { "issues": "https://github.com/topclaudy/compoships/issues", - "source": "https://github.com/topclaudy/compoships/tree/2.1.3" + "source": "https://github.com/topclaudy/compoships/tree/2.1.4" }, "funding": [ { @@ -324,7 +324,7 @@ "type": "custom" } ], - "time": "2021-11-29T22:11:22+00:00" + "time": "2022-06-22T11:42:37+00:00" }, { "name": "aws/aws-crt-php", @@ -378,16 +378,16 @@ }, { "name": "aws/aws-sdk-php", - "version": "3.231.2", + "version": "3.231.7", "source": { "type": "git", "url": "https://github.com/aws/aws-sdk-php.git", - "reference": "9a7c2a8c4b7f95074749e1a7b575e6b4486bdcab" + "reference": "25f7cf72a1d7cf3075436cfbfdc4caed201df3ec" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/9a7c2a8c4b7f95074749e1a7b575e6b4486bdcab", - "reference": "9a7c2a8c4b7f95074749e1a7b575e6b4486bdcab", + "url": "https://api.github.com/repos/aws/aws-sdk-php/zipball/25f7cf72a1d7cf3075436cfbfdc4caed201df3ec", + "reference": "25f7cf72a1d7cf3075436cfbfdc4caed201df3ec", "shasum": "" }, "require": { @@ -464,9 +464,9 @@ "support": { "forum": "https://forums.aws.amazon.com/forum.jspa?forumID=80", "issues": "https://github.com/aws/aws-sdk-php/issues", - "source": "https://github.com/aws/aws-sdk-php/tree/3.231.2" + "source": "https://github.com/aws/aws-sdk-php/tree/3.231.7" }, - "time": "2022-07-08T18:16:11+00:00" + "time": "2022-07-15T18:16:42+00:00" }, { "name": "bacon/bacon-qr-code", @@ -1711,6 +1711,81 @@ ], "time": "2022-06-18T20:57:19+00:00" }, + { + "name": "endroid/qr-code", + "version": "3.9.7", + "source": { + "type": "git", + "url": "https://github.com/endroid/qr-code.git", + "reference": "94563d7b3105288e6ac53a67ae720e3669fac1f6" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/endroid/qr-code/zipball/94563d7b3105288e6ac53a67ae720e3669fac1f6", + "reference": "94563d7b3105288e6ac53a67ae720e3669fac1f6", + "shasum": "" + }, + "require": { + "bacon/bacon-qr-code": "^2.0", + "khanamiryan/qrcode-detector-decoder": "^1.0.5", + "myclabs/php-enum": "^1.5", + "php": "^7.3||^8.0", + "symfony/options-resolver": "^3.4||^4.4||^5.0", + "symfony/property-access": "^3.4||^4.4||^5.0" + }, + "require-dev": { + "endroid/quality": "^1.5.2", + "setasign/fpdf": "^1.8" + }, + "suggest": { + "ext-gd": "Required for generating PNG images", + "roave/security-advisories": "Avoids installation of package versions with vulnerabilities", + "setasign/fpdf": "Required to use the FPDF writer.", + "symfony/security-checker": "Checks your composer.lock for vulnerabilities" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.x-dev" + } + }, + "autoload": { + "psr-4": { + "Endroid\\QrCode\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jeroen van den Enden", + "email": "info@endroid.nl" + } + ], + "description": "Endroid QR Code", + "homepage": "https://github.com/endroid/qr-code", + "keywords": [ + "bundle", + "code", + "endroid", + "php", + "qr", + "qrcode" + ], + "support": { + "issues": "https://github.com/endroid/qr-code/issues", + "source": "https://github.com/endroid/qr-code/tree/3.9.7" + }, + "funding": [ + { + "url": "https://github.com/endroid", + "type": "github" + } + ], + "time": "2021-04-20T19:10:54+00:00" + }, { "name": "eway/eway-rapid-php", "version": "1.4.0", @@ -1836,16 +1911,16 @@ }, { "name": "firebase/php-jwt", - "version": "v6.2.0", + "version": "v6.3.0", "source": { "type": "git", "url": "https://github.com/firebase/php-jwt.git", - "reference": "d28e6df83830252650da4623c78aaaf98fb385f3" + "reference": "018dfc4e1da92ad8a1b90adc4893f476a3b41cb8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/firebase/php-jwt/zipball/d28e6df83830252650da4623c78aaaf98fb385f3", - "reference": "d28e6df83830252650da4623c78aaaf98fb385f3", + "url": "https://api.github.com/repos/firebase/php-jwt/zipball/018dfc4e1da92ad8a1b90adc4893f476a3b41cb8", + "reference": "018dfc4e1da92ad8a1b90adc4893f476a3b41cb8", "shasum": "" }, "require": { @@ -1892,9 +1967,9 @@ ], "support": { "issues": "https://github.com/firebase/php-jwt/issues", - "source": "https://github.com/firebase/php-jwt/tree/v6.2.0" + "source": "https://github.com/firebase/php-jwt/tree/v6.3.0" }, - "time": "2022-05-13T20:54:50+00:00" + "time": "2022-07-15T16:48:45+00:00" }, { "name": "fruitcake/php-cors", @@ -1969,16 +2044,16 @@ }, { "name": "gocardless/gocardless-pro", - "version": "4.18.0", + "version": "4.19.0", "source": { "type": "git", "url": "https://github.com/gocardless/gocardless-pro-php.git", - "reference": "dee046abbb7a37ef0a60bb03e2a467afc79a92a5" + "reference": "ed88cd22b6a790ee37758afa8bf7c9d43caa796c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/gocardless/gocardless-pro-php/zipball/dee046abbb7a37ef0a60bb03e2a467afc79a92a5", - "reference": "dee046abbb7a37ef0a60bb03e2a467afc79a92a5", + "url": "https://api.github.com/repos/gocardless/gocardless-pro-php/zipball/ed88cd22b6a790ee37758afa8bf7c9d43caa796c", + "reference": "ed88cd22b6a790ee37758afa8bf7c9d43caa796c", "shasum": "" }, "require": { @@ -2018,9 +2093,9 @@ ], "support": { "issues": "https://github.com/gocardless/gocardless-pro-php/issues", - "source": "https://github.com/gocardless/gocardless-pro-php/tree/v4.18.0" + "source": "https://github.com/gocardless/gocardless-pro-php/tree/v4.19.0" }, - "time": "2022-07-08T14:38:42+00:00" + "time": "2022-07-13T14:44:43+00:00" }, { "name": "google/apiclient", @@ -3247,6 +3322,110 @@ }, "time": "2021-10-08T21:21:46+00:00" }, + { + "name": "khanamiryan/qrcode-detector-decoder", + "version": "1.0.5.2", + "source": { + "type": "git", + "url": "https://github.com/khanamiryan/php-qrcode-detector-decoder.git", + "reference": "04fdd58d86a387065f707dc6d3cc304c719910c1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/khanamiryan/php-qrcode-detector-decoder/zipball/04fdd58d86a387065f707dc6d3cc304c719910c1", + "reference": "04fdd58d86a387065f707dc6d3cc304c719910c1", + "shasum": "" + }, + "require": { + "php": ">=5.6" + }, + "require-dev": { + "phpunit/phpunit": "^5.7 | ^7.5 | ^8.0 | ^9.0" + }, + "type": "library", + "autoload": { + "files": [ + "lib/Common/customFunctions.php" + ], + "psr-4": { + "Zxing\\": "lib/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT", + "Apache-2.0" + ], + "authors": [ + { + "name": "Ashot Khanamiryan", + "email": "a.khanamiryan@gmail.com", + "homepage": "https://github.com/khanamiryan", + "role": "Developer" + } + ], + "description": "QR code decoder / reader", + "homepage": "https://github.com/khanamiryan/php-qrcode-detector-decoder/", + "keywords": [ + "barcode", + "qr", + "zxing" + ], + "support": { + "issues": "https://github.com/khanamiryan/php-qrcode-detector-decoder/issues", + "source": "https://github.com/khanamiryan/php-qrcode-detector-decoder/tree/1.0.5.2" + }, + "time": "2021-07-13T18:46:38+00:00" + }, + { + "name": "kmukku/php-iso11649", + "version": "1.6", + "source": { + "type": "git", + "url": "https://github.com/kmukku/php-iso11649.git", + "reference": "723863147a8ff1c292c337e9459402f4a35c3b1e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/kmukku/php-iso11649/zipball/723863147a8ff1c292c337e9459402f4a35c3b1e", + "reference": "723863147a8ff1c292c337e9459402f4a35c3b1e", + "shasum": "" + }, + "require": { + "php": ">=5.4.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "kmukku\\phpIso11649\\": [ + "src/" + ] + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Keijo Mukku", + "email": "keijo.mukku@gmail.com" + } + ], + "description": "ISO 11649 creditor reference library for php", + "homepage": "https://github.com/kmukku/php-iso11649", + "keywords": [ + "Banking", + "ISO 11649", + "RF creditor reference", + "finance" + ], + "support": { + "issues": "https://github.com/kmukku/php-iso11649/issues", + "source": "https://github.com/kmukku/php-iso11649/tree/master" + }, + "time": "2020-04-21T13:01:17+00:00" + }, { "name": "laracasts/presenter", "version": "0.2.5", @@ -3299,16 +3478,16 @@ }, { "name": "laravel/framework", - "version": "v9.19.0", + "version": "v9.20.0", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "bbce25bd823133f6a5a724f2d62680b711f1d0df" + "reference": "c99868f1c9bf2f5d250993121838db905591864f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/bbce25bd823133f6a5a724f2d62680b711f1d0df", - "reference": "bbce25bd823133f6a5a724f2d62680b711f1d0df", + "url": "https://api.github.com/repos/laravel/framework/zipball/c99868f1c9bf2f5d250993121838db905591864f", + "reference": "c99868f1c9bf2f5d250993121838db905591864f", "shasum": "" }, "require": { @@ -3474,7 +3653,7 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2022-06-28T14:33:19+00:00" + "time": "2022-07-13T13:26:22+00:00" }, { "name": "laravel/serializable-closure", @@ -4685,16 +4864,16 @@ }, { "name": "microsoft/microsoft-graph", - "version": "1.71.0", + "version": "1.72.0", "source": { "type": "git", "url": "https://github.com/microsoftgraph/msgraph-sdk-php.git", - "reference": "f17ae778614d6ebf326d33292d09519d39b017a8" + "reference": "2cf18e6f3e4519a2a749ce4656b6d3bcae1e1ac4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/microsoftgraph/msgraph-sdk-php/zipball/f17ae778614d6ebf326d33292d09519d39b017a8", - "reference": "f17ae778614d6ebf326d33292d09519d39b017a8", + "url": "https://api.github.com/repos/microsoftgraph/msgraph-sdk-php/zipball/2cf18e6f3e4519a2a749ce4656b6d3bcae1e1ac4", + "reference": "2cf18e6f3e4519a2a749ce4656b6d3bcae1e1ac4", "shasum": "" }, "require": { @@ -4730,22 +4909,22 @@ "homepage": "https://developer.microsoft.com/en-us/graph", "support": { "issues": "https://github.com/microsoftgraph/msgraph-sdk-php/issues", - "source": "https://github.com/microsoftgraph/msgraph-sdk-php/tree/1.71.0" + "source": "https://github.com/microsoftgraph/msgraph-sdk-php/tree/1.72.0" }, - "time": "2022-07-07T10:04:08+00:00" + "time": "2022-07-12T16:45:29+00:00" }, { "name": "mollie/mollie-api-php", - "version": "v2.44.1", + "version": "v2.45.0", "source": { "type": "git", "url": "https://github.com/mollie/mollie-api-php.git", - "reference": "5906cf9ff3133a4f47fea47624f3839ac07d0805" + "reference": "43ae5471967a47b34752b6b3a229038a05034527" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/mollie/mollie-api-php/zipball/5906cf9ff3133a4f47fea47624f3839ac07d0805", - "reference": "5906cf9ff3133a4f47fea47624f3839ac07d0805", + "url": "https://api.github.com/repos/mollie/mollie-api-php/zipball/43ae5471967a47b34752b6b3a229038a05034527", + "reference": "43ae5471967a47b34752b6b3a229038a05034527", "shasum": "" }, "require": { @@ -4822,9 +5001,9 @@ ], "support": { "issues": "https://github.com/mollie/mollie-api-php/issues", - "source": "https://github.com/mollie/mollie-api-php/tree/v2.44.1" + "source": "https://github.com/mollie/mollie-api-php/tree/v2.45.0" }, - "time": "2022-05-24T14:03:01+00:00" + "time": "2022-07-11T15:03:39+00:00" }, { "name": "moneyphp/money", @@ -5079,6 +5258,66 @@ }, "time": "2021-06-14T00:11:39+00:00" }, + { + "name": "myclabs/php-enum", + "version": "1.8.3", + "source": { + "type": "git", + "url": "https://github.com/myclabs/php-enum.git", + "reference": "b942d263c641ddb5190929ff840c68f78713e937" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/myclabs/php-enum/zipball/b942d263c641ddb5190929ff840c68f78713e937", + "reference": "b942d263c641ddb5190929ff840c68f78713e937", + "shasum": "" + }, + "require": { + "ext-json": "*", + "php": "^7.3 || ^8.0" + }, + "require-dev": { + "phpunit/phpunit": "^9.5", + "squizlabs/php_codesniffer": "1.*", + "vimeo/psalm": "^4.6.2" + }, + "type": "library", + "autoload": { + "psr-4": { + "MyCLabs\\Enum\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP Enum contributors", + "homepage": "https://github.com/myclabs/php-enum/graphs/contributors" + } + ], + "description": "PHP Enum implementation", + "homepage": "http://github.com/myclabs/php-enum", + "keywords": [ + "enum" + ], + "support": { + "issues": "https://github.com/myclabs/php-enum/issues", + "source": "https://github.com/myclabs/php-enum/tree/1.8.3" + }, + "funding": [ + { + "url": "https://github.com/mnapoli", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/myclabs/php-enum", + "type": "tidelift" + } + ], + "time": "2021-07-05T08:18:36+00:00" + }, { "name": "nelexa/zip", "version": "4.0.2", @@ -6016,16 +6255,16 @@ }, { "name": "php-http/discovery", - "version": "1.14.2", + "version": "1.14.3", "source": { "type": "git", "url": "https://github.com/php-http/discovery.git", - "reference": "c8d48852fbc052454af42f6de27635ddd916b959" + "reference": "31d8ee46d0215108df16a8527c7438e96a4d7735" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-http/discovery/zipball/c8d48852fbc052454af42f6de27635ddd916b959", - "reference": "c8d48852fbc052454af42f6de27635ddd916b959", + "url": "https://api.github.com/repos/php-http/discovery/zipball/31d8ee46d0215108df16a8527c7438e96a4d7735", + "reference": "31d8ee46d0215108df16a8527c7438e96a4d7735", "shasum": "" }, "require": { @@ -6077,9 +6316,9 @@ ], "support": { "issues": "https://github.com/php-http/discovery/issues", - "source": "https://github.com/php-http/discovery/tree/1.14.2" + "source": "https://github.com/php-http/discovery/tree/1.14.3" }, - "time": "2022-05-25T07:26:05+00:00" + "time": "2022-07-11T14:04:40+00:00" }, { "name": "php-http/guzzle7-adapter", @@ -7829,16 +8068,16 @@ }, { "name": "sentry/sentry-laravel", - "version": "2.12.1", + "version": "2.13.0", "source": { "type": "git", "url": "https://github.com/getsentry/sentry-laravel.git", - "reference": "bf7b4e6d43f0cf0c320041bb7d3a2a28c7edca57" + "reference": "c5e74e5fff18014780361fb33a883af9a9fbd900" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/getsentry/sentry-laravel/zipball/bf7b4e6d43f0cf0c320041bb7d3a2a28c7edca57", - "reference": "bf7b4e6d43f0cf0c320041bb7d3a2a28c7edca57", + "url": "https://api.github.com/repos/getsentry/sentry-laravel/zipball/c5e74e5fff18014780361fb33a883af9a9fbd900", + "reference": "c5e74e5fff18014780361fb33a883af9a9fbd900", "shasum": "" }, "require": { @@ -7904,7 +8143,7 @@ ], "support": { "issues": "https://github.com/getsentry/sentry-laravel/issues", - "source": "https://github.com/getsentry/sentry-laravel/tree/2.12.1" + "source": "https://github.com/getsentry/sentry-laravel/tree/2.13.0" }, "funding": [ { @@ -7916,7 +8155,7 @@ "type": "custom" } ], - "time": "2022-06-27T11:34:22+00:00" + "time": "2022-07-15T11:36:23+00:00" }, { "name": "setasign/fpdf", @@ -8222,6 +8461,66 @@ }, "time": "2021-03-16T01:16:00+00:00" }, + { + "name": "sprain/swiss-qr-bill", + "version": "v3.3", + "source": { + "type": "git", + "url": "https://github.com/sprain/php-swiss-qr-bill.git", + "reference": "c6d09e331bf44e5350ed7f9c7c869e9aaae007c8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sprain/php-swiss-qr-bill/zipball/c6d09e331bf44e5350ed7f9c7c869e9aaae007c8", + "reference": "c6d09e331bf44e5350ed7f9c7c869e9aaae007c8", + "shasum": "" + }, + "require": { + "endroid/qr-code": "^3.9.7", + "khanamiryan/qrcode-detector-decoder": "^1.0.3", + "kmukku/php-iso11649": "^1.5", + "php": "^8.0.0|^8.1.0", + "symfony/intl": "^4.4|^5.0|^6.0", + "symfony/polyfill-intl-icu": "^1.23", + "symfony/validator": "^4.4|^5.0|^6.0" + }, + "require-dev": { + "dg/bypass-finals": "^1.3", + "dms/phpunit-arraysubset-asserts": "^0.2", + "fpdf/fpdf": "^1.82", + "friendsofphp/php-cs-fixer": "^3.4", + "phpstan/phpstan": "^1.2", + "phpunit/phpunit": "^9.0", + "tecnickcom/tcpdf": "^6.3.2" + }, + "suggest": { + "fpdf/fpdf": "Needed to create pdfs with FpdfOutput", + "tecnickcom/tcpdf": "Needed to create pdfs with TcPdfOutput" + }, + "type": "library", + "autoload": { + "psr-4": { + "Sprain\\SwissQrBill\\": "src", + "Sprain\\Tests\\SwissQrBill\\": "tests" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "A PHP library to create Swiss QR bills", + "support": { + "issues": "https://github.com/sprain/php-swiss-qr-bill/issues", + "source": "https://github.com/sprain/php-swiss-qr-bill/tree/v3.3" + }, + "funding": [ + { + "url": "https://github.com/sprain", + "type": "github" + } + ], + "time": "2021-12-11T17:36:20+00:00" + }, { "name": "square/square", "version": "13.0.0.20210721", @@ -9321,6 +9620,86 @@ ], "time": "2022-06-26T17:06:14+00:00" }, + { + "name": "symfony/intl", + "version": "v6.1.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/intl.git", + "reference": "9fc07ba57eb33d44c6b3b86b4e1ef927620d1a39" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/intl/zipball/9fc07ba57eb33d44c6b3b86b4e1ef927620d1a39", + "reference": "9fc07ba57eb33d44c6b3b86b4e1ef927620d1a39", + "shasum": "" + }, + "require": { + "php": ">=8.1" + }, + "require-dev": { + "symfony/filesystem": "^5.4|^6.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Intl\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Bernhard Schussek", + "email": "bschussek@gmail.com" + }, + { + "name": "Eriksen Costa", + "email": "eriksen.costa@infranology.com.br" + }, + { + "name": "Igor Wiedler", + "email": "igor@wiedler.ch" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides a PHP replacement layer for the C intl extension that includes additional data from the ICU library", + "homepage": "https://symfony.com", + "keywords": [ + "i18n", + "icu", + "internationalization", + "intl", + "l10n", + "localization" + ], + "support": { + "source": "https://github.com/symfony/intl/tree/v6.1.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-04-12T16:22:53+00:00" + }, { "name": "symfony/mailer", "version": "v6.1.2", @@ -9543,21 +9922,23 @@ }, { "name": "symfony/options-resolver", - "version": "v6.1.0", + "version": "v5.4.3", "source": { "type": "git", "url": "https://github.com/symfony/options-resolver.git", - "reference": "a3016f5442e28386ded73c43a32a5b68586dd1c4" + "reference": "cc1147cb11af1b43f503ac18f31aa3bec213aba8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/options-resolver/zipball/a3016f5442e28386ded73c43a32a5b68586dd1c4", - "reference": "a3016f5442e28386ded73c43a32a5b68586dd1c4", + "url": "https://api.github.com/repos/symfony/options-resolver/zipball/cc1147cb11af1b43f503ac18f31aa3bec213aba8", + "reference": "cc1147cb11af1b43f503ac18f31aa3bec213aba8", "shasum": "" }, "require": { - "php": ">=8.1", - "symfony/deprecation-contracts": "^2.1|^3" + "php": ">=7.2.5", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/polyfill-php73": "~1.0", + "symfony/polyfill-php80": "^1.16" }, "type": "library", "autoload": { @@ -9590,7 +9971,7 @@ "options" ], "support": { - "source": "https://github.com/symfony/options-resolver/tree/v6.1.0" + "source": "https://github.com/symfony/options-resolver/tree/v5.4.3" }, "funding": [ { @@ -9606,7 +9987,7 @@ "type": "tidelift" } ], - "time": "2022-02-25T11:15:52+00:00" + "time": "2022-01-02T09:53:40+00:00" }, { "name": "symfony/polyfill-ctype", @@ -9771,6 +10152,93 @@ ], "time": "2022-05-24T11:49:31+00:00" }, + { + "name": "symfony/polyfill-intl-icu", + "version": "v1.26.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-intl-icu.git", + "reference": "e407643d610e5f2c8a4b14189150f68934bf5e48" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-intl-icu/zipball/e407643d610e5f2c8a4b14189150f68934bf5e48", + "reference": "e407643d610e5f2c8a4b14189150f68934bf5e48", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "suggest": { + "ext-intl": "For best performance and support of other locales than \"en\"" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.26-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Intl\\Icu\\": "" + }, + "classmap": [ + "Resources/stubs" + ], + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for intl's ICU-related data and classes", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "icu", + "intl", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-intl-icu/tree/v1.26.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-05-24T11:49:31+00:00" + }, { "name": "symfony/polyfill-intl-idn", "version": "v1.26.0", @@ -10101,6 +10569,85 @@ ], "time": "2022-05-24T11:49:31+00:00" }, + { + "name": "symfony/polyfill-php73", + "version": "v1.26.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php73.git", + "reference": "e440d35fa0286f77fb45b79a03fedbeda9307e85" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/e440d35fa0286f77fb45b79a03fedbeda9307e85", + "reference": "e440d35fa0286f77fb45b79a03fedbeda9307e85", + "shasum": "" + }, + "require": { + "php": ">=7.1" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.26-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Php73\\": "" + }, + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 7.3+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-php73/tree/v1.26.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-05-24T11:49:31+00:00" + }, { "name": "symfony/polyfill-php80", "version": "v1.26.0", @@ -10471,6 +11018,176 @@ ], "time": "2022-05-11T12:12:29+00:00" }, + { + "name": "symfony/property-access", + "version": "v5.4.8", + "source": { + "type": "git", + "url": "https://github.com/symfony/property-access.git", + "reference": "fe501d498d6ec7e9efe928c90fabedf629116495" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/property-access/zipball/fe501d498d6ec7e9efe928c90fabedf629116495", + "reference": "fe501d498d6ec7e9efe928c90fabedf629116495", + "shasum": "" + }, + "require": { + "php": ">=7.2.5", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/polyfill-php80": "^1.16", + "symfony/property-info": "^5.2|^6.0" + }, + "require-dev": { + "symfony/cache": "^4.4|^5.0|^6.0" + }, + "suggest": { + "psr/cache-implementation": "To cache access methods." + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\PropertyAccess\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides functions to read and write from/to an object or array using a simple string notation", + "homepage": "https://symfony.com", + "keywords": [ + "access", + "array", + "extraction", + "index", + "injection", + "object", + "property", + "property path", + "reflection" + ], + "support": { + "source": "https://github.com/symfony/property-access/tree/v5.4.8" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-04-12T15:48:08+00:00" + }, + { + "name": "symfony/property-info", + "version": "v6.1.2", + "source": { + "type": "git", + "url": "https://github.com/symfony/property-info.git", + "reference": "4989684b39c929fcf3ba432afdd932879fbc1334" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/property-info/zipball/4989684b39c929fcf3ba432afdd932879fbc1334", + "reference": "4989684b39c929fcf3ba432afdd932879fbc1334", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "symfony/string": "^5.4|^6.0" + }, + "conflict": { + "phpdocumentor/reflection-docblock": "<5.2", + "phpdocumentor/type-resolver": "<1.5.1", + "symfony/dependency-injection": "<5.4" + }, + "require-dev": { + "doctrine/annotations": "^1.10.4", + "phpdocumentor/reflection-docblock": "^5.2", + "phpstan/phpdoc-parser": "^1.0", + "symfony/cache": "^5.4|^6.0", + "symfony/dependency-injection": "^5.4|^6.0", + "symfony/serializer": "^5.4|^6.0" + }, + "suggest": { + "phpdocumentor/reflection-docblock": "To use the PHPDoc", + "psr/cache-implementation": "To cache results", + "symfony/doctrine-bridge": "To use Doctrine metadata", + "symfony/serializer": "To use Serializer metadata" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\PropertyInfo\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Kévin Dunglas", + "email": "dunglas@gmail.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Extracts information about PHP class' properties using metadata of popular sources", + "homepage": "https://symfony.com", + "keywords": [ + "doctrine", + "phpdoc", + "property", + "symfony", + "type", + "validator" + ], + "support": { + "source": "https://github.com/symfony/property-info/tree/v6.1.2" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-06-10T06:48:13+00:00" + }, { "name": "symfony/psr-http-message-bridge", "version": "v2.1.2", @@ -10994,6 +11711,114 @@ ], "time": "2022-06-27T17:24:16+00:00" }, + { + "name": "symfony/validator", + "version": "v6.1.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/validator.git", + "reference": "b2ae30b952165080e810c3a118b230184cb97db0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/validator/zipball/b2ae30b952165080e810c3a118b230184cb97db0", + "reference": "b2ae30b952165080e810c3a118b230184cb97db0", + "shasum": "" + }, + "require": { + "php": ">=8.1", + "symfony/deprecation-contracts": "^2.1|^3", + "symfony/polyfill-ctype": "~1.8", + "symfony/polyfill-mbstring": "~1.0", + "symfony/translation-contracts": "^1.1|^2|^3" + }, + "conflict": { + "doctrine/annotations": "<1.13", + "doctrine/lexer": "<1.1", + "phpunit/phpunit": "<5.4.3", + "symfony/dependency-injection": "<5.4", + "symfony/expression-language": "<5.4", + "symfony/http-kernel": "<5.4", + "symfony/intl": "<5.4", + "symfony/property-info": "<5.4", + "symfony/translation": "<5.4", + "symfony/yaml": "<5.4" + }, + "require-dev": { + "doctrine/annotations": "^1.13", + "egulias/email-validator": "^2.1.10|^3", + "symfony/cache": "^5.4|^6.0", + "symfony/config": "^5.4|^6.0", + "symfony/console": "^5.4|^6.0", + "symfony/dependency-injection": "^5.4|^6.0", + "symfony/expression-language": "^5.4|^6.0", + "symfony/finder": "^5.4|^6.0", + "symfony/http-client": "^5.4|^6.0", + "symfony/http-foundation": "^5.4|^6.0", + "symfony/http-kernel": "^5.4|^6.0", + "symfony/intl": "^5.4|^6.0", + "symfony/mime": "^5.4|^6.0", + "symfony/property-access": "^5.4|^6.0", + "symfony/property-info": "^5.4|^6.0", + "symfony/translation": "^5.4|^6.0", + "symfony/yaml": "^5.4|^6.0" + }, + "suggest": { + "egulias/email-validator": "Strict (RFC compliant) email validation", + "psr/cache-implementation": "For using the mapping cache.", + "symfony/config": "", + "symfony/expression-language": "For using the Expression validator and the ExpressionLanguageSyntax constraints", + "symfony/http-foundation": "", + "symfony/intl": "", + "symfony/property-access": "For accessing properties within comparison constraints", + "symfony/property-info": "To automatically add NotNull and Type constraints", + "symfony/translation": "For translating validation errors.", + "symfony/yaml": "" + }, + "type": "library", + "autoload": { + "psr-4": { + "Symfony\\Component\\Validator\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Fabien Potencier", + "email": "fabien@symfony.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Provides tools to validate values", + "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/validator/tree/v6.1.1" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2022-06-09T12:51:38+00:00" + }, { "name": "symfony/var-dumper", "version": "v6.1.0", @@ -11656,30 +12481,29 @@ }, { "name": "barryvdh/laravel-debugbar", - "version": "v3.6.8", + "version": "v3.7.0", "source": { "type": "git", "url": "https://github.com/barryvdh/laravel-debugbar.git", - "reference": "814b36a08a60f4159cdcbb1c466a6a0027440b6c" + "reference": "3372ed65e6d2039d663ed19aa699956f9d346271" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/barryvdh/laravel-debugbar/zipball/814b36a08a60f4159cdcbb1c466a6a0027440b6c", - "reference": "814b36a08a60f4159cdcbb1c466a6a0027440b6c", + "url": "https://api.github.com/repos/barryvdh/laravel-debugbar/zipball/3372ed65e6d2039d663ed19aa699956f9d346271", + "reference": "3372ed65e6d2039d663ed19aa699956f9d346271", "shasum": "" }, "require": { - "illuminate/routing": "^6|^7|^8|^9", - "illuminate/session": "^6|^7|^8|^9", - "illuminate/support": "^6|^7|^8|^9", + "illuminate/routing": "^7|^8|^9", + "illuminate/session": "^7|^8|^9", + "illuminate/support": "^7|^8|^9", "maximebf/debugbar": "^1.17.2", - "php": ">=7.2", - "symfony/debug": "^4.3|^5|^6", - "symfony/finder": "^4.3|^5|^6" + "php": ">=7.2.5", + "symfony/finder": "^5|^6" }, "require-dev": { "mockery/mockery": "^1.3.3", - "orchestra/testbench-dusk": "^4|^5|^6|^7", + "orchestra/testbench-dusk": "^5|^6|^7", "phpunit/phpunit": "^8.5|^9.0", "squizlabs/php_codesniffer": "^3.5" }, @@ -11725,7 +12549,7 @@ ], "support": { "issues": "https://github.com/barryvdh/laravel-debugbar/issues", - "source": "https://github.com/barryvdh/laravel-debugbar/tree/v3.6.8" + "source": "https://github.com/barryvdh/laravel-debugbar/tree/v3.7.0" }, "funding": [ { @@ -11737,20 +12561,20 @@ "type": "github" } ], - "time": "2022-06-08T15:03:05+00:00" + "time": "2022-07-11T09:26:42+00:00" }, { "name": "brianium/paratest", - "version": "v6.5.1", + "version": "v6.6.0", "source": { "type": "git", "url": "https://github.com/paratestphp/paratest.git", - "reference": "41fc4cc01422dae2d6bf6a0ce39756f57ac7d8a9" + "reference": "bce7b965a5fe5028a53c3151042ca12777600acd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/paratestphp/paratest/zipball/41fc4cc01422dae2d6bf6a0ce39756f57ac7d8a9", - "reference": "41fc4cc01422dae2d6bf6a0ce39756f57ac7d8a9", + "url": "https://api.github.com/repos/paratestphp/paratest/zipball/bce7b965a5fe5028a53c3151042ca12777600acd", + "reference": "bce7b965a5fe5028a53c3151042ca12777600acd", "shasum": "" }, "require": { @@ -11765,18 +12589,18 @@ "phpunit/php-timer": "^5.0.3", "phpunit/phpunit": "^9.5.21", "sebastian/environment": "^5.1.4", - "symfony/console": "^5.4.9 || ^6.1.1", + "symfony/console": "^5.4.9 || ^6.1.2", "symfony/process": "^5.4.8 || ^6.1.0" }, "require-dev": { "doctrine/coding-standard": "^9.0.0", "ext-pcov": "*", "ext-posix": "*", - "infection/infection": "^0.26.12", + "infection/infection": "^0.26.13", "malukenho/mcbumpface": "^1.1.5", "squizlabs/php_codesniffer": "^3.7.1", "symfony/filesystem": "^5.4.9 || ^6.1.0", - "vimeo/psalm": "^4.23.0" + "vimeo/psalm": "^4.24.0" }, "bin": [ "bin/paratest", @@ -11817,7 +12641,7 @@ ], "support": { "issues": "https://github.com/paratestphp/paratest/issues", - "source": "https://github.com/paratestphp/paratest/tree/v6.5.1" + "source": "https://github.com/paratestphp/paratest/tree/v6.6.0" }, "funding": [ { @@ -11829,7 +12653,7 @@ "type": "paypal" } ], - "time": "2022-06-24T16:02:27+00:00" + "time": "2022-07-12T07:15:58+00:00" }, { "name": "darkaonline/l5-swagger", @@ -12230,16 +13054,16 @@ }, { "name": "laravel/dusk", - "version": "v6.24.0", + "version": "v6.25.0", "source": { "type": "git", "url": "https://github.com/laravel/dusk.git", - "reference": "7fed3695741787d9998c5f04c94adfd62d70e766" + "reference": "b4632b7493a187d31afc5c9ddec437c81b16421a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/dusk/zipball/7fed3695741787d9998c5f04c94adfd62d70e766", - "reference": "7fed3695741787d9998c5f04c94adfd62d70e766", + "url": "https://api.github.com/repos/laravel/dusk/zipball/b4632b7493a187d31afc5c9ddec437c81b16421a", + "reference": "b4632b7493a187d31afc5c9ddec437c81b16421a", "shasum": "" }, "require": { @@ -12297,9 +13121,9 @@ ], "support": { "issues": "https://github.com/laravel/dusk/issues", - "source": "https://github.com/laravel/dusk/tree/v6.24.0" + "source": "https://github.com/laravel/dusk/tree/v6.25.0" }, - "time": "2022-05-09T13:43:52+00:00" + "time": "2022-07-11T11:38:43+00:00" }, { "name": "maximebf/debugbar", @@ -14730,75 +15554,6 @@ }, "time": "2021-10-14T14:25:14+00:00" }, - { - "name": "symfony/debug", - "version": "v4.4.41", - "source": { - "type": "git", - "url": "https://github.com/symfony/debug.git", - "reference": "6637e62480b60817b9a6984154a533e8e64c6bd5" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/debug/zipball/6637e62480b60817b9a6984154a533e8e64c6bd5", - "reference": "6637e62480b60817b9a6984154a533e8e64c6bd5", - "shasum": "" - }, - "require": { - "php": ">=7.1.3", - "psr/log": "^1|^2|^3" - }, - "conflict": { - "symfony/http-kernel": "<3.4" - }, - "require-dev": { - "symfony/http-kernel": "^3.4|^4.0|^5.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Symfony\\Component\\Debug\\": "" - }, - "exclude-from-classmap": [ - "/Tests/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Provides tools to ease debugging PHP code", - "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/debug/tree/v4.4.41" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "abandoned": "symfony/error-handler", - "time": "2022-04-12T15:19:55+00:00" - }, { "name": "symfony/yaml", "version": "v5.4.10", diff --git a/routes/api.php b/routes/api.php index 423b5ad75ad3..a3d83219ae9a 100644 --- a/routes/api.php +++ b/routes/api.php @@ -31,6 +31,7 @@ use App\Http\Controllers\DocumentController; use App\Http\Controllers\EmailController; use App\Http\Controllers\ExpenseCategoryController; use App\Http\Controllers\ExpenseController; +use App\Http\Controllers\ExportController; use App\Http\Controllers\FilterController; use App\Http\Controllers\GroupSettingController; use App\Http\Controllers\HostedMigrationController;