diff --git a/composer.json b/composer.json index 520f660..0f0e959 100644 --- a/composer.json +++ b/composer.json @@ -14,6 +14,6 @@ } }, "require": { - "illuminate/http": "^5.5" + "laravel/lumen-framework": "5.6.*" } } diff --git a/composer.lock b/composer.lock index d897fb0..e9d6604 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "f807b62673cb935be7233f59ceb15f57", + "content-hash": "da812285571c9c5818301beb8865e4f5", "packages": [ { "name": "doctrine/inflector", @@ -80,17 +80,452 @@ "time": "2018-01-09T20:05:19+00:00" }, { - "name": "illuminate/contracts", - "version": "v5.8.35", + "name": "dragonmantank/cron-expression", + "version": "v2.3.0", "source": { "type": "git", - "url": "https://github.com/illuminate/contracts.git", - "reference": "00fc6afee788fa07c311b0650ad276585f8aef96" + "url": "https://github.com/dragonmantank/cron-expression.git", + "reference": "72b6fbf76adb3cf5bc0db68559b33d41219aba27" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/contracts/zipball/00fc6afee788fa07c311b0650ad276585f8aef96", - "reference": "00fc6afee788fa07c311b0650ad276585f8aef96", + "url": "https://api.github.com/repos/dragonmantank/cron-expression/zipball/72b6fbf76adb3cf5bc0db68559b33d41219aba27", + "reference": "72b6fbf76adb3cf5bc0db68559b33d41219aba27", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": "^7.0" + }, + "require-dev": { + "phpunit/phpunit": "^6.4|^7.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.3-dev" + } + }, + "autoload": { + "psr-4": { + "Cron\\": "src/Cron/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "Chris Tankersley", + "email": "chris@ctankersley.com", + "homepage": "https://github.com/dragonmantank" + } + ], + "description": "CRON for PHP: Calculate the next or previous run date and determine if a CRON expression is due", + "keywords": [ + "cron", + "schedule" + ], + "time": "2019-03-31T00:38:28+00:00" + }, + { + "name": "illuminate/auth", + "version": "v5.6.39", + "source": { + "type": "git", + "url": "https://github.com/illuminate/auth.git", + "reference": "0d4aa427a01ecfcd9eeda1301a7602d6e39a1cdb" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/illuminate/auth/zipball/0d4aa427a01ecfcd9eeda1301a7602d6e39a1cdb", + "reference": "0d4aa427a01ecfcd9eeda1301a7602d6e39a1cdb", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "illuminate/contracts": "5.6.*", + "illuminate/http": "5.6.*", + "illuminate/queue": "5.6.*", + "illuminate/support": "5.6.*", + "php": "^7.1.3" + }, + "suggest": { + "illuminate/console": "Required to use the auth:clear-resets command (5.6.*).", + "illuminate/queue": "Required to fire login / logout events (5.6.*).", + "illuminate/session": "Required to use the session based guard (5.6.*)." + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.6-dev" + } + }, + "autoload": { + "psr-4": { + "Illuminate\\Auth\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + } + ], + "description": "The Illuminate Auth package.", + "homepage": "https://laravel.com", + "time": "2018-09-02T21:09:00+00:00" + }, + { + "name": "illuminate/broadcasting", + "version": "v5.6.39", + "source": { + "type": "git", + "url": "https://github.com/illuminate/broadcasting.git", + "reference": "346c4f5552c0247e0e9f8bf2e637feb13520c061" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/illuminate/broadcasting/zipball/346c4f5552c0247e0e9f8bf2e637feb13520c061", + "reference": "346c4f5552c0247e0e9f8bf2e637feb13520c061", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "illuminate/bus": "5.6.*", + "illuminate/contracts": "5.6.*", + "illuminate/queue": "5.6.*", + "illuminate/support": "5.6.*", + "php": "^7.1.3", + "psr/log": "~1.0" + }, + "suggest": { + "pusher/pusher-php-server": "Required to use the Pusher broadcast driver (~3.0)." + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.6-dev" + } + }, + "autoload": { + "psr-4": { + "Illuminate\\Broadcasting\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + } + ], + "description": "The Illuminate Broadcasting package.", + "homepage": "https://laravel.com", + "time": "2018-06-19T15:08:35+00:00" + }, + { + "name": "illuminate/bus", + "version": "v5.6.39", + "source": { + "type": "git", + "url": "https://github.com/illuminate/bus.git", + "reference": "5dba5798de392a3da8add4541df10661d5c6a0f4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/illuminate/bus/zipball/5dba5798de392a3da8add4541df10661d5c6a0f4", + "reference": "5dba5798de392a3da8add4541df10661d5c6a0f4", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "illuminate/contracts": "5.6.*", + "illuminate/pipeline": "5.6.*", + "illuminate/support": "5.6.*", + "php": "^7.1.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.6-dev" + } + }, + "autoload": { + "psr-4": { + "Illuminate\\Bus\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + } + ], + "description": "The Illuminate Bus package.", + "homepage": "https://laravel.com", + "time": "2017-12-14T13:30:55+00:00" + }, + { + "name": "illuminate/cache", + "version": "v5.6.39", + "source": { + "type": "git", + "url": "https://github.com/illuminate/cache.git", + "reference": "615759a96b212365aece1abc64cc3a98a7d730b0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/illuminate/cache/zipball/615759a96b212365aece1abc64cc3a98a7d730b0", + "reference": "615759a96b212365aece1abc64cc3a98a7d730b0", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "illuminate/contracts": "5.6.*", + "illuminate/support": "5.6.*", + "php": "^7.1.3" + }, + "suggest": { + "illuminate/database": "Required to use the database cache driver (5.6.*).", + "illuminate/filesystem": "Required to use the file cache driver (5.6.*).", + "illuminate/redis": "Required to use the redis cache driver (5.6.*)." + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.6-dev" + } + }, + "autoload": { + "psr-4": { + "Illuminate\\Cache\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + } + ], + "description": "The Illuminate Cache package.", + "homepage": "https://laravel.com", + "time": "2018-08-22T12:36:00+00:00" + }, + { + "name": "illuminate/config", + "version": "v5.6.39", + "source": { + "type": "git", + "url": "https://github.com/illuminate/config.git", + "reference": "61f4eb8145a1473577a9876471c92fa4de4718a7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/illuminate/config/zipball/61f4eb8145a1473577a9876471c92fa4de4718a7", + "reference": "61f4eb8145a1473577a9876471c92fa4de4718a7", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "illuminate/contracts": "5.6.*", + "illuminate/support": "5.6.*", + "php": "^7.1.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.6-dev" + } + }, + "autoload": { + "psr-4": { + "Illuminate\\Config\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + } + ], + "description": "The Illuminate Config package.", + "homepage": "https://laravel.com", + "time": "2017-11-07T20:23:51+00:00" + }, + { + "name": "illuminate/console", + "version": "v5.6.39", + "source": { + "type": "git", + "url": "https://github.com/illuminate/console.git", + "reference": "de6b95229de443585f97953da4b02721465a2b2b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/illuminate/console/zipball/de6b95229de443585f97953da4b02721465a2b2b", + "reference": "de6b95229de443585f97953da4b02721465a2b2b", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "illuminate/contracts": "5.6.*", + "illuminate/support": "5.6.*", + "php": "^7.1.3", + "symfony/console": "~4.0" + }, + "suggest": { + "dragonmantank/cron-expression": "Required to use scheduling component (~2.0).", + "guzzlehttp/guzzle": "Required to use the ping methods on schedules (~6.0).", + "symfony/process": "Required to use scheduling component (~4.0)." + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.6-dev" + } + }, + "autoload": { + "psr-4": { + "Illuminate\\Console\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + } + ], + "description": "The Illuminate Console package.", + "homepage": "https://laravel.com", + "time": "2018-09-03T13:49:38+00:00" + }, + { + "name": "illuminate/container", + "version": "v5.6.39", + "source": { + "type": "git", + "url": "https://github.com/illuminate/container.git", + "reference": "779b56b37396b888414622d5667d3bcc205964ab" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/illuminate/container/zipball/779b56b37396b888414622d5667d3bcc205964ab", + "reference": "779b56b37396b888414622d5667d3bcc205964ab", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "illuminate/contracts": "5.6.*", + "php": "^7.1.3", + "psr/container": "~1.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.6-dev" + } + }, + "autoload": { + "psr-4": { + "Illuminate\\Container\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + } + ], + "description": "The Illuminate Container package.", + "homepage": "https://laravel.com", + "time": "2018-05-24T13:16:56+00:00" + }, + { + "name": "illuminate/contracts", + "version": "v5.6.39", + "source": { + "type": "git", + "url": "https://github.com/illuminate/contracts.git", + "reference": "66b653fd430bf06f59cef1112197d009bd02da84" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/illuminate/contracts/zipball/66b653fd430bf06f59cef1112197d009bd02da84", + "reference": "66b653fd430bf06f59cef1112197d009bd02da84", "shasum": "", "mirrors": [ { @@ -101,13 +536,13 @@ }, "require": { "php": "^7.1.3", - "psr/container": "^1.0", - "psr/simple-cache": "^1.0" + "psr/container": "~1.0", + "psr/simple-cache": "~1.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "5.8-dev" + "dev-master": "5.6-dev" } }, "autoload": { @@ -127,20 +562,20 @@ ], "description": "The Illuminate Contracts package.", "homepage": "https://laravel.com", - "time": "2019-07-30T13:57:21+00:00" + "time": "2018-07-31T12:49:53+00:00" }, { - "name": "illuminate/filesystem", - "version": "v5.8.35", + "name": "illuminate/database", + "version": "v5.6.39", "source": { "type": "git", - "url": "https://github.com/illuminate/filesystem.git", - "reference": "494ba903402d64ec49c8d869ab61791db34b2288" + "url": "https://github.com/illuminate/database.git", + "reference": "33073fe81e705b3d5d5ef992e6b065b3a89b07f6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/filesystem/zipball/494ba903402d64ec49c8d869ab61791db34b2288", - "reference": "494ba903402d64ec49c8d869ab61791db34b2288", + "url": "https://api.github.com/repos/illuminate/database/zipball/33073fe81e705b3d5d5ef992e6b065b3a89b07f6", + "reference": "33073fe81e705b3d5d5ef992e6b065b3a89b07f6", "shasum": "", "mirrors": [ { @@ -150,22 +585,190 @@ ] }, "require": { - "illuminate/contracts": "5.8.*", - "illuminate/support": "5.8.*", - "php": "^7.1.3", - "symfony/finder": "^4.2" + "illuminate/container": "5.6.*", + "illuminate/contracts": "5.6.*", + "illuminate/support": "5.6.*", + "php": "^7.1.3" }, "suggest": { - "league/flysystem": "Required to use the Flysystem local and FTP drivers (^1.0).", - "league/flysystem-aws-s3-v3": "Required to use the Flysystem S3 driver (^1.0).", - "league/flysystem-cached-adapter": "Required to use the Flysystem cache (^1.0).", - "league/flysystem-rackspace": "Required to use the Flysystem Rackspace driver (^1.0).", - "league/flysystem-sftp": "Required to use the Flysystem SFTP driver (^1.0)." + "doctrine/dbal": "Required to rename columns and drop SQLite columns (~2.6).", + "fzaninotto/faker": "Required to use the eloquent factory builder (~1.4).", + "illuminate/console": "Required to use the database commands (5.6.*).", + "illuminate/events": "Required to use the observers with Eloquent (5.6.*).", + "illuminate/filesystem": "Required to use the migrations (5.6.*).", + "illuminate/pagination": "Required to paginate the result set (5.6.*)." }, "type": "library", "extra": { "branch-alias": { - "dev-master": "5.8-dev" + "dev-master": "5.6-dev" + } + }, + "autoload": { + "psr-4": { + "Illuminate\\Database\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + } + ], + "description": "The Illuminate Database package.", + "homepage": "https://laravel.com", + "keywords": [ + "database", + "laravel", + "orm", + "sql" + ], + "time": "2018-09-04T13:11:31+00:00" + }, + { + "name": "illuminate/encryption", + "version": "v5.6.39", + "source": { + "type": "git", + "url": "https://github.com/illuminate/encryption.git", + "reference": "bd5ec7a711863fea409211bc6f04da8d1a05515e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/illuminate/encryption/zipball/bd5ec7a711863fea409211bc6f04da8d1a05515e", + "reference": "bd5ec7a711863fea409211bc6f04da8d1a05515e", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "ext-mbstring": "*", + "ext-openssl": "*", + "illuminate/contracts": "5.6.*", + "illuminate/support": "5.6.*", + "php": "^7.1.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.6-dev" + } + }, + "autoload": { + "psr-4": { + "Illuminate\\Encryption\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + } + ], + "description": "The Illuminate Encryption package.", + "homepage": "https://laravel.com", + "time": "2018-06-15T15:47:03+00:00" + }, + { + "name": "illuminate/events", + "version": "v5.6.39", + "source": { + "type": "git", + "url": "https://github.com/illuminate/events.git", + "reference": "c702e65fe37458fece6ae87ce7906aaa614383d6" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/illuminate/events/zipball/c702e65fe37458fece6ae87ce7906aaa614383d6", + "reference": "c702e65fe37458fece6ae87ce7906aaa614383d6", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "illuminate/container": "5.6.*", + "illuminate/contracts": "5.6.*", + "illuminate/support": "5.6.*", + "php": "^7.1.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.6-dev" + } + }, + "autoload": { + "psr-4": { + "Illuminate\\Events\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + } + ], + "description": "The Illuminate Events package.", + "homepage": "https://laravel.com", + "time": "2018-07-23T01:01:28+00:00" + }, + { + "name": "illuminate/filesystem", + "version": "v5.6.39", + "source": { + "type": "git", + "url": "https://github.com/illuminate/filesystem.git", + "reference": "b25940b428c9fd284feaad20e176ace8d780973b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/illuminate/filesystem/zipball/b25940b428c9fd284feaad20e176ace8d780973b", + "reference": "b25940b428c9fd284feaad20e176ace8d780973b", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "illuminate/contracts": "5.6.*", + "illuminate/support": "5.6.*", + "php": "^7.1.3", + "symfony/finder": "~4.0" + }, + "suggest": { + "league/flysystem": "Required to use the Flysystem local and FTP drivers (~1.0).", + "league/flysystem-aws-s3-v3": "Required to use the Flysystem S3 driver (~1.0).", + "league/flysystem-cached-adapter": "Required to use the Flysystem cache (~1.0).", + "league/flysystem-rackspace": "Required to use the Flysystem Rackspace driver (~1.0).", + "league/flysystem-sftp": "Required to use the Flysystem SFTP driver (~1.0)." + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.6-dev" } }, "autoload": { @@ -185,20 +788,20 @@ ], "description": "The Illuminate Filesystem package.", "homepage": "https://laravel.com", - "time": "2019-08-14T13:38:15+00:00" + "time": "2018-08-13T14:51:11+00:00" }, { - "name": "illuminate/http", - "version": "v5.8.35", + "name": "illuminate/hashing", + "version": "v5.6.39", "source": { "type": "git", - "url": "https://github.com/illuminate/http.git", - "reference": "cd0f549611de16b323af88478b441e4d52ceef40" + "url": "https://github.com/illuminate/hashing.git", + "reference": "ee3f00a4f12e562f7d2217b0889e3ba44c587a6d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/http/zipball/cd0f549611de16b323af88478b441e4d52ceef40", - "reference": "cd0f549611de16b323af88478b441e4d52ceef40", + "url": "https://api.github.com/repos/illuminate/hashing/zipball/ee3f00a4f12e562f7d2217b0889e3ba44c587a6d", + "reference": "ee3f00a4f12e562f7d2217b0889e3ba44c587a6d", "shasum": "", "mirrors": [ { @@ -208,20 +811,66 @@ ] }, "require": { - "ext-json": "*", - "illuminate/session": "5.8.*", - "illuminate/support": "5.8.*", - "php": "^7.1.3", - "symfony/http-foundation": "^4.2", - "symfony/http-kernel": "^4.2" - }, - "suggest": { - "ext-gd": "Required to use Illuminate\\Http\\Testing\\FileFactory::image()." + "illuminate/contracts": "5.6.*", + "illuminate/support": "5.6.*", + "php": "^7.1.3" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "5.8-dev" + "dev-master": "5.6-dev" + } + }, + "autoload": { + "psr-4": { + "Illuminate\\Hashing\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + } + ], + "description": "The Illuminate Hashing package.", + "homepage": "https://laravel.com", + "time": "2018-07-03T14:18:15+00:00" + }, + { + "name": "illuminate/http", + "version": "v5.6.39", + "source": { + "type": "git", + "url": "https://github.com/illuminate/http.git", + "reference": "552a7d2851c84adc1a4536c56ffc25d77a3b5f34" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/illuminate/http/zipball/552a7d2851c84adc1a4536c56ffc25d77a3b5f34", + "reference": "552a7d2851c84adc1a4536c56ffc25d77a3b5f34", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "illuminate/session": "5.6.*", + "illuminate/support": "5.6.*", + "php": "^7.1.3", + "symfony/http-foundation": "~4.0", + "symfony/http-kernel": "~4.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.6-dev" } }, "autoload": { @@ -241,20 +890,20 @@ ], "description": "The Illuminate Http package.", "homepage": "https://laravel.com", - "time": "2019-09-03T16:36:47+00:00" + "time": "2018-08-15T13:07:48+00:00" }, { - "name": "illuminate/session", - "version": "v5.8.35", + "name": "illuminate/log", + "version": "v5.6.39", "source": { "type": "git", - "url": "https://github.com/illuminate/session.git", - "reference": "087d360f7b9d75bc964280b890c2f2fe8efaf71f" + "url": "https://github.com/illuminate/log.git", + "reference": "7e00aa10a73127f676939ddb5b615302025c2838" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/session/zipball/087d360f7b9d75bc964280b890c2f2fe8efaf71f", - "reference": "087d360f7b9d75bc964280b890c2f2fe8efaf71f", + "url": "https://api.github.com/repos/illuminate/log/zipball/7e00aa10a73127f676939ddb5b615302025c2838", + "reference": "7e00aa10a73127f676939ddb5b615302025c2838", "shasum": "", "mirrors": [ { @@ -264,21 +913,234 @@ ] }, "require": { - "ext-json": "*", - "illuminate/contracts": "5.8.*", - "illuminate/filesystem": "5.8.*", - "illuminate/support": "5.8.*", - "php": "^7.1.3", - "symfony/finder": "^4.2", - "symfony/http-foundation": "^4.2" - }, - "suggest": { - "illuminate/console": "Required to use the session:table command (5.8.*)." + "illuminate/contracts": "5.6.*", + "illuminate/support": "5.6.*", + "monolog/monolog": "~1.11", + "php": "^7.1.3" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "5.8-dev" + "dev-master": "5.6-dev" + } + }, + "autoload": { + "psr-4": { + "Illuminate\\Log\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + } + ], + "description": "The Illuminate Log package.", + "homepage": "https://laravel.com", + "time": "2018-06-07T13:33:23+00:00" + }, + { + "name": "illuminate/pagination", + "version": "v5.6.39", + "source": { + "type": "git", + "url": "https://github.com/illuminate/pagination.git", + "reference": "b8ff0633e8c20f16c1100192f71be0b13568f021" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/illuminate/pagination/zipball/b8ff0633e8c20f16c1100192f71be0b13568f021", + "reference": "b8ff0633e8c20f16c1100192f71be0b13568f021", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "illuminate/contracts": "5.6.*", + "illuminate/support": "5.6.*", + "php": "^7.1.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.6-dev" + } + }, + "autoload": { + "psr-4": { + "Illuminate\\Pagination\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + } + ], + "description": "The Illuminate Pagination package.", + "homepage": "https://laravel.com", + "time": "2018-05-06T14:22:45+00:00" + }, + { + "name": "illuminate/pipeline", + "version": "v5.6.39", + "source": { + "type": "git", + "url": "https://github.com/illuminate/pipeline.git", + "reference": "18bf3d2c621939f87e285b5af8c464a549c4df05" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/illuminate/pipeline/zipball/18bf3d2c621939f87e285b5af8c464a549c4df05", + "reference": "18bf3d2c621939f87e285b5af8c464a549c4df05", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "illuminate/contracts": "5.6.*", + "illuminate/support": "5.6.*", + "php": "^7.1.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.6-dev" + } + }, + "autoload": { + "psr-4": { + "Illuminate\\Pipeline\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + } + ], + "description": "The Illuminate Pipeline package.", + "homepage": "https://laravel.com", + "time": "2018-05-14T13:08:37+00:00" + }, + { + "name": "illuminate/queue", + "version": "v5.6.39", + "source": { + "type": "git", + "url": "https://github.com/illuminate/queue.git", + "reference": "d304bf168765b773a0bb44556a09d1f475d9c12e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/illuminate/queue/zipball/d304bf168765b773a0bb44556a09d1f475d9c12e", + "reference": "d304bf168765b773a0bb44556a09d1f475d9c12e", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "illuminate/console": "5.6.*", + "illuminate/container": "5.6.*", + "illuminate/contracts": "5.6.*", + "illuminate/database": "5.6.*", + "illuminate/filesystem": "5.6.*", + "illuminate/support": "5.6.*", + "php": "^7.1.3", + "symfony/debug": "~4.0", + "symfony/process": "~4.0" + }, + "suggest": { + "aws/aws-sdk-php": "Required to use the SQS queue driver (~3.0).", + "ext-pcntl": "Required to use all features of the queue worker.", + "ext-posix": "Required to use all features of the queue worker.", + "illuminate/redis": "Required to use the Redis queue driver (5.6.*).", + "pda/pheanstalk": "Required to use the Beanstalk queue driver (~3.0)." + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.6-dev" + } + }, + "autoload": { + "psr-4": { + "Illuminate\\Queue\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + } + ], + "description": "The Illuminate Queue package.", + "homepage": "https://laravel.com", + "time": "2018-08-20T13:25:32+00:00" + }, + { + "name": "illuminate/session", + "version": "v5.6.39", + "source": { + "type": "git", + "url": "https://github.com/illuminate/session.git", + "reference": "183f1c064bb47a94d72c98aacc24f3189e03c6e7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/illuminate/session/zipball/183f1c064bb47a94d72c98aacc24f3189e03c6e7", + "reference": "183f1c064bb47a94d72c98aacc24f3189e03c6e7", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "illuminate/contracts": "5.6.*", + "illuminate/filesystem": "5.6.*", + "illuminate/support": "5.6.*", + "php": "^7.1.3", + "symfony/finder": "~4.0", + "symfony/http-foundation": "~4.0" + }, + "suggest": { + "illuminate/console": "Required to use the session:table command (5.6.*)." + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.6-dev" } }, "autoload": { @@ -298,20 +1160,20 @@ ], "description": "The Illuminate Session package.", "homepage": "https://laravel.com", - "time": "2019-07-08T13:48:55+00:00" + "time": "2018-07-30T13:38:17+00:00" }, { "name": "illuminate/support", - "version": "v5.8.35", + "version": "v5.6.39", "source": { "type": "git", "url": "https://github.com/illuminate/support.git", - "reference": "e63a495d3bf01654f70def1046fb925c4bb56506" + "reference": "e2fce24254b8f60a2f92a3ab485799b372625a06" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/support/zipball/e63a495d3bf01654f70def1046fb925c4bb56506", - "reference": "e63a495d3bf01654f70def1046fb925c4bb56506", + "url": "https://api.github.com/repos/illuminate/support/zipball/e2fce24254b8f60a2f92a3ab485799b372625a06", + "reference": "e2fce24254b8f60a2f92a3ab485799b372625a06", "shasum": "", "mirrors": [ { @@ -321,28 +1183,25 @@ ] }, "require": { - "doctrine/inflector": "^1.1", - "ext-json": "*", + "doctrine/inflector": "~1.1", "ext-mbstring": "*", - "illuminate/contracts": "5.8.*", - "nesbot/carbon": "^1.26.3 || ^2.0", + "illuminate/contracts": "5.6.*", + "nesbot/carbon": "1.25.*", "php": "^7.1.3" }, "conflict": { "tightenco/collect": "<5.5.33" }, "suggest": { - "illuminate/filesystem": "Required to use the composer class (5.8.*).", - "moontoast/math": "Required to use ordered UUIDs (^1.1).", + "illuminate/filesystem": "Required to use the composer class (5.6.*).", "ramsey/uuid": "Required to use Str::uuid() (^3.7).", - "symfony/process": "Required to use the composer class (^4.2).", - "symfony/var-dumper": "Required to use the dd function (^4.2).", - "vlucas/phpdotenv": "Required to use the env helper (^3.3)." + "symfony/process": "Required to use the composer class (~4.0).", + "symfony/var-dumper": "Required to use the dd function (~4.0)." }, "type": "library", "extra": { "branch-alias": { - "dev-master": "5.8-dev" + "dev-master": "5.6-dev" } }, "autoload": { @@ -365,20 +1224,20 @@ ], "description": "The Illuminate Support package.", "homepage": "https://laravel.com", - "time": "2019-09-03T16:36:47+00:00" + "time": "2018-09-06T13:37:53+00:00" }, { - "name": "nesbot/carbon", - "version": "2.25.3", + "name": "illuminate/translation", + "version": "v5.6.39", "source": { "type": "git", - "url": "https://github.com/briannesbitt/Carbon.git", - "reference": "d07636581795383e2fea2d711212d30f941f2039" + "url": "https://github.com/illuminate/translation.git", + "reference": "6e4d8211d6717a1d55c11d4e06b3185c9f8a8d2a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/d07636581795383e2fea2d711212d30f941f2039", - "reference": "d07636581795383e2fea2d711212d30f941f2039", + "url": "https://api.github.com/repos/illuminate/translation/zipball/6e4d8211d6717a1d55c11d4e06b3185c9f8a8d2a", + "reference": "6e4d8211d6717a1d55c11d4e06b3185c9f8a8d2a", "shasum": "", "mirrors": [ { @@ -388,28 +1247,406 @@ ] }, "require": { - "ext-json": "*", - "php": "^7.1.8 || ^8.0", - "symfony/translation": "^3.4 || ^4.0" + "illuminate/contracts": "5.6.*", + "illuminate/filesystem": "5.6.*", + "illuminate/support": "5.6.*", + "php": "^7.1.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.6-dev" + } + }, + "autoload": { + "psr-4": { + "Illuminate\\Translation\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + } + ], + "description": "The Illuminate Translation package.", + "homepage": "https://laravel.com", + "time": "2018-10-04T14:43:16+00:00" + }, + { + "name": "illuminate/validation", + "version": "v5.6.39", + "source": { + "type": "git", + "url": "https://github.com/illuminate/validation.git", + "reference": "f7da089264cf8cea97a1591ea9622dae1e500ec2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/illuminate/validation/zipball/f7da089264cf8cea97a1591ea9622dae1e500ec2", + "reference": "f7da089264cf8cea97a1591ea9622dae1e500ec2", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "illuminate/container": "5.6.*", + "illuminate/contracts": "5.6.*", + "illuminate/support": "5.6.*", + "illuminate/translation": "5.6.*", + "php": "^7.1.3", + "symfony/http-foundation": "~4.0" + }, + "suggest": { + "illuminate/database": "Required to use the database presence verifier (5.6.*)." + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.6-dev" + } + }, + "autoload": { + "psr-4": { + "Illuminate\\Validation\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + } + ], + "description": "The Illuminate Validation package.", + "homepage": "https://laravel.com", + "time": "2018-08-22T09:53:07+00:00" + }, + { + "name": "illuminate/view", + "version": "v5.6.39", + "source": { + "type": "git", + "url": "https://github.com/illuminate/view.git", + "reference": "60fd8f12340417a4312e5d90961510333d4f1d46" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/illuminate/view/zipball/60fd8f12340417a4312e5d90961510333d4f1d46", + "reference": "60fd8f12340417a4312e5d90961510333d4f1d46", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "illuminate/container": "5.6.*", + "illuminate/contracts": "5.6.*", + "illuminate/events": "5.6.*", + "illuminate/filesystem": "5.6.*", + "illuminate/support": "5.6.*", + "php": "^7.1.3", + "symfony/debug": "~4.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.6-dev" + } + }, + "autoload": { + "psr-4": { + "Illuminate\\View\\": "" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + } + ], + "description": "The Illuminate View package.", + "homepage": "https://laravel.com", + "time": "2018-10-02T13:27:20+00:00" + }, + { + "name": "kylekatarnls/update-helper", + "version": "1.2.0", + "source": { + "type": "git", + "url": "https://github.com/kylekatarnls/update-helper.git", + "reference": "5786fa188e0361b9adf9e8199d7280d1b2db165e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/kylekatarnls/update-helper/zipball/5786fa188e0361b9adf9e8199d7280d1b2db165e", + "reference": "5786fa188e0361b9adf9e8199d7280d1b2db165e", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "composer-plugin-api": "^1.1.0 || ^2.0.0", + "php": ">=5.3.0" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^2.14 || ^3.0", - "kylekatarnls/multi-tester": "^1.1", - "phpmd/phpmd": "dev-php-7.1-compatibility", - "phpstan/phpstan": "^0.11", - "phpunit/phpunit": "^7.5 || ^8.0", - "squizlabs/php_codesniffer": "^3.4" + "codeclimate/php-test-reporter": "dev-master", + "composer/composer": "2.0.x-dev || ^2.0.0-dev", + "phpunit/phpunit": ">=4.8.35 <6.0" + }, + "type": "composer-plugin", + "extra": { + "class": "UpdateHelper\\ComposerPlugin" + }, + "autoload": { + "psr-0": { + "UpdateHelper\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Kyle", + "email": "kylekatarnls@gmail.com" + } + ], + "description": "Update helper", + "time": "2019-07-29T11:03:54+00:00" + }, + { + "name": "laravel/lumen-framework", + "version": "v5.6.4", + "source": { + "type": "git", + "url": "https://github.com/laravel/lumen-framework.git", + "reference": "377918ff2b73e02fbc091f75471a365f17bf0704" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laravel/lumen-framework/zipball/377918ff2b73e02fbc091f75471a365f17bf0704", + "reference": "377918ff2b73e02fbc091f75471a365f17bf0704", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "dragonmantank/cron-expression": "~2.0", + "illuminate/auth": "5.6.*", + "illuminate/broadcasting": "5.6.*", + "illuminate/bus": "5.6.*", + "illuminate/cache": "5.6.*", + "illuminate/config": "5.6.*", + "illuminate/container": "5.6.*", + "illuminate/contracts": "5.6.*", + "illuminate/database": "5.6.*", + "illuminate/encryption": "5.6.*", + "illuminate/events": "5.6.*", + "illuminate/filesystem": "5.6.*", + "illuminate/hashing": "5.6.*", + "illuminate/http": "5.6.*", + "illuminate/log": "5.6.*", + "illuminate/pagination": "5.6.*", + "illuminate/pipeline": "5.6.*", + "illuminate/queue": "5.6.*", + "illuminate/support": "5.6.*", + "illuminate/translation": "5.6.*", + "illuminate/validation": "5.6.*", + "illuminate/view": "5.6.*", + "nikic/fast-route": "~1.2", + "php": "^7.1.3", + "symfony/http-foundation": "~4.0", + "symfony/http-kernel": "~4.0" + }, + "require-dev": { + "mockery/mockery": "~1.0", + "phpunit/phpunit": "~7.0" + }, + "suggest": { + "laravel/tinker": "Required to use the tinker console command (~1.0).", + "vlucas/phpdotenv": "Required to use .env files (~2.2)." + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.6-dev" + } + }, + "autoload": { + "psr-4": { + "Laravel\\Lumen\\": "src/" + }, + "files": [ + "src/helpers.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylorotwell@gmail.com" + } + ], + "description": "The Laravel Lumen Framework.", + "homepage": "https://lumen.laravel.com", + "keywords": [ + "framework", + "laravel", + "lumen" + ], + "time": "2018-06-28T14:02:26+00:00" + }, + { + "name": "monolog/monolog", + "version": "1.25.1", + "source": { + "type": "git", + "url": "https://github.com/Seldaek/monolog.git", + "reference": "70e65a5470a42cfec1a7da00d30edb6e617e8dcf" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/70e65a5470a42cfec1a7da00d30edb6e617e8dcf", + "reference": "70e65a5470a42cfec1a7da00d30edb6e617e8dcf", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": ">=5.3.0", + "psr/log": "~1.0" + }, + "provide": { + "psr/log-implementation": "1.0.0" + }, + "require-dev": { + "aws/aws-sdk-php": "^2.4.9 || ^3.0", + "doctrine/couchdb": "~1.0@dev", + "graylog2/gelf-php": "~1.0", + "jakub-onderka/php-parallel-lint": "0.9", + "php-amqplib/php-amqplib": "~2.4", + "php-console/php-console": "^3.1.3", + "phpunit/phpunit": "~4.5", + "phpunit/phpunit-mock-objects": "2.3.0", + "ruflin/elastica": ">=0.90 <3.0", + "sentry/sentry": "^0.13", + "swiftmailer/swiftmailer": "^5.3|^6.0" + }, + "suggest": { + "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB", + "doctrine/couchdb": "Allow sending log messages to a CouchDB server", + "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", + "ext-mongo": "Allow sending log messages to a MongoDB server", + "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server", + "mongodb/mongodb": "Allow sending log messages to a MongoDB server via PHP Driver", + "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib", + "php-console/php-console": "Allow sending log messages to Google Chrome", + "rollbar/rollbar": "Allow sending log messages to Rollbar", + "ruflin/elastica": "Allow sending log messages to an Elastic Search server", + "sentry/sentry": "Allow sending log messages to a Sentry server" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Monolog\\": "src/Monolog" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jordi Boggiano", + "email": "j.boggiano@seld.be", + "homepage": "http://seld.be" + } + ], + "description": "Sends your logs to files, sockets, inboxes, databases and various web services", + "homepage": "http://github.com/Seldaek/monolog", + "keywords": [ + "log", + "logging", + "psr-3" + ], + "time": "2019-09-06T13:49:17+00:00" + }, + { + "name": "nesbot/carbon", + "version": "1.25.3", + "source": { + "type": "git", + "url": "https://github.com/briannesbitt/Carbon.git", + "reference": "ad6afecd38ce2d7f7bd1b5d47ffd8e93ebbd3ed8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/ad6afecd38ce2d7f7bd1b5d47ffd8e93ebbd3ed8", + "reference": "ad6afecd38ce2d7f7bd1b5d47ffd8e93ebbd3ed8", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "kylekatarnls/update-helper": "^1.1", + "php": ">=5.3.9", + "symfony/translation": "~2.6 || ~3.0 || ~4.0" + }, + "require-dev": { + "composer/composer": "^1.2", + "friendsofphp/php-cs-fixer": "~2", + "phpunit/phpunit": "^4.8.35 || ^5.7" }, "bin": [ - "bin/carbon" + "bin/upgrade-carbon" ], "type": "library", "extra": { - "laravel": { - "providers": [ - "Carbon\\Laravel\\ServiceProvider" - ] - } + "update-helper": "Carbon\\Upgrade" }, "autoload": { "psr-4": { @@ -425,20 +1662,68 @@ "name": "Brian Nesbitt", "email": "brian@nesbot.com", "homepage": "http://nesbot.com" - }, - { - "name": "kylekatarnls", - "homepage": "http://github.com/kylekatarnls" } ], - "description": "An API extension for DateTime that supports 281 different languages.", + "description": "A simple API extension for DateTime.", "homepage": "http://carbon.nesbot.com", "keywords": [ "date", "datetime", "time" ], - "time": "2019-10-20T11:05:44+00:00" + "time": "2019-06-03T17:56:44+00:00" + }, + { + "name": "nikic/fast-route", + "version": "v1.3.0", + "source": { + "type": "git", + "url": "https://github.com/nikic/FastRoute.git", + "reference": "181d480e08d9476e61381e04a71b34dc0432e812" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/nikic/FastRoute/zipball/181d480e08d9476e61381e04a71b34dc0432e812", + "reference": "181d480e08d9476e61381e04a71b34dc0432e812", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": ">=5.4.0" + }, + "require-dev": { + "phpunit/phpunit": "^4.8.35|~5.7" + }, + "type": "library", + "autoload": { + "psr-4": { + "FastRoute\\": "src/" + }, + "files": [ + "src/functions.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Nikita Popov", + "email": "nikic@php.net" + } + ], + "description": "Fast request router for PHP", + "keywords": [ + "router", + "routing" + ], + "time": "2018-02-13T20:26:39+00:00" }, { "name": "psr/container", @@ -602,6 +1887,87 @@ ], "time": "2017-10-23T01:57:42+00:00" }, + { + "name": "symfony/console", + "version": "v4.3.5", + "source": { + "type": "git", + "url": "https://github.com/symfony/console.git", + "reference": "929ddf360d401b958f611d44e726094ab46a7369" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/console/zipball/929ddf360d401b958f611d44e726094ab46a7369", + "reference": "929ddf360d401b958f611d44e726094ab46a7369", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": "^7.1.3", + "symfony/polyfill-mbstring": "~1.0", + "symfony/polyfill-php73": "^1.8", + "symfony/service-contracts": "^1.1" + }, + "conflict": { + "symfony/dependency-injection": "<3.4", + "symfony/event-dispatcher": "<4.3", + "symfony/process": "<3.3" + }, + "provide": { + "psr/log-implementation": "1.0" + }, + "require-dev": { + "psr/log": "~1.0", + "symfony/config": "~3.4|~4.0", + "symfony/dependency-injection": "~3.4|~4.0", + "symfony/event-dispatcher": "^4.3", + "symfony/lock": "~3.4|~4.0", + "symfony/process": "~3.4|~4.0", + "symfony/var-dumper": "^4.3" + }, + "suggest": { + "psr/log": "For using the console logger", + "symfony/event-dispatcher": "", + "symfony/lock": "", + "symfony/process": "" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.3-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\Console\\": "" + }, + "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": "Symfony Console Component", + "homepage": "https://symfony.com", + "time": "2019-10-07T12:36:49+00:00" + }, { "name": "symfony/debug", "version": "v4.3.5", @@ -1405,6 +2771,125 @@ ], "time": "2019-08-06T08:03:45+00:00" }, + { + "name": "symfony/process", + "version": "v4.3.5", + "source": { + "type": "git", + "url": "https://github.com/symfony/process.git", + "reference": "50556892f3cc47d4200bfd1075314139c4c9ff4b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/process/zipball/50556892f3cc47d4200bfd1075314139c4c9ff4b", + "reference": "50556892f3cc47d4200bfd1075314139c4c9ff4b", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": "^7.1.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.3-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\Process\\": "" + }, + "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": "Symfony Process Component", + "homepage": "https://symfony.com", + "time": "2019-09-26T21:17:10+00:00" + }, + { + "name": "symfony/service-contracts", + "version": "v1.1.7", + "source": { + "type": "git", + "url": "https://github.com/symfony/service-contracts.git", + "reference": "ffcde9615dc5bb4825b9f6aed07716f1f57faae0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/ffcde9615dc5bb4825b9f6aed07716f1f57faae0", + "reference": "ffcde9615dc5bb4825b9f6aed07716f1f57faae0", + "shasum": "", + "mirrors": [ + { + "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", + "preferred": true + } + ] + }, + "require": { + "php": "^7.1.3", + "psr/container": "^1.0" + }, + "suggest": { + "symfony/service-implementation": "" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.1-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Contracts\\Service\\": "" + } + }, + "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": "Generic abstractions related to writing services", + "homepage": "https://symfony.com", + "keywords": [ + "abstractions", + "contracts", + "decoupling", + "interfaces", + "interoperability", + "standards" + ], + "time": "2019-09-17T11:12:18+00:00" + }, { "name": "symfony/translation", "version": "v4.3.5", diff --git a/src/Traits/ControllerTrait.php b/src/Traits/ControllerTrait.php new file mode 100644 index 0000000..dff7354 --- /dev/null +++ b/src/Traits/ControllerTrait.php @@ -0,0 +1,42 @@ + 0, + 'message' => $message, + 'data' => $data, + ]); + } + + /** + * @param Request $request + * @param array $rules + * @param array $messages + * @param array $customAttributes + * @return array + * @throws ApiException + */ + public function validateRequestParams(Request $request, array $rules, array $messages = [], array $customAttributes = []) + { + $validator = Validator::make($request->all(), $rules, $messages, $customAttributes); + if ($validator->fails()) { + throw new ApiInvalidParamException($validator->errors()->first()); + } + + return $request->only(collect($rules)->keys()->map(function ($rule) { + return Str::contains($rule, '.') ? explode('.', $rule)[0] : $rule; + })->unique()->toArray()); + } +} \ No newline at end of file