diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..d763872 --- /dev/null +++ b/.env.example @@ -0,0 +1,14 @@ +# |------------------------------- | +# Basic App Settings ----------- | +# |------------------------------- | +APP_NAME="RawPHP" +APP_DEBUG=true + +# |------------------------------- | +# Database Settings ----------- | +# |------------------------------- | +DB_CONNECTION=mysql +DB_HOST=127.0.0.1 +DB_NAME=raw-php +DB_USERNAME=raw-php +DB_PASSWORD=secret diff --git a/.gitignore b/.gitignore index 69a3ce9..bc1d7b6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ vendor/* bootstrap/* config/DatabaseConfig.php +.env diff --git a/app/Database/Migrations/Migration.php b/app/Database/Migrations/Migration.php new file mode 100644 index 0000000..82b11a1 --- /dev/null +++ b/app/Database/Migrations/Migration.php @@ -0,0 +1,50 @@ +schema = (new Capsule)->schema(); + } + + /** + * Get the migration connection name. + * + * @return string|null + */ + public function getConnection() + { + return $this->connection; + } +} diff --git a/app/Database/Migrations/MigrationStub.php b/app/Database/Migrations/MigrationStub.php new file mode 100644 index 0000000..1a16a7a --- /dev/null +++ b/app/Database/Migrations/MigrationStub.php @@ -0,0 +1,22 @@ +schema->create('', function (Blueprint $table) { + $table->increments('id'); + $table->timestamps(); + }); + } + + public function down() + { + $this->schema->dropIfExists(''); + } + +} diff --git a/app/helpers.php b/app/helpers.php new file mode 100644 index 0000000..4674159 --- /dev/null +++ b/app/helpers.php @@ -0,0 +1,313 @@ +"; + var_dump($content); + echo ""; + echo "
"; + }, func_get_args()); + + die; + } +} + +/** + * Throw Error Global Helper + */ +if (!function_exists('throw_when')) +{ + function throw_when(bool $fails, string $message, string $exception = Exception::class) + { + if (!$fails) return; + + throw new $exception($message); + } +} + +/** + * Class Base Name Helper + */ +if (! function_exists('class_basename')) { + function class_basename($class) + { + $class = is_object($class) ? get_class($class) : $class; + + return basename(str_replace('\\', '/', $class)); + } +} + +/** + * Config Global Helper + */ +if (!function_exists('config')) +{ + // function config($path = null, $value = null) + // { + // $config = app()->resolve('config'); + + // if (is_null($value)) { + // return data_get($config, $path); + // } + + // data_set($config, $path, $value); + + // app()->bind('config', $config); + // } + function config($path = null) { + + $config = []; + $folder = scandir(config_path()); + $config_files = array_slice($folder, 2, count($folder)); + + foreach ($config_files as $file) { + throw_when( + Str::after($file, '.') !== 'php', + 'Config files must be .php files' + ); + + data_set($config, Str::before($file, '.php'), require config_path($file)); + } + + return data_get($config, $path); + } +} + +/** + * Data Getting Global Helper + */ +if (! function_exists('data_get')) { + /** + * Get an item from an array or object using "dot" notation. + * + * @param mixed $target + * @param string|array|int|null $key + * @param mixed $default + * @return mixed + */ + function data_get($target, $key, $default = null) + { + if (is_null($key)) { + return $target; + } + + $key = is_array($key) ? $key : explode('.', $key); + + while (! is_null($segment = array_shift($key))) { + if ($segment === '*') { + if ($target instanceof Collection) { + $target = $target->all(); + } elseif (! is_array($target)) { + return value($default); + } + + $result = []; + + foreach ($target as $item) { + $result[] = data_get($item, $key); + } + + return in_array('*', $key) ? Arr::collapse($result) : $result; + } + + if (Arr::accessible($target) && Arr::exists($target, $segment)) { + $target = $target[$segment]; + } elseif (is_object($target) && isset($target->{$segment})) { + $target = $target->{$segment}; + } else { + return value($default); + } + } + + return $target; + } +} + +/** + * Data Setting Global Helper + */ +if (! function_exists('data_set')) { + /** + * Set an item on an array or object using dot notation. + * + * @param mixed $target + * @param string|array $key + * @param mixed $value + * @param bool $overwrite + * @return mixed + */ + function data_set(&$target, $key, $value, $overwrite = true) + { + $segments = is_array($key) ? $key : explode('.', $key); + + if (($segment = array_shift($segments)) === '*') { + if (! Arr::accessible($target)) { + $target = []; + } + + if ($segments) { + foreach ($target as &$inner) { + data_set($inner, $segments, $value, $overwrite); + } + } elseif ($overwrite) { + foreach ($target as &$inner) { + $inner = $value; + } + } + } elseif (Arr::accessible($target)) { + if ($segments) { + if (! Arr::exists($target, $segment)) { + $target[$segment] = []; + } + + data_set($target[$segment], $segments, $value, $overwrite); + } elseif ($overwrite || ! Arr::exists($target, $segment)) { + $target[$segment] = $value; + } + } elseif (is_object($target)) { + if ($segments) { + if (! isset($target->{$segment})) { + $target->{$segment} = []; + } + + data_set($target->{$segment}, $segments, $value, $overwrite); + } elseif ($overwrite || ! isset($target->{$segment})) { + $target->{$segment} = $value; + } + } else { + $target = []; + + if ($segments) { + data_set($target[$segment], $segments, $value, $overwrite); + } elseif ($overwrite) { + $target[$segment] = $value; + } + } + + return $target; + } +} + diff --git a/bin/phinx.php b/bin/phinx.php new file mode 100644 index 0000000..b383df3 --- /dev/null +++ b/bin/phinx.php @@ -0,0 +1,31 @@ + [ + 'migrations' => __DIR__ . '/../database/migrations', + 'seeds' => __DIR__ . '/../database/seeds', + ], + 'templates' => [ + 'file' => __DIR__ . '/../app/Database/Migrations/MigrationStub.php' + ], + 'migration_base_class' => '\App\Database\Migrations\Migration', + 'environments' => [ + 'default_migration_table' => 'migrations', + 'default_database' => 'testing', + 'testing' => [ + 'adapter' => $config['driver'], + 'host' => $config['host'], + 'name' => $config['database'], + 'user' => $config['username'], + 'pass' => $config['password'], + 'port' => $config['port'] + ] + ] +]; diff --git a/bin/raw b/bin/raw index 387d285..e879e27 100644 --- a/bin/raw +++ b/bin/raw @@ -8,6 +8,7 @@ use Symfony\Component\Console\Application; use Make\ModelCommand; use Make\ControllerCommand; use Make\ViewCommand; +use Phinx\Console\Command; $app = new Application(); @@ -15,4 +16,15 @@ $app->add(new ModelCommand()); $app->add(new ControllerCommand()); $app->add(new ViewCommand()); +$app->addCommands(array( + new Command\Init("migration:Init"), + new Command\Create("migration:create"), + new Command\Migrate("migration:migrate"), + new Command\Rollback("migration:rollback"), + new Command\Status("migration:status"), + new Command\Breakpoint("migration:breakpoint"), + new Command\Test("migration:test"), + new Command\SeedCreate("migration:seed-create"), + new Command\SeedRun("migration:seed-run"), +)); $app->run(); diff --git a/bin/src/ControllerCommand.php b/bin/src/ControllerCommand.php index 6676b1f..c60e9ab 100644 --- a/bin/src/ControllerCommand.php +++ b/bin/src/ControllerCommand.php @@ -29,7 +29,7 @@ protected function execute(InputInterface $input, OutputInterface $output){ //confirm that it contains the word controller if( strpos( $input, "Controller" ) == false ) { $output->writeln('Error: Your controller name is not named correctly. It should be in plural and should end with the word Controller. Eg. BooksController '); - }else if($input{0} !== strtoupper($input{0})){ + } else if($input(0) !== strtoupper($input(0))){ //the first character does not start with an upper case $output->writeln('Error: Your controller name must start with a capital letter eg. BooksController'); }else if( strpos( $input, "." ) !== false ) { diff --git a/bootstrap/app.php b/bootstrap/app.php index c0232c8..3e4831f 100644 --- a/bootstrap/app.php +++ b/bootstrap/app.php @@ -1,13 +1,18 @@ -getContainer(); - - -//load ORM +//load ORM require_once __DIR__. '/../config/ORMConfig.php'; -//load View +//load View require_once __DIR__. '/../config/ViewConfig.php'; //load controllers -//You have to update the file for every new controller created +//You have to update the file for every new controller created require_once __DIR__. '/../config/ControllerConfig.php'; //load container settings @@ -35,8 +38,6 @@ //You have to update this file for every new middleware added to this project require __DIR__. '/../config/MiddlewareConfig.php'; - - /** * Load validation rules */ diff --git a/composer.json b/composer.json index 86c00e6..294c472 100644 --- a/composer.json +++ b/composer.json @@ -26,7 +26,9 @@ "slim/csrf": "^0.8.1", "slim/flash": "^0.2.0", "cakephp/orm": "^3.4", - "symfony/console": "^3.3" + "symfony/console": "^3.3", + "robmorgan/phinx": "0.7.*", + "vlucas/phpdotenv": "^4.1" }, "require-dev": { "squizlabs/php_codesniffer": "^2.5", @@ -36,6 +38,9 @@ "psr/http-message-implementation": "1.0" }, "autoload":{ + "files": [ + "app/helpers.php" + ], "psr-4": { "App\\": "app", "Make\\": "bin/src/" @@ -47,7 +52,10 @@ "@phpcs" ], "phpunit": "php vendor/bin/phpunit", - "phpcs": "php vendor/bin/phpcs" + "phpcs": "php vendor/bin/phpcs", + "post-root-package-install": [ + "php -r \"file_exists('.env') || copy('.env.example', '.env');\"" + ] }, "prefer-stable": true } diff --git a/composer.lock b/composer.lock index 8d55c73..a75ba59 100644 --- a/composer.lock +++ b/composer.lock @@ -1,90 +1,35 @@ { "_readme": [ "This file locks the dependencies of your project to a known state", - "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file", + "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "hash": "cd2ebab38b2281b4ba3c32d785d65707", - "content-hash": "d51aef2e57e5cc8279d28a9496f05afd", + "content-hash": "5b63d684da545b7ba326bf0f0912ae08", "packages": [ { - "name": "aura/intl", - "version": "3.0.0", + "name": "cakephp/cache", + "version": "3.9.1", "source": { "type": "git", - "url": "https://github.com/auraphp/Aura.Intl.git", - "reference": "7fce228980b19bf4dee2d7bbd6202a69b0dde926" + "url": "https://github.com/cakephp/cache.git", + "reference": "e8ec4e77fb288adda318e08053f5f540870aeb9d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/auraphp/Aura.Intl/zipball/7fce228980b19bf4dee2d7bbd6202a69b0dde926", - "reference": "7fce228980b19bf4dee2d7bbd6202a69b0dde926", + "url": "https://api.github.com/repos/cakephp/cache/zipball/e8ec4e77fb288adda318e08053f5f540870aeb9d", + "reference": "e8ec4e77fb288adda318e08053f5f540870aeb9d", "shasum": "" }, "require": { - "php": "^5.6|^7.0" + "cakephp/core": "^3.6.0", + "php": ">=5.6.0", + "psr/simple-cache": "^1.0.0" }, "type": "library", "autoload": { "psr-4": { - "Aura\\Intl\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Aura.Intl Contributors", - "homepage": "https://github.com/auraphp/Aura.Intl/contributors" + "Cake\\Cache\\": "." } - ], - "description": "The Aura Intl package provides internationalization tools, specifically message translation.", - "homepage": "https://github.com/auraphp/Aura.Intl", - "keywords": [ - "g11n", - "globalization", - "i18n", - "internationalization", - "intl", - "l10n", - "localization" - ], - "time": "2017-01-20 05:00:11" - }, - { - "name": "cakephp/chronos", - "version": "1.1.2", - "source": { - "type": "git", - "url": "https://github.com/cakephp/chronos.git", - "reference": "0621b191334d8dcb56907688986dd24eb8c38234" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/cakephp/chronos/zipball/0621b191334d8dcb56907688986dd24eb8c38234", - "reference": "0621b191334d8dcb56907688986dd24eb8c38234", - "shasum": "" - }, - "require": { - "php": ">=5.5.9" - }, - "require-dev": { - "athletic/athletic": "~0.1", - "cakephp/cakephp-codesniffer": "~2.3", - "phpbench/phpbench": "@dev", - "phpstan/phpstan": "^0.6.4", - "phpunit/phpunit": "<6.0" - }, - "type": "library", - "autoload": { - "psr-4": { - "Cake\\Chronos\\": "src" - }, - "files": [ - "src/carbon_compat.php" - ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -92,36 +37,31 @@ ], "authors": [ { - "name": "Brian Nesbitt", - "email": "brian@nesbot.com", - "homepage": "http://nesbot.com" - }, - { - "name": "The CakePHP Team", - "homepage": "http://cakephp.org" + "name": "CakePHP Community", + "homepage": "https://github.com/cakephp/cache/graphs/contributors" } ], - "description": "A simple API extension for DateTime.", - "homepage": "http://cakephp.org", + "description": "Easy to use Caching library with support for multiple caching backends", + "homepage": "https://cakephp.org", "keywords": [ - "date", - "datetime", - "time" + "cache", + "caching", + "cakephp" ], - "time": "2017-04-27 01:27:49" + "time": "2020-06-16T00:54:28+00:00" }, { "name": "cakephp/collection", - "version": "3.4.9", + "version": "3.9.1", "source": { "type": "git", "url": "https://github.com/cakephp/collection.git", - "reference": "4f91ee056be3d8d5b84c89fd0b35486afd95c85f" + "reference": "ddfff69d7bfa8b9b03eb7150097b0b06258fcaa3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/cakephp/collection/zipball/4f91ee056be3d8d5b84c89fd0b35486afd95c85f", - "reference": "4f91ee056be3d8d5b84c89fd0b35486afd95c85f", + "url": "https://api.github.com/repos/cakephp/collection/zipball/ddfff69d7bfa8b9b03eb7150097b0b06258fcaa3", + "reference": "ddfff69d7bfa8b9b03eb7150097b0b06258fcaa3", "shasum": "" }, "require": { @@ -154,26 +94,30 @@ "collections", "iterators" ], - "time": "2017-06-11 00:01:11" + "time": "2020-07-05T02:00:29+00:00" }, { "name": "cakephp/core", - "version": "3.4.9", + "version": "3.9.1", "source": { "type": "git", "url": "https://github.com/cakephp/core.git", - "reference": "8e4fe35c9ce4b6f2095c969cde01ba527cf654bf" + "reference": "76b9450dc68c81f93bca7827cfbb42a53a5f7737" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/cakephp/core/zipball/8e4fe35c9ce4b6f2095c969cde01ba527cf654bf", - "reference": "8e4fe35c9ce4b6f2095c969cde01ba527cf654bf", + "url": "https://api.github.com/repos/cakephp/core/zipball/76b9450dc68c81f93bca7827cfbb42a53a5f7737", + "reference": "76b9450dc68c81f93bca7827cfbb42a53a5f7737", "shasum": "" }, "require": { - "cakephp/utility": "^3.0.0", + "cakephp/utility": "^3.6.0", "php": ">=5.6.0" }, + "suggest": { + "cakephp/cache": "To use Configure::store() and restore().", + "cakephp/event": "To use PluginApplicationInterface or plugin applications." + }, "type": "library", "autoload": { "psr-4": { @@ -200,31 +144,29 @@ "core", "framework" ], - "time": "2017-06-20 22:05:58" + "time": "2020-06-16T00:54:28+00:00" }, { "name": "cakephp/database", - "version": "3.4.9", + "version": "3.9.1", "source": { "type": "git", "url": "https://github.com/cakephp/database.git", - "reference": "27c52fbdbb15b01aa03794068c0f7da81ceac3fa" + "reference": "ad2da41e4cfc27321976dec28a081129dc9ae85c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/cakephp/database/zipball/27c52fbdbb15b01aa03794068c0f7da81ceac3fa", - "reference": "27c52fbdbb15b01aa03794068c0f7da81ceac3fa", + "url": "https://api.github.com/repos/cakephp/database/zipball/ad2da41e4cfc27321976dec28a081129dc9ae85c", + "reference": "ad2da41e4cfc27321976dec28a081129dc9ae85c", "shasum": "" }, "require": { - "cakephp/core": "^3.0.0", - "cakephp/datasource": "^3.0.0", + "cakephp/cache": "^3.6.0", + "cakephp/core": "^3.6.0", + "cakephp/datasource": "^3.6.0", + "cakephp/log": "^3.6.0", "php": ">=5.6.0" }, - "suggest": { - "cakephp/cache": "Require this if you decide to use the schema caching feature", - "cakephp/log": "Require this if you want to use the built-in query logger" - }, "type": "library", "autoload": { "psr-4": { @@ -250,29 +192,30 @@ "database abstraction", "pdo" ], - "time": "2017-06-20 22:33:25" + "time": "2020-07-01T02:23:27+00:00" }, { "name": "cakephp/datasource", - "version": "3.4.9", + "version": "3.9.1", "source": { "type": "git", "url": "https://github.com/cakephp/datasource.git", - "reference": "ad8ec0b42b140cba7da81a52124bd65341877104" + "reference": "ef310daf569dc11ef473a9ba0c52429025f672ec" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/cakephp/datasource/zipball/ad8ec0b42b140cba7da81a52124bd65341877104", - "reference": "ad8ec0b42b140cba7da81a52124bd65341877104", + "url": "https://api.github.com/repos/cakephp/datasource/zipball/ef310daf569dc11ef473a9ba0c52429025f672ec", + "reference": "ef310daf569dc11ef473a9ba0c52429025f672ec", "shasum": "" }, "require": { - "cakephp/core": "^3.0.0", + "cakephp/core": "^3.6.0", "php": ">=5.6.0" }, "suggest": { - "cakephp/collection": "Require this if you decide to use ResultSetInterface", - "cakephp/utility": "Require this if you decide to use EntityTrait" + "cakephp/cache": "If you decide to use Query caching.", + "cakephp/collection": "If you decide to use ResultSetInterface.", + "cakephp/utility": "If you decide to use EntityTrait." }, "type": "library", "autoload": { @@ -299,23 +242,24 @@ "entity", "query" ], - "time": "2017-06-15 01:39:34" + "time": "2020-06-16T00:54:28+00:00" }, { "name": "cakephp/event", - "version": "3.4.9", + "version": "3.9.1", "source": { "type": "git", "url": "https://github.com/cakephp/event.git", - "reference": "5aab1874dd5a2a5d09250e9b379a3e556a12abda" + "reference": "47bfdac2b723534dc05572a1e51e04c9690b0dfc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/cakephp/event/zipball/5aab1874dd5a2a5d09250e9b379a3e556a12abda", - "reference": "5aab1874dd5a2a5d09250e9b379a3e556a12abda", + "url": "https://api.github.com/repos/cakephp/event/zipball/47bfdac2b723534dc05572a1e51e04c9690b0dfc", + "reference": "47bfdac2b723534dc05572a1e51e04c9690b0dfc", "shasum": "" }, "require": { + "cakephp/core": "^3.6.0", "php": ">=5.6.0" }, "type": "library", @@ -342,40 +286,32 @@ "event", "observer pattern" ], - "time": "2017-06-11 00:19:51" + "time": "2020-06-07T01:48:49+00:00" }, { - "name": "cakephp/i18n", - "version": "3.4.12", + "name": "cakephp/log", + "version": "3.9.1", "source": { "type": "git", - "url": "https://github.com/cakephp/i18n.git", - "reference": "85f3dd4b9f3f5194b17494f4938f05bd0ca16556" + "url": "https://github.com/cakephp/log.git", + "reference": "02940591797475c2d384af12432561204d6ecdf9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/cakephp/i18n/zipball/85f3dd4b9f3f5194b17494f4938f05bd0ca16556", - "reference": "85f3dd4b9f3f5194b17494f4938f05bd0ca16556", + "url": "https://api.github.com/repos/cakephp/log/zipball/02940591797475c2d384af12432561204d6ecdf9", + "reference": "02940591797475c2d384af12432561204d6ecdf9", "shasum": "" }, "require": { - "aura/intl": "^3.0.0", - "cakephp/chronos": "^1.0.0", - "cakephp/core": "^3.0.0", - "ext-intl": "*", - "php": ">=5.6.0" - }, - "suggest": { - "cakephp/cache": "Require this if you want automatic caching of translators" + "cakephp/core": "^3.6.0", + "php": ">=5.6.0", + "psr/log": "^1.0.0" }, "type": "library", "autoload": { "psr-4": { - "Cake\\I18n\\": "." - }, - "files": [ - "functions.php" - ] + "Cake\\Log\\": "." + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -384,46 +320,41 @@ "authors": [ { "name": "CakePHP Community", - "homepage": "https://github.com/cakephp/i18n/graphs/contributors" + "homepage": "https://github.com/cakephp/log/graphs/contributors" } ], - "description": "CakePHP Internationalization library with support for messages translation and dates and numbers localization", + "description": "CakePHP logging library with support for multiple different streams", "homepage": "https://cakephp.org", "keywords": [ + "Streams", "cakephp", - "date", - "i18n", - "internationalisation", - "internationalization", - "localisation", - "localization", - "number", - "translation" - ], - "time": "2017-07-27 16:35:03" + "log", + "logging" + ], + "time": "2020-06-16T00:54:28+00:00" }, { "name": "cakephp/orm", - "version": "3.4.9", + "version": "3.9.1", "source": { "type": "git", "url": "https://github.com/cakephp/orm.git", - "reference": "8d98ce83bc2d2c2309e1a0d4590453b3a4785abc" + "reference": "f2c4b0a006717932f897baeee9dfc6bd66c57442" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/cakephp/orm/zipball/8d98ce83bc2d2c2309e1a0d4590453b3a4785abc", - "reference": "8d98ce83bc2d2c2309e1a0d4590453b3a4785abc", + "url": "https://api.github.com/repos/cakephp/orm/zipball/f2c4b0a006717932f897baeee9dfc6bd66c57442", + "reference": "f2c4b0a006717932f897baeee9dfc6bd66c57442", "shasum": "" }, "require": { - "cakephp/collection": "^3.0.0", - "cakephp/core": "^3.0.0", - "cakephp/database": "^3.1.4", - "cakephp/datasource": "^3.1.2", - "cakephp/event": "^3.0.0", - "cakephp/utility": "^3.0.0", - "cakephp/validation": "^3.0.0", + "cakephp/collection": "^3.6.0", + "cakephp/core": "^3.6.0", + "cakephp/database": "^3.6.0", + "cakephp/datasource": "^3.6.0", + "cakephp/event": "^3.6.0", + "cakephp/utility": "^3.6.0", + "cakephp/validation": "^3.6.0", "php": ">=5.6.0" }, "suggest": { @@ -453,23 +384,24 @@ "data-mapper pattern", "orm" ], - "time": "2017-06-22 20:12:17" + "time": "2020-06-16T00:54:28+00:00" }, { "name": "cakephp/utility", - "version": "3.4.12", + "version": "3.9.1", "source": { "type": "git", "url": "https://github.com/cakephp/utility.git", - "reference": "c2ad317160691acfcf801a78428abf386aef4a7e" + "reference": "27d9c7409ad89272e2483e3196aabc47385d3db6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/cakephp/utility/zipball/c2ad317160691acfcf801a78428abf386aef4a7e", - "reference": "c2ad317160691acfcf801a78428abf386aef4a7e", + "url": "https://api.github.com/repos/cakephp/utility/zipball/27d9c7409ad89272e2483e3196aabc47385d3db6", + "reference": "27d9c7409ad89272e2483e3196aabc47385d3db6", "shasum": "" }, "require": { + "cakephp/core": "^3.6.0", "php": ">=5.6.0" }, "suggest": { @@ -505,28 +437,31 @@ "string", "utility" ], - "time": "2017-06-25 21:50:48" + "time": "2020-06-14T02:01:05+00:00" }, { "name": "cakephp/validation", - "version": "3.4.9", + "version": "3.9.1", "source": { "type": "git", "url": "https://github.com/cakephp/validation.git", - "reference": "3c3e28b2c64660b25626253216cb9f7fcc60b160" + "reference": "faee471de5ccd80676521894048aa46609ceb10a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/cakephp/validation/zipball/3c3e28b2c64660b25626253216cb9f7fcc60b160", - "reference": "3c3e28b2c64660b25626253216cb9f7fcc60b160", + "url": "https://api.github.com/repos/cakephp/validation/zipball/faee471de5ccd80676521894048aa46609ceb10a", + "reference": "faee471de5ccd80676521894048aa46609ceb10a", "shasum": "" }, "require": { - "cakephp/i18n": "^3.0.0", - "cakephp/utility": "^3.0.0", + "cakephp/core": "^3.6.0", + "cakephp/utility": "^3.6.0", "php": ">=5.6.0", "psr/http-message": "^1.0.0" }, + "suggest": { + "cakephp/i18n": "If you want to use Validation::localizedTime()" + }, "type": "library", "autoload": { "psr-4": { @@ -550,7 +485,7 @@ "data validation", "validation" ], - "time": "2017-06-11 00:19:51" + "time": "2020-06-14T02:01:05+00:00" }, { "name": "container-interop/container-interop", @@ -581,37 +516,43 @@ ], "description": "Promoting the interoperability of container objects (DIC, SL, etc.)", "homepage": "https://github.com/container-interop/container-interop", - "time": "2017-02-14 19:40:03" + "abandoned": "psr/container", + "time": "2017-02-14T19:40:03+00:00" }, { "name": "doctrine/inflector", - "version": "v1.1.0", + "version": "1.4.3", "source": { "type": "git", "url": "https://github.com/doctrine/inflector.git", - "reference": "90b2128806bfde671b6952ab8bea493942c1fdae" + "reference": "4650c8b30c753a76bf44fb2ed00117d6f367490c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/inflector/zipball/90b2128806bfde671b6952ab8bea493942c1fdae", - "reference": "90b2128806bfde671b6952ab8bea493942c1fdae", + "url": "https://api.github.com/repos/doctrine/inflector/zipball/4650c8b30c753a76bf44fb2ed00117d6f367490c", + "reference": "4650c8b30c753a76bf44fb2ed00117d6f367490c", "shasum": "" }, "require": { - "php": ">=5.3.2" + "php": "^7.2 || ^8.0" }, "require-dev": { - "phpunit/phpunit": "4.*" + "doctrine/coding-standard": "^7.0", + "phpstan/phpstan": "^0.11", + "phpstan/phpstan-phpunit": "^0.11", + "phpstan/phpstan-strict-rules": "^0.11", + "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.1.x-dev" + "dev-master": "2.0.x-dev" } }, "autoload": { - "psr-0": { - "Doctrine\\Common\\Inflector\\": "lib/" + "psr-4": { + "Doctrine\\Common\\Inflector\\": "lib/Doctrine/Common/Inflector", + "Doctrine\\Inflector\\": "lib/Doctrine/Inflector" } }, "notification-url": "https://packagist.org/downloads/", @@ -619,6 +560,10 @@ "MIT" ], "authors": [ + { + "name": "Guilherme Blanco", + "email": "guilhermeblanco@gmail.com" + }, { "name": "Roman Borschel", "email": "roman@code-factory.org" @@ -627,10 +572,6 @@ "name": "Benjamin Eberlei", "email": "kontakt@beberlei.de" }, - { - "name": "Guilherme Blanco", - "email": "guilhermeblanco@gmail.com" - }, { "name": "Jonathan Wage", "email": "jonwage@gmail.com" @@ -640,38 +581,60 @@ "email": "schmittjoh@gmail.com" } ], - "description": "Common String Manipulations with regard to casing and singular/plural rules.", - "homepage": "http://www.doctrine-project.org", + "description": "PHP Doctrine Inflector is a small library that can perform string manipulations with regard to upper/lowercase and singular/plural forms of words.", + "homepage": "https://www.doctrine-project.org/projects/inflector.html", "keywords": [ "inflection", - "pluralize", - "singularize", - "string" + "inflector", + "lowercase", + "manipulation", + "php", + "plural", + "singular", + "strings", + "uppercase", + "words" + ], + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finflector", + "type": "tidelift" + } ], - "time": "2015-11-06 14:35:42" + "time": "2020-05-29T07:19:59+00:00" }, { "name": "illuminate/container", - "version": "v5.4.27", + "version": "v5.8.36", "source": { "type": "git", "url": "https://github.com/illuminate/container.git", - "reference": "c5b8a02a34a52c307f16922334c355c5eef725a6" + "reference": "b42e5ef939144b77f78130918da0ce2d9ee16574" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/container/zipball/c5b8a02a34a52c307f16922334c355c5eef725a6", - "reference": "c5b8a02a34a52c307f16922334c355c5eef725a6", + "url": "https://api.github.com/repos/illuminate/container/zipball/b42e5ef939144b77f78130918da0ce2d9ee16574", + "reference": "b42e5ef939144b77f78130918da0ce2d9ee16574", "shasum": "" }, "require": { - "illuminate/contracts": "5.4.*", - "php": ">=5.6.4" + "illuminate/contracts": "5.8.*", + "illuminate/support": "5.8.*", + "php": "^7.1.3", + "psr/container": "^1.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "5.4-dev" + "dev-master": "5.8-dev" } }, "autoload": { @@ -691,29 +654,31 @@ ], "description": "The Illuminate Container package.", "homepage": "https://laravel.com", - "time": "2017-05-24 14:15:53" + "time": "2019-08-20T02:00:23+00:00" }, { "name": "illuminate/contracts", - "version": "v5.4.27", + "version": "v5.8.36", "source": { "type": "git", "url": "https://github.com/illuminate/contracts.git", - "reference": "31f0193eb14aa3ee07841dc254081425616e79f0" + "reference": "00fc6afee788fa07c311b0650ad276585f8aef96" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/contracts/zipball/31f0193eb14aa3ee07841dc254081425616e79f0", - "reference": "31f0193eb14aa3ee07841dc254081425616e79f0", + "url": "https://api.github.com/repos/illuminate/contracts/zipball/00fc6afee788fa07c311b0650ad276585f8aef96", + "reference": "00fc6afee788fa07c311b0650ad276585f8aef96", "shasum": "" }, "require": { - "php": ">=5.6.4" + "php": "^7.1.3", + "psr/container": "^1.0", + "psr/simple-cache": "^1.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "5.4-dev" + "dev-master": "5.8-dev" } }, "autoload": { @@ -733,41 +698,41 @@ ], "description": "The Illuminate Contracts package.", "homepage": "https://laravel.com", - "time": "2017-04-19 20:17:43" + "time": "2019-07-30T13:57:21+00:00" }, { "name": "illuminate/database", - "version": "v5.4.27", + "version": "v5.8.36", "source": { "type": "git", "url": "https://github.com/illuminate/database.git", - "reference": "199393c01cdb87c98aaed9be098b5699415b3bcf" + "reference": "ac9ae2d82b8a6137400f17b3eea258be3518daa9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/database/zipball/199393c01cdb87c98aaed9be098b5699415b3bcf", - "reference": "199393c01cdb87c98aaed9be098b5699415b3bcf", + "url": "https://api.github.com/repos/illuminate/database/zipball/ac9ae2d82b8a6137400f17b3eea258be3518daa9", + "reference": "ac9ae2d82b8a6137400f17b3eea258be3518daa9", "shasum": "" }, "require": { - "illuminate/container": "5.4.*", - "illuminate/contracts": "5.4.*", - "illuminate/support": "5.4.*", - "nesbot/carbon": "~1.20", - "php": ">=5.6.4" + "ext-json": "*", + "illuminate/container": "5.8.*", + "illuminate/contracts": "5.8.*", + "illuminate/support": "5.8.*", + "php": "^7.1.3" }, "suggest": { - "doctrine/dbal": "Required to rename columns and drop SQLite columns (~2.5).", - "fzaninotto/faker": "Required to use the eloquent factory builder (~1.4).", - "illuminate/console": "Required to use the database commands (5.4.*).", - "illuminate/events": "Required to use the observers with Eloquent (5.4.*).", - "illuminate/filesystem": "Required to use the migrations (5.4.*).", - "illuminate/pagination": "Required to paginate the result set (5.4.*)." + "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.8.*).", + "illuminate/events": "Required to use the observers with Eloquent (5.8.*).", + "illuminate/filesystem": "Required to use the migrations (5.8.*).", + "illuminate/pagination": "Required to paginate the result set (5.8.*)." }, "type": "library", "extra": { "branch-alias": { - "dev-master": "5.4-dev" + "dev-master": "5.8-dev" } }, "autoload": { @@ -793,41 +758,45 @@ "orm", "sql" ], - "time": "2017-06-15 19:07:41" + "time": "2019-10-03T16:22:57+00:00" }, { "name": "illuminate/support", - "version": "v5.4.27", + "version": "v5.8.36", "source": { "type": "git", "url": "https://github.com/illuminate/support.git", - "reference": "a42393b56d0ec75f55e760f2a47bcf85a17a278d" + "reference": "df4af6a32908f1d89d74348624b57e3233eea247" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/illuminate/support/zipball/a42393b56d0ec75f55e760f2a47bcf85a17a278d", - "reference": "a42393b56d0ec75f55e760f2a47bcf85a17a278d", + "url": "https://api.github.com/repos/illuminate/support/zipball/df4af6a32908f1d89d74348624b57e3233eea247", + "reference": "df4af6a32908f1d89d74348624b57e3233eea247", "shasum": "" }, "require": { - "doctrine/inflector": "~1.0", + "doctrine/inflector": "^1.1", + "ext-json": "*", "ext-mbstring": "*", - "illuminate/contracts": "5.4.*", - "paragonie/random_compat": "~1.4|~2.0", - "php": ">=5.6.4" + "illuminate/contracts": "5.8.*", + "nesbot/carbon": "^1.26.3 || ^2.0", + "php": "^7.1.3" }, - "replace": { - "tightenco/collect": "self.version" + "conflict": { + "tightenco/collect": "<5.5.33" }, "suggest": { - "illuminate/filesystem": "Required to use the composer class (5.2.*).", - "symfony/process": "Required to use the composer class (~3.2).", - "symfony/var-dumper": "Required to use the dd function (~3.2)." + "illuminate/filesystem": "Required to use the composer class (5.8.*).", + "moontoast/math": "Required to use ordered UUIDs (^1.1).", + "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)." }, "type": "library", "extra": { "branch-alias": { - "dev-master": "5.4-dev" + "dev-master": "5.8-dev" } }, "autoload": { @@ -850,34 +819,56 @@ ], "description": "The Illuminate Support package.", "homepage": "https://laravel.com", - "time": "2017-06-15 12:35:32" + "time": "2019-12-12T14:16:47+00:00" }, { "name": "nesbot/carbon", - "version": "1.22.1", + "version": "2.38.0", "source": { "type": "git", "url": "https://github.com/briannesbitt/Carbon.git", - "reference": "7cdf42c0b1cc763ab7e4c33c47a24e27c66bfccc" + "reference": "d8f6a6a91d1eb9304527b040500f61923e97674b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/7cdf42c0b1cc763ab7e4c33c47a24e27c66bfccc", - "reference": "7cdf42c0b1cc763ab7e4c33c47a24e27c66bfccc", + "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/d8f6a6a91d1eb9304527b040500f61923e97674b", + "reference": "d8f6a6a91d1eb9304527b040500f61923e97674b", "shasum": "" }, "require": { - "php": ">=5.3.0", - "symfony/translation": "~2.6 || ~3.0" + "ext-json": "*", + "php": "^7.1.8 || ^8.0", + "symfony/polyfill-mbstring": "^1.0", + "symfony/translation": "^3.4 || ^4.0 || ^5.0" }, "require-dev": { - "friendsofphp/php-cs-fixer": "~2", - "phpunit/phpunit": "~4.0 || ~5.0" + "doctrine/orm": "^2.7", + "friendsofphp/php-cs-fixer": "^2.14 || ^3.0", + "kylekatarnls/multi-tester": "^2.0", + "phpmd/phpmd": "^2.8", + "phpstan/extension-installer": "^1.0", + "phpstan/phpstan": "^0.12.35", + "phpunit/phpunit": "^7.5 || ^8.0", + "squizlabs/php_codesniffer": "^3.4" }, + "bin": [ + "bin/carbon" + ], "type": "library", "extra": { "branch-alias": { - "dev-master": "1.23-dev" + "dev-master": "2.x-dev", + "dev-3.x": "3.x-dev" + }, + "laravel": { + "providers": [ + "Carbon\\Laravel\\ServiceProvider" + ] + }, + "phpstan": { + "includes": [ + "extension.neon" + ] } }, "autoload": { @@ -894,34 +885,51 @@ "name": "Brian Nesbitt", "email": "brian@nesbot.com", "homepage": "http://nesbot.com" + }, + { + "name": "kylekatarnls", + "homepage": "http://github.com/kylekatarnls" } ], - "description": "A simple API extension for DateTime.", + "description": "An API extension for DateTime that supports 281 different languages.", "homepage": "http://carbon.nesbot.com", "keywords": [ "date", "datetime", "time" ], - "time": "2017-01-16 07:55:07" + "funding": [ + { + "url": "https://opencollective.com/Carbon", + "type": "open_collective" + }, + { + "url": "https://tidelift.com/funding/github/packagist/nesbot/carbon", + "type": "tidelift" + } + ], + "time": "2020-08-04T19:12:46+00:00" }, { "name": "nikic/fast-route", - "version": "v1.2.0", + "version": "v1.3.0", "source": { "type": "git", "url": "https://github.com/nikic/FastRoute.git", - "reference": "b5f95749071c82a8e0f58586987627054400cdf6" + "reference": "181d480e08d9476e61381e04a71b34dc0432e812" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/FastRoute/zipball/b5f95749071c82a8e0f58586987627054400cdf6", - "reference": "b5f95749071c82a8e0f58586987627054400cdf6", + "url": "https://api.github.com/repos/nikic/FastRoute/zipball/181d480e08d9476e61381e04a71b34dc0432e812", + "reference": "181d480e08d9476e61381e04a71b34dc0432e812", "shasum": "" }, "require": { "php": ">=5.4.0" }, + "require-dev": { + "phpunit/phpunit": "^4.8.35|~5.7" + }, "type": "library", "autoload": { "psr-4": { @@ -946,37 +954,33 @@ "router", "routing" ], - "time": "2017-01-19 11:35:12" + "time": "2018-02-13T20:26:39+00:00" }, { "name": "paragonie/random_compat", - "version": "v2.0.10", + "version": "v9.99.99", "source": { "type": "git", "url": "https://github.com/paragonie/random_compat.git", - "reference": "634bae8e911eefa89c1abfbf1b66da679ac8f54d" + "reference": "84b4dfb120c6f9b4ff7b3685f9b8f1aa365a0c95" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/paragonie/random_compat/zipball/634bae8e911eefa89c1abfbf1b66da679ac8f54d", - "reference": "634bae8e911eefa89c1abfbf1b66da679ac8f54d", + "url": "https://api.github.com/repos/paragonie/random_compat/zipball/84b4dfb120c6f9b4ff7b3685f9b8f1aa365a0c95", + "reference": "84b4dfb120c6f9b4ff7b3685f9b8f1aa365a0c95", "shasum": "" }, "require": { - "php": ">=5.2.0" + "php": "^7" }, "require-dev": { - "phpunit/phpunit": "4.*|5.*" + "phpunit/phpunit": "4.*|5.*", + "vimeo/psalm": "^1" }, "suggest": { "ext-libsodium": "Provides a modern crypto API that can be used to generate random bytes." }, "type": "library", - "autoload": { - "files": [ - "lib/random.php" - ] - }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" @@ -991,32 +995,102 @@ "description": "PHP 5.x polyfill for random_bytes() and random_int() from PHP 7", "keywords": [ "csprng", + "polyfill", "pseudorandom", "random" ], - "time": "2017-03-13 16:27:32" + "time": "2018-07-02T15:55:56+00:00" + }, + { + "name": "phpoption/phpoption", + "version": "1.7.5", + "source": { + "type": "git", + "url": "https://github.com/schmittjoh/php-option.git", + "reference": "994ecccd8f3283ecf5ac33254543eb0ac946d525" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/schmittjoh/php-option/zipball/994ecccd8f3283ecf5ac33254543eb0ac946d525", + "reference": "994ecccd8f3283ecf5ac33254543eb0ac946d525", + "shasum": "" + }, + "require": { + "php": "^5.5.9 || ^7.0 || ^8.0" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.4.1", + "phpunit/phpunit": "^4.8.35 || ^5.7.27 || ^6.5.6 || ^7.0 || ^8.0 || ^9.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.7-dev" + } + }, + "autoload": { + "psr-4": { + "PhpOption\\": "src/PhpOption/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache-2.0" + ], + "authors": [ + { + "name": "Johannes M. Schmitt", + "email": "schmittjoh@gmail.com" + }, + { + "name": "Graham Campbell", + "email": "graham@alt-three.com" + } + ], + "description": "Option Type for PHP", + "keywords": [ + "language", + "option", + "php", + "type" + ], + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/phpoption/phpoption", + "type": "tidelift" + } + ], + "time": "2020-07-20T17:29:33+00:00" }, { "name": "pimple/pimple", - "version": "v3.0.2", + "version": "v3.3.0", "source": { "type": "git", "url": "https://github.com/silexphp/Pimple.git", - "reference": "a30f7d6e57565a2e1a316e1baf2a483f788b258a" + "reference": "e55d12f9d6a0e7f9c85992b73df1267f46279930" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/silexphp/Pimple/zipball/a30f7d6e57565a2e1a316e1baf2a483f788b258a", - "reference": "a30f7d6e57565a2e1a316e1baf2a483f788b258a", + "url": "https://api.github.com/repos/silexphp/Pimple/zipball/e55d12f9d6a0e7f9c85992b73df1267f46279930", + "reference": "e55d12f9d6a0e7f9c85992b73df1267f46279930", "shasum": "" }, "require": { - "php": ">=5.3.0" + "php": "^7.2.5", + "psr/container": "^1.0" + }, + "require-dev": { + "symfony/phpunit-bridge": "^3.4|^4.4|^5.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0.x-dev" + "dev-master": "3.3.x-dev" } }, "autoload": { @@ -1035,12 +1109,12 @@ } ], "description": "Pimple, a simple Dependency Injection Container", - "homepage": "http://pimple.sensiolabs.org", + "homepage": "https://pimple.symfony.com", "keywords": [ "container", "dependency injection" ], - "time": "2015-09-11 15:10:35" + "time": "2020-03-03T09:12:48+00:00" }, { "name": "psr/container", @@ -1089,7 +1163,7 @@ "container-interop", "psr" ], - "time": "2017-02-14 16:28:37" + "time": "2017-02-14T16:28:37+00:00" }, { "name": "psr/http-message", @@ -1139,20 +1213,20 @@ "request", "response" ], - "time": "2016-08-06 14:39:51" + "time": "2016-08-06T14:39:51+00:00" }, { "name": "psr/log", - "version": "1.0.2", + "version": "1.1.3", "source": { "type": "git", "url": "https://github.com/php-fig/log.git", - "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d" + "reference": "0f73288fd15629204f9d42b7055f72dacbe811fc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/log/zipball/4ebe3a8bf773a19edfe0a84b6585ba3d401b724d", - "reference": "4ebe3a8bf773a19edfe0a84b6585ba3d401b724d", + "url": "https://api.github.com/repos/php-fig/log/zipball/0f73288fd15629204f9d42b7055f72dacbe811fc", + "reference": "0f73288fd15629204f9d42b7055f72dacbe811fc", "shasum": "" }, "require": { @@ -1161,7 +1235,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0.x-dev" + "dev-master": "1.1.x-dev" } }, "autoload": { @@ -1186,20 +1260,68 @@ "psr", "psr-3" ], - "time": "2016-10-10 12:19:37" + "time": "2020-03-23T09:12:05+00:00" + }, + { + "name": "psr/simple-cache", + "version": "1.0.1", + "source": { + "type": "git", + "url": "https://github.com/php-fig/simple-cache.git", + "reference": "408d5eafb83c57f6365a3ca330ff23aa4a5fa39b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/simple-cache/zipball/408d5eafb83c57f6365a3ca330ff23aa4a5fa39b", + "reference": "408d5eafb83c57f6365a3ca330ff23aa4a5fa39b", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\SimpleCache\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common interfaces for simple caching", + "keywords": [ + "cache", + "caching", + "psr", + "psr-16", + "simple-cache" + ], + "time": "2017-10-23T01:57:42+00:00" }, { "name": "respect/validation", - "version": "1.1.12", + "version": "1.1.31", "source": { "type": "git", "url": "https://github.com/Respect/Validation.git", - "reference": "5ab87d1dd932872f6670136a513f72ff9ea41c67" + "reference": "45d109fc830644fecc1145200d6351ce4f2769d0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Respect/Validation/zipball/5ab87d1dd932872f6670136a513f72ff9ea41c67", - "reference": "5ab87d1dd932872f6670136a513f72ff9ea41c67", + "url": "https://api.github.com/repos/Respect/Validation/zipball/45d109fc830644fecc1145200d6351ce4f2769d0", + "reference": "45d109fc830644fecc1145200d6351ce4f2769d0", "shasum": "" }, "require": { @@ -1207,10 +1329,9 @@ "symfony/polyfill-mbstring": "^1.2" }, "require-dev": { - "egulias/email-validator": "~1.2", - "malkusch/bav": "~1.0", + "egulias/email-validator": "~1.2 || ~2.1", "mikey179/vfsstream": "^1.5", - "phpunit/phpunit": "~4.0", + "phpunit/phpunit": "~4.0 || ~5.0", "symfony/validator": "~2.6.9", "zendframework/zend-validator": "~2.3" }, @@ -1218,8 +1339,7 @@ "egulias/email-validator": "Strict (RFC compliant) email validation", "ext-bcmath": "Arbitrary Precision Mathematics", "ext-mbstring": "Multibyte String Functions", - "fabpot/php-cs-fixer": "Fix PSR2 and other coding style issues", - "malkusch/bav": "German bank account validation", + "friendsofphp/php-cs-fixer": "Fix PSR2 and other coding style issues", "symfony/validator": "Use Symfony validator through Respect\\Validation", "zendframework/zend-validator": "Use Zend Framework validator through Respect\\Validation" }, @@ -1236,7 +1356,7 @@ }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD Style" + "BSD-3-Clause" ], "authors": [ { @@ -1251,24 +1371,90 @@ "validation", "validator" ], - "time": "2017-03-14 09:44:11" + "time": "2019-05-28T06:10:06+00:00" + }, + { + "name": "robmorgan/phinx", + "version": "v0.7.2", + "source": { + "type": "git", + "url": "https://github.com/cakephp/phinx.git", + "reference": "53cc5123c1cba71b26d4e5ab83fa0dd404075d19" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/cakephp/phinx/zipball/53cc5123c1cba71b26d4e5ab83fa0dd404075d19", + "reference": "53cc5123c1cba71b26d4e5ab83fa0dd404075d19", + "shasum": "" + }, + "require": { + "php": ">=5.4", + "symfony/config": "~2.8|~3.0", + "symfony/console": "~2.8|~3.0", + "symfony/yaml": "~2.8|~3.0" + }, + "require-dev": { + "phpunit/phpunit": "^4.8.26|^5.0" + }, + "bin": [ + "bin/phinx" + ], + "type": "library", + "autoload": { + "psr-4": { + "Phinx\\": "src/Phinx" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Woody Gilk", + "email": "woody.gilk@gmail.com", + "homepage": "http://shadowhand.me", + "role": "Developer" + }, + { + "name": "Rob Morgan", + "email": "robbym@gmail.com", + "homepage": "https://robmorgan.id.au", + "role": "Lead Developer" + }, + { + "name": "Richard Quadling", + "email": "rquadling@gmail.com", + "role": "Developer" + } + ], + "description": "Phinx makes it ridiculously easy to manage the database migrations for your PHP app.", + "homepage": "https://phinx.org", + "keywords": [ + "database", + "database migrations", + "db", + "migrations", + "phinx" + ], + "time": "2017-02-28T11:19:21+00:00" }, { "name": "slim/csrf", - "version": "0.8.1", + "version": "0.8.3", "source": { "type": "git", "url": "https://github.com/slimphp/Slim-Csrf.git", - "reference": "96f2019d2626d71985dc0ca41948f49c3454f4d1" + "reference": "5f2bcf5d89adf86dc0455a32bea84d912ab466a7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/slimphp/Slim-Csrf/zipball/96f2019d2626d71985dc0ca41948f49c3454f4d1", - "reference": "96f2019d2626d71985dc0ca41948f49c3454f4d1", + "url": "https://api.github.com/repos/slimphp/Slim-Csrf/zipball/5f2bcf5d89adf86dc0455a32bea84d912ab466a7", + "reference": "5f2bcf5d89adf86dc0455a32bea84d912ab466a7", "shasum": "" }, "require": { - "paragonie/random_compat": "^1.1|^2.0", + "paragonie/random_compat": "^1.1|^2.0|^9.99", "php": ">=5.5.0", "psr/http-message": "^1.0" }, @@ -1301,7 +1487,7 @@ "middleware", "slim" ], - "time": "2016-12-20 20:45:43" + "time": "2018-08-22T16:12:18+00:00" }, { "name": "slim/flash", @@ -1349,24 +1535,26 @@ "provider", "slim" ], - "time": "2016-11-11 16:29:19" + "time": "2016-11-11T16:29:19+00:00" }, { "name": "slim/slim", - "version": "3.8.1", + "version": "3.12.3", "source": { "type": "git", "url": "https://github.com/slimphp/Slim.git", - "reference": "5385302707530b2bccee1769613ad769859b826d" + "reference": "1c9318a84ffb890900901136d620b4f03a59da38" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/slimphp/Slim/zipball/5385302707530b2bccee1769613ad769859b826d", - "reference": "5385302707530b2bccee1769613ad769859b826d", + "url": "https://api.github.com/repos/slimphp/Slim/zipball/1c9318a84ffb890900901136d620b4f03a59da38", + "reference": "1c9318a84ffb890900901136d620b4f03a59da38", "shasum": "" }, "require": { - "container-interop/container-interop": "^1.2", + "ext-json": "*", + "ext-libxml": "*", + "ext-simplexml": "*", "nikic/fast-route": "^1.0", "php": ">=5.5.0", "pimple/pimple": "^3.0", @@ -1391,25 +1579,25 @@ "MIT" ], "authors": [ - { - "name": "Rob Allen", - "email": "rob@akrabat.com", - "homepage": "http://akrabat.com" - }, { "name": "Josh Lockhart", "email": "hello@joshlockhart.com", "homepage": "https://joshlockhart.com" }, - { - "name": "Gabriel Manricks", - "email": "gmanricks@me.com", - "homepage": "http://gabrielmanricks.com" - }, { "name": "Andrew Smith", "email": "a.smith@silentworks.co.uk", "homepage": "http://silentworks.co.uk" + }, + { + "name": "Rob Allen", + "email": "rob@akrabat.com", + "homepage": "http://akrabat.com" + }, + { + "name": "Gabriel Manricks", + "email": "gmanricks@me.com", + "homepage": "http://gabrielmanricks.com" } ], "description": "Slim is a PHP micro framework that helps you quickly write simple yet powerful web applications and APIs", @@ -1420,29 +1608,30 @@ "micro", "router" ], - "time": "2017-03-19 17:55:20" + "time": "2019-11-28T17:40:33+00:00" }, { "name": "slim/twig-view", - "version": "2.2.0", + "version": "2.5.1", "source": { "type": "git", "url": "https://github.com/slimphp/Twig-View.git", - "reference": "a743ac45e2a089942159dda499c5ef5bc5f6bfa6" + "reference": "47bd5cc1cbbdf5196d0873ece0ee97c6c7b352e9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/slimphp/Twig-View/zipball/a743ac45e2a089942159dda499c5ef5bc5f6bfa6", - "reference": "a743ac45e2a089942159dda499c5ef5bc5f6bfa6", + "url": "https://api.github.com/repos/slimphp/Twig-View/zipball/47bd5cc1cbbdf5196d0873ece0ee97c6c7b352e9", + "reference": "47bd5cc1cbbdf5196d0873ece0ee97c6c7b352e9", "shasum": "" }, "require": { "php": ">=5.5.0", "psr/http-message": "^1.0", - "twig/twig": "^1.18|^2.0" + "twig/twig": "^1.38|^2.7|^3.0" }, "require-dev": { - "phpunit/phpunit": "^4.8|^5.7" + "phpunit/phpunit": "^4.8|^5.7", + "slim/slim": "^3.10" }, "type": "library", "autoload": { @@ -1470,57 +1659,496 @@ "twig", "view" ], - "time": "2017-01-25 20:38:39" + "time": "2019-11-28T18:03:50+00:00" + }, + { + "name": "symfony/config", + "version": "v3.4.43", + "source": { + "type": "git", + "url": "https://github.com/symfony/config.git", + "reference": "9e2aa97f0d51f114983666f5aa362426d53e004a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/config/zipball/9e2aa97f0d51f114983666f5aa362426d53e004a", + "reference": "9e2aa97f0d51f114983666f5aa362426d53e004a", + "shasum": "" + }, + "require": { + "php": "^5.5.9|>=7.0.8", + "symfony/filesystem": "~2.8|~3.0|~4.0", + "symfony/polyfill-ctype": "~1.8" + }, + "conflict": { + "symfony/dependency-injection": "<3.3", + "symfony/finder": "<3.3" + }, + "require-dev": { + "symfony/dependency-injection": "~3.3|~4.0", + "symfony/event-dispatcher": "~3.3|~4.0", + "symfony/finder": "~3.3|~4.0", + "symfony/yaml": "~3.0|~4.0" + }, + "suggest": { + "symfony/yaml": "To use the yaml reference dumper" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.4-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\Config\\": "" + }, + "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 Config Component", + "homepage": "https://symfony.com", + "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": "2020-07-23T09:37:51+00:00" + }, + { + "name": "symfony/console", + "version": "v3.4.43", + "source": { + "type": "git", + "url": "https://github.com/symfony/console.git", + "reference": "afc7189694d2c59546cf24ea606a236fa46a966e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/console/zipball/afc7189694d2c59546cf24ea606a236fa46a966e", + "reference": "afc7189694d2c59546cf24ea606a236fa46a966e", + "shasum": "" + }, + "require": { + "php": "^5.5.9|>=7.0.8", + "symfony/debug": "~2.8|~3.0|~4.0", + "symfony/polyfill-mbstring": "~1.0" + }, + "conflict": { + "symfony/dependency-injection": "<3.4", + "symfony/process": "<3.3" + }, + "provide": { + "psr/log-implementation": "1.0" + }, + "require-dev": { + "psr/log": "~1.0", + "symfony/config": "~3.3|~4.0", + "symfony/dependency-injection": "~3.4|~4.0", + "symfony/event-dispatcher": "~2.8|~3.0|~4.0", + "symfony/lock": "~3.4|~4.0", + "symfony/process": "~3.3|~4.0" + }, + "suggest": { + "psr/log": "For using the console logger", + "symfony/event-dispatcher": "", + "symfony/lock": "", + "symfony/process": "" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.4-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", + "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": "2020-07-06T08:57:31+00:00" + }, + { + "name": "symfony/debug", + "version": "v4.4.11", + "source": { + "type": "git", + "url": "https://github.com/symfony/debug.git", + "reference": "47aa9064d75db36389692dd4d39895a0820f00f2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/debug/zipball/47aa9064d75db36389692dd4d39895a0820f00f2", + "reference": "47aa9064d75db36389692dd4d39895a0820f00f2", + "shasum": "" + }, + "require": { + "php": ">=7.1.3", + "psr/log": "~1.0", + "symfony/polyfill-php80": "^1.15" + }, + "conflict": { + "symfony/http-kernel": "<3.4" + }, + "require-dev": { + "symfony/http-kernel": "^3.4|^4.0|^5.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.4-dev" + } + }, + "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": "Symfony Debug Component", + "homepage": "https://symfony.com", + "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": "2020-07-23T08:31:43+00:00" + }, + { + "name": "symfony/filesystem", + "version": "v4.4.11", + "source": { + "type": "git", + "url": "https://github.com/symfony/filesystem.git", + "reference": "b27f491309db5757816db672b256ea2e03677d30" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/b27f491309db5757816db672b256ea2e03677d30", + "reference": "b27f491309db5757816db672b256ea2e03677d30", + "shasum": "" + }, + "require": { + "php": ">=7.1.3", + "symfony/polyfill-ctype": "~1.8" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.4-dev" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Component\\Filesystem\\": "" + }, + "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 Filesystem Component", + "homepage": "https://symfony.com", + "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": "2020-05-30T18:50:54+00:00" + }, + { + "name": "symfony/polyfill-ctype", + "version": "v1.18.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-ctype.git", + "reference": "1c302646f6efc070cd46856e600e5e0684d6b454" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/1c302646f6efc070cd46856e600e5e0684d6b454", + "reference": "1c302646f6efc070cd46856e600e5e0684d6b454", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "suggest": { + "ext-ctype": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.18-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Ctype\\": "" + }, + "files": [ + "bootstrap.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Gert de Pagter", + "email": "BackEndTea@gmail.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill for ctype functions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "ctype", + "polyfill", + "portable" + ], + "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": "2020-07-14T12:35:20+00:00" + }, + { + "name": "symfony/polyfill-mbstring", + "version": "v1.18.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-mbstring.git", + "reference": "a6977d63bf9a0ad4c65cd352709e230876f9904a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/a6977d63bf9a0ad4c65cd352709e230876f9904a", + "reference": "a6977d63bf9a0ad4c65cd352709e230876f9904a", + "shasum": "" + }, + "require": { + "php": ">=5.3.3" + }, + "suggest": { + "ext-mbstring": "For best performance" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.18-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "psr-4": { + "Symfony\\Polyfill\\Mbstring\\": "" + }, + "files": [ + "bootstrap.php" + ] + }, + "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 the Mbstring extension", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "mbstring", + "polyfill", + "portable", + "shim" + ], + "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": "2020-07-14T12:35:20+00:00" }, { - "name": "symfony/console", - "version": "v3.3.5", + "name": "symfony/polyfill-php80", + "version": "v1.18.1", "source": { "type": "git", - "url": "https://github.com/symfony/console.git", - "reference": "a97e45d98c59510f085fa05225a1acb74dfe0546" + "url": "https://github.com/symfony/polyfill-php80.git", + "reference": "d87d5766cbf48d72388a9f6b85f280c8ad51f981" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/a97e45d98c59510f085fa05225a1acb74dfe0546", - "reference": "a97e45d98c59510f085fa05225a1acb74dfe0546", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/d87d5766cbf48d72388a9f6b85f280c8ad51f981", + "reference": "d87d5766cbf48d72388a9f6b85f280c8ad51f981", "shasum": "" }, "require": { - "php": ">=5.5.9", - "symfony/debug": "~2.8|~3.0", - "symfony/polyfill-mbstring": "~1.0" - }, - "conflict": { - "symfony/dependency-injection": "<3.3" - }, - "require-dev": { - "psr/log": "~1.0", - "symfony/config": "~3.3", - "symfony/dependency-injection": "~3.3", - "symfony/event-dispatcher": "~2.8|~3.0", - "symfony/filesystem": "~2.8|~3.0", - "symfony/http-kernel": "~2.8|~3.0", - "symfony/process": "~2.8|~3.0" - }, - "suggest": { - "psr/log": "For using the console logger", - "symfony/event-dispatcher": "", - "symfony/filesystem": "", - "symfony/process": "" + "php": ">=7.0.8" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.3-dev" + "dev-master": "1.18-dev" + }, + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" } }, "autoload": { "psr-4": { - "Symfony\\Component\\Console\\": "" + "Symfony\\Polyfill\\Php80\\": "" }, - "exclude-from-classmap": [ - "/Tests/" + "files": [ + "bootstrap.php" + ], + "classmap": [ + "Resources/stubs" ] }, "notification-url": "https://packagist.org/downloads/", @@ -1529,51 +2157,95 @@ ], "authors": [ { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" + "name": "Ion Bazan", + "email": "ion.bazan@gmail.com" + }, + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" }, { "name": "Symfony Community", "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony Console Component", + "description": "Symfony polyfill backporting some PHP 8.0+ features to lower PHP versions", "homepage": "https://symfony.com", - "time": "2017-07-03 13:19:36" + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "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": "2020-07-14T12:35:20+00:00" }, { - "name": "symfony/debug", - "version": "v3.3.5", + "name": "symfony/translation", + "version": "v4.4.11", "source": { "type": "git", - "url": "https://github.com/symfony/debug.git", - "reference": "63b85a968486d95ff9542228dc2e4247f16f9743" + "url": "https://github.com/symfony/translation.git", + "reference": "a8ea9d97353294eb6783f2894ef8cee99a045822" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/debug/zipball/63b85a968486d95ff9542228dc2e4247f16f9743", - "reference": "63b85a968486d95ff9542228dc2e4247f16f9743", + "url": "https://api.github.com/repos/symfony/translation/zipball/a8ea9d97353294eb6783f2894ef8cee99a045822", + "reference": "a8ea9d97353294eb6783f2894ef8cee99a045822", "shasum": "" }, "require": { - "php": ">=5.5.9", - "psr/log": "~1.0" + "php": ">=7.1.3", + "symfony/polyfill-mbstring": "~1.0", + "symfony/translation-contracts": "^1.1.6|^2" }, "conflict": { - "symfony/http-kernel": ">=2.3,<2.3.24|~2.4.0|>=2.5,<2.5.9|>=2.6,<2.6.2" + "symfony/config": "<3.4", + "symfony/dependency-injection": "<3.4", + "symfony/http-kernel": "<4.4", + "symfony/yaml": "<3.4" + }, + "provide": { + "symfony/translation-implementation": "1.0" }, "require-dev": { - "symfony/http-kernel": "~2.8|~3.0" + "psr/log": "~1.0", + "symfony/config": "^3.4|^4.0|^5.0", + "symfony/console": "^3.4|^4.0|^5.0", + "symfony/dependency-injection": "^3.4|^4.0|^5.0", + "symfony/finder": "~2.8|~3.0|~4.0|^5.0", + "symfony/http-kernel": "^4.4", + "symfony/intl": "^3.4|^4.0|^5.0", + "symfony/service-contracts": "^1.1.2|^2", + "symfony/yaml": "^3.4|^4.0|^5.0" + }, + "suggest": { + "psr/log-implementation": "To use logging capability in translator", + "symfony/config": "", + "symfony/yaml": "" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.3-dev" + "dev-master": "4.4-dev" } }, "autoload": { "psr-4": { - "Symfony\\Component\\Debug\\": "" + "Symfony\\Component\\Translation\\": "" }, "exclude-from-classmap": [ "/Tests/" @@ -1593,43 +2265,58 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony Debug Component", + "description": "Symfony Translation Component", "homepage": "https://symfony.com", - "time": "2017-07-05 13:02:37" + "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": "2020-07-23T08:31:43+00:00" }, { - "name": "symfony/polyfill-mbstring", - "version": "v1.4.0", + "name": "symfony/translation-contracts", + "version": "v2.1.3", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "f29dca382a6485c3cbe6379f0c61230167681937" + "url": "https://github.com/symfony/translation-contracts.git", + "reference": "616a9773c853097607cf9dd6577d5b143ffdcd63" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/f29dca382a6485c3cbe6379f0c61230167681937", - "reference": "f29dca382a6485c3cbe6379f0c61230167681937", + "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/616a9773c853097607cf9dd6577d5b143ffdcd63", + "reference": "616a9773c853097607cf9dd6577d5b143ffdcd63", "shasum": "" }, "require": { - "php": ">=5.3.3" + "php": ">=7.2.5" }, "suggest": { - "ext-mbstring": "For best performance" + "symfony/translation-implementation": "" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.4-dev" + "dev-master": "2.1-dev" + }, + "thanks": { + "name": "symfony/contracts", + "url": "https://github.com/symfony/contracts" } }, "autoload": { "psr-4": { - "Symfony\\Polyfill\\Mbstring\\": "" - }, - "files": [ - "bootstrap.php" - ] + "Symfony\\Contracts\\Translation\\": "" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -1645,59 +2332,68 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony polyfill for the Mbstring extension", + "description": "Generic abstractions related to translation", "homepage": "https://symfony.com", "keywords": [ - "compatibility", - "mbstring", - "polyfill", - "portable", - "shim" + "abstractions", + "contracts", + "decoupling", + "interfaces", + "interoperability", + "standards" + ], + "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": "2017-06-09 14:24:12" + "time": "2020-07-06T13:23:11+00:00" }, { - "name": "symfony/translation", - "version": "v3.3.2", + "name": "symfony/yaml", + "version": "v3.4.43", "source": { "type": "git", - "url": "https://github.com/symfony/translation.git", - "reference": "dc3b2a0c6cfff60327ba1c043a82092735397543" + "url": "https://github.com/symfony/yaml.git", + "reference": "e7fa05917ae931332a42d65b577ece4d497aad81" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation/zipball/dc3b2a0c6cfff60327ba1c043a82092735397543", - "reference": "dc3b2a0c6cfff60327ba1c043a82092735397543", + "url": "https://api.github.com/repos/symfony/yaml/zipball/e7fa05917ae931332a42d65b577ece4d497aad81", + "reference": "e7fa05917ae931332a42d65b577ece4d497aad81", "shasum": "" }, "require": { - "php": ">=5.5.9", - "symfony/polyfill-mbstring": "~1.0" + "php": "^5.5.9|>=7.0.8", + "symfony/polyfill-ctype": "~1.8" }, "conflict": { - "symfony/config": "<2.8", - "symfony/yaml": "<3.3" + "symfony/console": "<3.4" }, "require-dev": { - "psr/log": "~1.0", - "symfony/config": "~2.8|~3.0", - "symfony/intl": "^2.8.18|^3.2.5", - "symfony/yaml": "~3.3" + "symfony/console": "~3.4|~4.0" }, "suggest": { - "psr/log": "To use logging capability in translator", - "symfony/config": "", - "symfony/yaml": "" + "symfony/console": "For validating YAML files using the lint command" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "3.3-dev" + "dev-master": "3.4-dev" } }, "autoload": { "psr-4": { - "Symfony\\Component\\Translation\\": "" + "Symfony\\Component\\Yaml\\": "" }, "exclude-from-classmap": [ "/Tests/" @@ -1717,43 +2413,54 @@ "homepage": "https://symfony.com/contributors" } ], - "description": "Symfony Translation Component", + "description": "Symfony Yaml Component", "homepage": "https://symfony.com", - "time": "2017-05-22 07:42:36" + "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": "2020-07-23T09:37:51+00:00" }, { "name": "twig/twig", - "version": "v2.4.3", + "version": "v3.0.5", "source": { "type": "git", "url": "https://github.com/twigphp/Twig.git", - "reference": "eab7c3288ae6603d7d6f92b531626af2b162d1f2" + "reference": "9b76b1535483cdf4edf01bb787b0217b62bd68a5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/twigphp/Twig/zipball/eab7c3288ae6603d7d6f92b531626af2b162d1f2", - "reference": "eab7c3288ae6603d7d6f92b531626af2b162d1f2", + "url": "https://api.github.com/repos/twigphp/Twig/zipball/9b76b1535483cdf4edf01bb787b0217b62bd68a5", + "reference": "9b76b1535483cdf4edf01bb787b0217b62bd68a5", "shasum": "" }, "require": { - "php": "^7.0", - "symfony/polyfill-mbstring": "~1.0" + "php": ">=7.2.5", + "symfony/polyfill-ctype": "^1.8", + "symfony/polyfill-mbstring": "^1.3" }, "require-dev": { "psr/container": "^1.0", - "symfony/debug": "~2.7", - "symfony/phpunit-bridge": "~3.3@dev" + "symfony/phpunit-bridge": "^4.4.9|^5.0.9" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.4-dev" + "dev-master": "3.0-dev" } }, "autoload": { - "psr-0": { - "Twig_": "lib/" - }, "psr-4": { "Twig\\": "src/" } @@ -1769,54 +2476,139 @@ "homepage": "http://fabien.potencier.org", "role": "Lead Developer" }, + { + "name": "Twig Team", + "role": "Contributors" + }, { "name": "Armin Ronacher", "email": "armin.ronacher@active-4.com", "role": "Project Founder" - }, - { - "name": "Twig Team", - "homepage": "http://twig.sensiolabs.org/contributors", - "role": "Contributors" } ], "description": "Twig, the flexible, fast, and secure template language for PHP", - "homepage": "http://twig.sensiolabs.org", + "homepage": "https://twig.symfony.com", "keywords": [ "templating" ], - "time": "2017-06-07 18:47:58" + "funding": [ + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/twig/twig", + "type": "tidelift" + } + ], + "time": "2020-08-05T15:13:19+00:00" + }, + { + "name": "vlucas/phpdotenv", + "version": "v4.1.8", + "source": { + "type": "git", + "url": "https://github.com/vlucas/phpdotenv.git", + "reference": "572af79d913627a9d70374d27a6f5d689a35de32" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/572af79d913627a9d70374d27a6f5d689a35de32", + "reference": "572af79d913627a9d70374d27a6f5d689a35de32", + "shasum": "" + }, + "require": { + "php": "^5.5.9 || ^7.0 || ^8.0", + "phpoption/phpoption": "^1.7.3", + "symfony/polyfill-ctype": "^1.17" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.4.1", + "ext-filter": "*", + "ext-pcre": "*", + "phpunit/phpunit": "^4.8.35 || ^5.7.27 || ^6.5.6 || ^7.0" + }, + "suggest": { + "ext-filter": "Required to use the boolean validator.", + "ext-pcre": "Required to use most of the library." + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "4.1-dev" + } + }, + "autoload": { + "psr-4": { + "Dotenv\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Graham Campbell", + "email": "graham@alt-three.com", + "homepage": "https://gjcampbell.co.uk/" + }, + { + "name": "Vance Lucas", + "email": "vance@vancelucas.com", + "homepage": "https://vancelucas.com/" + } + ], + "description": "Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically.", + "keywords": [ + "dotenv", + "env", + "environment" + ], + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/vlucas/phpdotenv", + "type": "tidelift" + } + ], + "time": "2020-07-14T19:22:52+00:00" } ], "packages-dev": [ { "name": "doctrine/instantiator", - "version": "1.0.5", + "version": "1.3.1", "source": { "type": "git", "url": "https://github.com/doctrine/instantiator.git", - "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d" + "reference": "f350df0268e904597e3bd9c4685c53e0e333feea" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/instantiator/zipball/8e884e78f9f0eb1329e445619e04456e64d8051d", - "reference": "8e884e78f9f0eb1329e445619e04456e64d8051d", + "url": "https://api.github.com/repos/doctrine/instantiator/zipball/f350df0268e904597e3bd9c4685c53e0e333feea", + "reference": "f350df0268e904597e3bd9c4685c53e0e333feea", "shasum": "" }, "require": { - "php": ">=5.3,<8.0-DEV" + "php": "^7.1 || ^8.0" }, "require-dev": { - "athletic/athletic": "~0.1.8", + "doctrine/coding-standard": "^6.0", "ext-pdo": "*", "ext-phar": "*", - "phpunit/phpunit": "~4.0", - "squizlabs/php_codesniffer": "~2.0" + "phpbench/phpbench": "^0.13", + "phpstan/phpstan-phpunit": "^0.11", + "phpstan/phpstan-shim": "^0.11", + "phpunit/phpunit": "^7.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0.x-dev" + "dev-master": "1.2.x-dev" } }, "autoload": { @@ -1836,44 +2628,53 @@ } ], "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", - "homepage": "https://github.com/doctrine/instantiator", + "homepage": "https://www.doctrine-project.org/projects/instantiator.html", "keywords": [ "constructor", "instantiate" ], - "time": "2015-06-14 21:17:01" + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator", + "type": "tidelift" + } + ], + "time": "2020-05-29T17:27:14+00:00" }, { "name": "phpdocumentor/reflection-common", - "version": "1.0", + "version": "2.2.0", "source": { "type": "git", "url": "https://github.com/phpDocumentor/ReflectionCommon.git", - "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c" + "reference": "1d01c49d4ed62f25aa84a747ad35d5a16924662b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/144c307535e82c8fdcaacbcfc1d6d8eeb896687c", - "reference": "144c307535e82c8fdcaacbcfc1d6d8eeb896687c", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionCommon/zipball/1d01c49d4ed62f25aa84a747ad35d5a16924662b", + "reference": "1d01c49d4ed62f25aa84a747ad35d5a16924662b", "shasum": "" }, "require": { - "php": ">=5.5" - }, - "require-dev": { - "phpunit/phpunit": "^4.6" + "php": "^7.2 || ^8.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0.x-dev" + "dev-2.x": "2.x-dev" } }, "autoload": { "psr-4": { - "phpDocumentor\\Reflection\\": [ - "src" - ] + "phpDocumentor\\Reflection\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -1895,38 +2696,41 @@ "reflection", "static analysis" ], - "time": "2015-12-27 11:43:31" + "time": "2020-06-27T09:03:43+00:00" }, { "name": "phpdocumentor/reflection-docblock", - "version": "3.1.1", + "version": "5.2.1", "source": { "type": "git", "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", - "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e" + "reference": "d870572532cd70bc3fab58f2e23ad423c8404c44" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/8331b5efe816ae05461b7ca1e721c01b46bafb3e", - "reference": "8331b5efe816ae05461b7ca1e721c01b46bafb3e", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/d870572532cd70bc3fab58f2e23ad423c8404c44", + "reference": "d870572532cd70bc3fab58f2e23ad423c8404c44", "shasum": "" }, "require": { - "php": ">=5.5", - "phpdocumentor/reflection-common": "^1.0@dev", - "phpdocumentor/type-resolver": "^0.2.0", - "webmozart/assert": "^1.0" + "ext-filter": "*", + "php": "^7.2 || ^8.0", + "phpdocumentor/reflection-common": "^2.2", + "phpdocumentor/type-resolver": "^1.3", + "webmozart/assert": "^1.9.1" }, "require-dev": { - "mockery/mockery": "^0.9.4", - "phpunit/phpunit": "^4.4" + "mockery/mockery": "~1.3.2" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "5.x-dev" + } + }, "autoload": { "psr-4": { - "phpDocumentor\\Reflection\\": [ - "src/" - ] + "phpDocumentor\\Reflection\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -1937,44 +2741,45 @@ { "name": "Mike van Riel", "email": "me@mikevanriel.com" + }, + { + "name": "Jaap van Otterdijk", + "email": "account@ijaap.nl" } ], "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", - "time": "2016-09-30 07:12:33" + "time": "2020-08-15T11:14:08+00:00" }, { "name": "phpdocumentor/type-resolver", - "version": "0.2.1", + "version": "1.3.0", "source": { "type": "git", "url": "https://github.com/phpDocumentor/TypeResolver.git", - "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb" + "reference": "e878a14a65245fbe78f8080eba03b47c3b705651" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb", - "reference": "e224fb2ea2fba6d3ad6fdaef91cd09a172155ccb", + "url": "https://api.github.com/repos/phpDocumentor/TypeResolver/zipball/e878a14a65245fbe78f8080eba03b47c3b705651", + "reference": "e878a14a65245fbe78f8080eba03b47c3b705651", "shasum": "" }, "require": { - "php": ">=5.5", - "phpdocumentor/reflection-common": "^1.0" + "php": "^7.2 || ^8.0", + "phpdocumentor/reflection-common": "^2.0" }, "require-dev": { - "mockery/mockery": "^0.9.4", - "phpunit/phpunit": "^5.2||^4.8.24" + "ext-tokenizer": "*" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0.x-dev" + "dev-1.x": "1.x-dev" } }, "autoload": { "psr-4": { - "phpDocumentor\\Reflection\\": [ - "src/" - ] + "phpDocumentor\\Reflection\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -1987,42 +2792,43 @@ "email": "me@mikevanriel.com" } ], - "time": "2016-11-25 06:54:22" + "description": "A PSR-5 based resolver of Class names, Types and Structural Element Names", + "time": "2020-06-27T10:12:23+00:00" }, { "name": "phpspec/prophecy", - "version": "v1.7.0", + "version": "v1.10.3", "source": { "type": "git", "url": "https://github.com/phpspec/prophecy.git", - "reference": "93d39f1f7f9326d746203c7c056f300f7f126073" + "reference": "451c3cd1418cf640de218914901e51b064abb093" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpspec/prophecy/zipball/93d39f1f7f9326d746203c7c056f300f7f126073", - "reference": "93d39f1f7f9326d746203c7c056f300f7f126073", + "url": "https://api.github.com/repos/phpspec/prophecy/zipball/451c3cd1418cf640de218914901e51b064abb093", + "reference": "451c3cd1418cf640de218914901e51b064abb093", "shasum": "" }, "require": { "doctrine/instantiator": "^1.0.2", "php": "^5.3|^7.0", - "phpdocumentor/reflection-docblock": "^2.0|^3.0.2", - "sebastian/comparator": "^1.1|^2.0", - "sebastian/recursion-context": "^1.0|^2.0|^3.0" + "phpdocumentor/reflection-docblock": "^2.0|^3.0.2|^4.0|^5.0", + "sebastian/comparator": "^1.2.3|^2.0|^3.0|^4.0", + "sebastian/recursion-context": "^1.0|^2.0|^3.0|^4.0" }, "require-dev": { - "phpspec/phpspec": "^2.5|^3.2", - "phpunit/phpunit": "^4.8 || ^5.6.5" + "phpspec/phpspec": "^2.5 || ^3.2", + "phpunit/phpunit": "^4.8.35 || ^5.7 || ^6.5 || ^7.1" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.6.x-dev" + "dev-master": "1.10.x-dev" } }, "autoload": { - "psr-0": { - "Prophecy\\": "src/" + "psr-4": { + "Prophecy\\": "src/Prophecy" } }, "notification-url": "https://packagist.org/downloads/", @@ -2050,7 +2856,7 @@ "spy", "stub" ], - "time": "2017-03-02 20:05:34" + "time": "2020-03-05T15:02:03+00:00" }, { "name": "phpunit/php-code-coverage", @@ -2112,20 +2918,20 @@ "testing", "xunit" ], - "time": "2015-10-06 15:47:00" + "time": "2015-10-06T15:47:00+00:00" }, { "name": "phpunit/php-file-iterator", - "version": "1.4.2", + "version": "1.4.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-file-iterator.git", - "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5" + "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/3cc8f69b3028d0f96a9078e6295d86e9bf019be5", - "reference": "3cc8f69b3028d0f96a9078e6295d86e9bf019be5", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/730b01bc3e867237eaac355e06a36b85dd93a8b4", + "reference": "730b01bc3e867237eaac355e06a36b85dd93a8b4", "shasum": "" }, "require": { @@ -2159,7 +2965,7 @@ "filesystem", "iterator" ], - "time": "2016-10-03 07:40:28" + "time": "2017-11-27T13:52:08+00:00" }, { "name": "phpunit/php-text-template", @@ -2200,7 +3006,7 @@ "keywords": [ "template" ], - "time": "2015-06-21 13:50:34" + "time": "2015-06-21T13:50:34+00:00" }, { "name": "phpunit/php-timer", @@ -2249,20 +3055,20 @@ "keywords": [ "timer" ], - "time": "2017-02-26 11:10:40" + "time": "2017-02-26T11:10:40+00:00" }, { "name": "phpunit/php-token-stream", - "version": "1.4.11", + "version": "1.4.12", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-token-stream.git", - "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7" + "reference": "1ce90ba27c42e4e44e6d8458241466380b51fa16" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/e03f8f67534427a787e21a385a67ec3ca6978ea7", - "reference": "e03f8f67534427a787e21a385a67ec3ca6978ea7", + "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/1ce90ba27c42e4e44e6d8458241466380b51fa16", + "reference": "1ce90ba27c42e4e44e6d8458241466380b51fa16", "shasum": "" }, "require": { @@ -2298,7 +3104,8 @@ "keywords": [ "tokenizer" ], - "time": "2017-02-27 10:12:30" + "abandoned": true, + "time": "2017-12-04T08:55:13+00:00" }, { "name": "phpunit/phpunit", @@ -2370,7 +3177,7 @@ "testing", "xunit" ], - "time": "2017-06-21 08:07:12" + "time": "2017-06-21T08:07:12+00:00" }, { "name": "phpunit/phpunit-mock-objects", @@ -2426,7 +3233,8 @@ "mock", "xunit" ], - "time": "2015-10-02 06:51:40" + "abandoned": true, + "time": "2015-10-02T06:51:40+00:00" }, { "name": "sebastian/comparator", @@ -2490,7 +3298,7 @@ "compare", "equality" ], - "time": "2017-01-29 09:50:25" + "time": "2017-01-29T09:50:25+00:00" }, { "name": "sebastian/diff", @@ -2542,7 +3350,7 @@ "keywords": [ "diff" ], - "time": "2017-05-22 07:24:03" + "time": "2017-05-22T07:24:03+00:00" }, { "name": "sebastian/environment", @@ -2592,7 +3400,7 @@ "environment", "hhvm" ], - "time": "2016-08-18 05:49:44" + "time": "2016-08-18T05:49:44+00:00" }, { "name": "sebastian/exporter", @@ -2659,7 +3467,7 @@ "export", "exporter" ], - "time": "2016-06-17 09:04:28" + "time": "2016-06-17T09:04:28+00:00" }, { "name": "sebastian/global-state", @@ -2710,7 +3518,7 @@ "keywords": [ "global state" ], - "time": "2015-10-12 03:26:01" + "time": "2015-10-12T03:26:01+00:00" }, { "name": "sebastian/recursion-context", @@ -2763,7 +3571,7 @@ ], "description": "Provides functionality to recursively process PHP variables", "homepage": "http://www.github.com/sebastianbergmann/recursion-context", - "time": "2016-10-03 07:41:43" + "time": "2016-10-03T07:41:43+00:00" }, { "name": "sebastian/version", @@ -2798,20 +3606,20 @@ ], "description": "Library that helps with managing the version number of Git-hosted PHP projects", "homepage": "https://github.com/sebastianbergmann/version", - "time": "2015-06-21 13:59:46" + "time": "2015-06-21T13:59:46+00:00" }, { "name": "squizlabs/php_codesniffer", - "version": "2.9.1", + "version": "2.9.2", "source": { "type": "git", "url": "https://github.com/squizlabs/PHP_CodeSniffer.git", - "reference": "dcbed1074f8244661eecddfc2a675430d8d33f62" + "reference": "2acf168de78487db620ab4bc524135a13cfe6745" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/dcbed1074f8244661eecddfc2a675430d8d33f62", - "reference": "dcbed1074f8244661eecddfc2a675430d8d33f62", + "url": "https://api.github.com/repos/squizlabs/PHP_CodeSniffer/zipball/2acf168de78487db620ab4bc524135a13cfe6745", + "reference": "2acf168de78487db620ab4bc524135a13cfe6745", "shasum": "" }, "require": { @@ -2876,90 +3684,34 @@ "phpcs", "standards" ], - "time": "2017-05-22 02:43:20" - }, - { - "name": "symfony/yaml", - "version": "v3.3.2", - "source": { - "type": "git", - "url": "https://github.com/symfony/yaml.git", - "reference": "9752a30000a8ca9f4b34b5227d15d0101b96b063" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/9752a30000a8ca9f4b34b5227d15d0101b96b063", - "reference": "9752a30000a8ca9f4b34b5227d15d0101b96b063", - "shasum": "" - }, - "require": { - "php": ">=5.5.9" - }, - "require-dev": { - "symfony/console": "~2.8|~3.0" - }, - "suggest": { - "symfony/console": "For validating YAML files using the lint command" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.3-dev" - } - }, - "autoload": { - "psr-4": { - "Symfony\\Component\\Yaml\\": "" - }, - "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 Yaml Component", - "homepage": "https://symfony.com", - "time": "2017-06-02 22:05:06" + "time": "2018-11-07T22:31:41+00:00" }, { "name": "webmozart/assert", - "version": "1.2.0", + "version": "1.9.1", "source": { "type": "git", "url": "https://github.com/webmozart/assert.git", - "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f" + "reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/webmozart/assert/zipball/2db61e59ff05fe5126d152bd0655c9ea113e550f", - "reference": "2db61e59ff05fe5126d152bd0655c9ea113e550f", + "url": "https://api.github.com/repos/webmozart/assert/zipball/bafc69caeb4d49c39fd0779086c03a3738cbb389", + "reference": "bafc69caeb4d49c39fd0779086c03a3738cbb389", "shasum": "" }, "require": { - "php": "^5.3.3 || ^7.0" + "php": "^5.3.3 || ^7.0 || ^8.0", + "symfony/polyfill-ctype": "^1.8" + }, + "conflict": { + "phpstan/phpstan": "<0.12.20", + "vimeo/psalm": "<3.9.1" }, "require-dev": { - "phpunit/phpunit": "^4.6", - "sebastian/version": "^1.0.1" + "phpunit/phpunit": "^4.8.36 || ^7.5.13" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.3-dev" - } - }, "autoload": { "psr-4": { "Webmozart\\Assert\\": "src/" @@ -2981,20 +3733,17 @@ "check", "validate" ], - "time": "2016-11-23 20:04:58" + "time": "2020-07-08T17:02:28+00:00" } ], "aliases": [], "minimum-stability": "stable", - "stability-flags": { - "cakephp/chronos": 0, - "cakephp/i18n": 0, - "cakephp/utility": 0 - }, + "stability-flags": [], "prefer-stable": true, "prefer-lowest": false, "platform": { "php": ">=5.5.0" }, - "platform-dev": [] + "platform-dev": [], + "plugin-api-version": "1.1.0" } diff --git a/config/DatabaseConfig.php b/config/DatabaseConfig.php index 5ccec38..6753a5f 100644 --- a/config/DatabaseConfig.php +++ b/config/DatabaseConfig.php @@ -1,31 +1,31 @@ - [ 'displayErrorDetails' => true, //Database definition 'db' => [ - 'driver' => 'mysql', - 'host'=> 'localhost', - 'database' => 'raw-php', - 'username' => 'root', - 'password' => 'basket', - 'charset' => 'utf8', + 'driver' => env('DB_CONNECTION', 'mysql'), + 'host' => env('DB_HOST', 'localhost'), + 'database' => env('DB_Name', 'raw-php'), + 'username' => env('DB_USERNAME', 'root'), + 'password' => env('DB_PASSWORD', 'secret'), + 'charset' => 'utf8', 'collation' => 'utf8_unicode_ci', 'prefix' => '', ], 'cakeDB' => [ 'className' => 'Cake\Database\Connection', 'driver' => 'Cake\Database\Driver\Mysql', - 'database' => 'raw-php', - 'username' => 'root', - 'password' => 'basket', + 'database' => env('DB_Name', 'raw-php'), + 'username' => env('DB_USERNAME', 'root'), + 'password' => env('DB_PASSWORD', 'secret'), 'cacheMetadata' => false // If set to `true` you need to install the optional "cakephp/cache" package. ] diff --git a/config/EnvironmentConfig.php b/config/EnvironmentConfig.php new file mode 100644 index 0000000..93a529a --- /dev/null +++ b/config/EnvironmentConfig.php @@ -0,0 +1,13 @@ +load(); +} catch (InvalidPathException $e) { + +} + +return $dotenv; diff --git a/database/migrations/20200819015703_sample.php b/database/migrations/20200819015703_sample.php new file mode 100644 index 0000000..9666cd0 --- /dev/null +++ b/database/migrations/20200819015703_sample.php @@ -0,0 +1,22 @@ +schema->create('sample', function (Blueprint $table) { + $table->increments('id'); + $table->timestamps(); + }); + } + + public function down() + { + $this->schema->dropIfExists('sample'); + } + +} diff --git a/database/migrations/20200819025859_new_sample_table.php b/database/migrations/20200819025859_new_sample_table.php new file mode 100644 index 0000000..a1f59c3 --- /dev/null +++ b/database/migrations/20200819025859_new_sample_table.php @@ -0,0 +1,22 @@ +schema->create('new_sample', function (Blueprint $table) { + $table->increments('id'); + $table->timestamps(); + }); + } + + public function down() + { + $this->schema->dropIfExists('new_sample'); + } + +}