Commit 8485df9c authored by nahakyuu's avatar nahakyuu

add composer rector & add yii3 framework to console

parent 64d95727
YII_ENV=dev
YII_DEBUG=true
......@@ -75,4 +75,8 @@ web.config
*.psd
*.xlsx
# composer
vendor
# env file
.env
<?php
declare(strict_types=1);
use Dotenv\Dotenv;
require_once __DIR__ . '/vendor/autoload.php';
$dotenv = Dotenv::createImmutable(__DIR__);
$dotenv->load();
$_ENV['YII_ENV'] = empty($_ENV['YII_ENV']) ? null : $_ENV['YII_ENV'];
$_SERVER['YII_ENV'] = $_ENV['YII_ENV'];
$_ENV['YII_DEBUG'] = filter_var(
!empty($_ENV['YII_DEBUG']) ? $_ENV['YII_DEBUG'] : true,
FILTER_VALIDATE_BOOLEAN,
FILTER_NULL_ON_FAILURE
) ?? true;
$_SERVER['YII_DEBUG'] = $_ENV['YII_DEBUG'];
{
"name": "nmforce/phpdts",
"description": "New repo for Yellow Version of phpbr",
"type": "project",
"description": "",
"autoload": {
"psr-4": {
"NMForce\\PHPDTS\\": "src"
}
},
"scripts": {
"post-update-cmd": [
"NMForce\\PHPDTS\\Installer::postUpdate",
"NMForce\\PHPDTS\\Installer::copyEnvFile"
],
"post-create-project-cmd": [
"App\\Installer::copyEnvFile"
]
},
"require": {
"paragonie/random_compat": ">=2"
"paragonie/random_compat": "v2.0.21",
"vlucas/phpdotenv": "^5.5",
"yiisoft/aliases": "^3.0",
"yiisoft/config": "^1.1",
"yiisoft/log": "^2.0"
},
"require-dev": {
"rector/rector": "^0.15.23",
"yiisoft/yii-runner-console": "^2.0"
},
"extra": {
"config-plugin-file": "config/configuration.php"
},
"config": {
"sort-packages": true,
"allow-plugins": {
"yiisoft/config": true
}
}
}
......@@ -4,8 +4,70 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "4fa722dc780d5ed9152020478eb0dc38",
"content-hash": "672e83241729a32bfff3d07490a8b289",
"packages": [
{
"name": "graham-campbell/result-type",
"version": "v1.1.1",
"source": {
"type": "git",
"url": "https://github.com/GrahamCampbell/Result-Type.git",
"reference": "672eff8cf1d6fe1ef09ca0f89c4b287d6a3eb831"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/GrahamCampbell/Result-Type/zipball/672eff8cf1d6fe1ef09ca0f89c4b287d6a3eb831",
"reference": "672eff8cf1d6fe1ef09ca0f89c4b287d6a3eb831",
"shasum": ""
},
"require": {
"php": "^7.2.5 || ^8.0",
"phpoption/phpoption": "^1.9.1"
},
"require-dev": {
"phpunit/phpunit": "^8.5.32 || ^9.6.3 || ^10.0.12"
},
"type": "library",
"autoload": {
"psr-4": {
"GrahamCampbell\\ResultType\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Graham Campbell",
"email": "hello@gjcampbell.co.uk",
"homepage": "https://github.com/GrahamCampbell"
}
],
"description": "An Implementation Of The Result Type",
"keywords": [
"Graham Campbell",
"GrahamCampbell",
"Result Type",
"Result-Type",
"result"
],
"support": {
"issues": "https://github.com/GrahamCampbell/Result-Type/issues",
"source": "https://github.com/GrahamCampbell/Result-Type/tree/v1.1.1"
},
"funding": [
{
"url": "https://github.com/GrahamCampbell",
"type": "github"
},
{
"url": "https://tidelift.com/funding/github/packagist/graham-campbell/result-type",
"type": "tidelift"
}
],
"time": "2023-02-25T20:23:15+00:00"
},
{
"name": "paragonie/random_compat",
"version": "v2.0.21",
......@@ -59,9 +121,2333 @@
"source": "https://github.com/paragonie/random_compat"
},
"time": "2022-02-16T17:07:03+00:00"
},
{
"name": "phpoption/phpoption",
"version": "1.9.1",
"source": {
"type": "git",
"url": "https://github.com/schmittjoh/php-option.git",
"reference": "dd3a383e599f49777d8b628dadbb90cae435b87e"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/schmittjoh/php-option/zipball/dd3a383e599f49777d8b628dadbb90cae435b87e",
"reference": "dd3a383e599f49777d8b628dadbb90cae435b87e",
"shasum": ""
},
"require": {
"php": "^7.2.5 || ^8.0"
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.8.2",
"phpunit/phpunit": "^8.5.32 || ^9.6.3 || ^10.0.12"
},
"type": "library",
"extra": {
"bamarni-bin": {
"bin-links": true,
"forward-command": true
},
"branch-alias": {
"dev-master": "1.9-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",
"homepage": "https://github.com/schmittjoh"
},
{
"name": "Graham Campbell",
"email": "hello@gjcampbell.co.uk",
"homepage": "https://github.com/GrahamCampbell"
}
],
"description": "Option Type for PHP",
"keywords": [
"language",
"option",
"php",
"type"
],
"support": {
"issues": "https://github.com/schmittjoh/php-option/issues",
"source": "https://github.com/schmittjoh/php-option/tree/1.9.1"
},
"funding": [
{
"url": "https://github.com/GrahamCampbell",
"type": "github"
},
{
"url": "https://tidelift.com/funding/github/packagist/phpoption/phpoption",
"type": "tidelift"
}
],
"time": "2023-02-25T19:38:58+00:00"
},
{
"name": "psr/log",
"version": "3.0.0",
"source": {
"type": "git",
"url": "https://github.com/php-fig/log.git",
"reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/php-fig/log/zipball/fe5ea303b0887d5caefd3d431c3e61ad47037001",
"reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001",
"shasum": ""
},
"require": {
"php": ">=8.0.0"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "3.x-dev"
}
},
"autoload": {
"psr-4": {
"Psr\\Log\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "PHP-FIG",
"homepage": "https://www.php-fig.org/"
}
],
"description": "Common interface for logging libraries",
"homepage": "https://github.com/php-fig/log",
"keywords": [
"log",
"psr",
"psr-3"
],
"support": {
"source": "https://github.com/php-fig/log/tree/3.0.0"
},
"time": "2021-07-14T16:46:02+00:00"
},
{
"name": "symfony/polyfill-ctype",
"version": "v1.27.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-ctype.git",
"reference": "5bbc823adecdae860bb64756d639ecfec17b050a"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/5bbc823adecdae860bb64756d639ecfec17b050a",
"reference": "5bbc823adecdae860bb64756d639ecfec17b050a",
"shasum": ""
},
"require": {
"php": ">=7.1"
},
"provide": {
"ext-ctype": "*"
},
"suggest": {
"ext-ctype": "For best performance"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-main": "1.27-dev"
},
"thanks": {
"name": "symfony/polyfill",
"url": "https://github.com/symfony/polyfill"
}
},
"autoload": {
"files": [
"bootstrap.php"
],
"psr-4": {
"Symfony\\Polyfill\\Ctype\\": ""
}
},
"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"
],
"support": {
"source": "https://github.com/symfony/polyfill-ctype/tree/v1.27.0"
},
"funding": [
{
"url": "https://symfony.com/sponsor",
"type": "custom"
},
{
"url": "https://github.com/fabpot",
"type": "github"
},
{
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
"type": "tidelift"
}
],
"time": "2022-11-03T14:55:06+00:00"
},
{
"name": "symfony/polyfill-mbstring",
"version": "v1.27.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-mbstring.git",
"reference": "8ad114f6b39e2c98a8b0e3bd907732c207c2b534"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/8ad114f6b39e2c98a8b0e3bd907732c207c2b534",
"reference": "8ad114f6b39e2c98a8b0e3bd907732c207c2b534",
"shasum": ""
},
"require": {
"php": ">=7.1"
},
"provide": {
"ext-mbstring": "*"
},
"suggest": {
"ext-mbstring": "For best performance"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-main": "1.27-dev"
},
"thanks": {
"name": "symfony/polyfill",
"url": "https://github.com/symfony/polyfill"
}
},
"autoload": {
"files": [
"bootstrap.php"
],
"psr-4": {
"Symfony\\Polyfill\\Mbstring\\": ""
}
},
"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"
],
"support": {
"source": "https://github.com/symfony/polyfill-mbstring/tree/v1.27.0"
},
"funding": [
{
"url": "https://symfony.com/sponsor",
"type": "custom"
},
{
"url": "https://github.com/fabpot",
"type": "github"
},
{
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
"type": "tidelift"
}
],
"time": "2022-11-03T14:55:06+00:00"
},
{
"name": "symfony/polyfill-php80",
"version": "v1.27.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-php80.git",
"reference": "7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936",
"reference": "7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936",
"shasum": ""
},
"require": {
"php": ">=7.1"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-main": "1.27-dev"
},
"thanks": {
"name": "symfony/polyfill",
"url": "https://github.com/symfony/polyfill"
}
},
"autoload": {
"files": [
"bootstrap.php"
],
"psr-4": {
"Symfony\\Polyfill\\Php80\\": ""
},
"classmap": [
"Resources/stubs"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"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 polyfill backporting some PHP 8.0+ features to lower PHP versions",
"homepage": "https://symfony.com",
"keywords": [
"compatibility",
"polyfill",
"portable",
"shim"
],
"support": {
"source": "https://github.com/symfony/polyfill-php80/tree/v1.27.0"
},
"funding": [
{
"url": "https://symfony.com/sponsor",
"type": "custom"
},
{
"url": "https://github.com/fabpot",
"type": "github"
},
{
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
"type": "tidelift"
}
],
"time": "2022-11-03T14:55:06+00:00"
},
{
"name": "vlucas/phpdotenv",
"version": "v5.5.0",
"source": {
"type": "git",
"url": "https://github.com/vlucas/phpdotenv.git",
"reference": "1a7ea2afc49c3ee6d87061f5a233e3a035d0eae7"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/1a7ea2afc49c3ee6d87061f5a233e3a035d0eae7",
"reference": "1a7ea2afc49c3ee6d87061f5a233e3a035d0eae7",
"shasum": ""
},
"require": {
"ext-pcre": "*",
"graham-campbell/result-type": "^1.0.2",
"php": "^7.1.3 || ^8.0",
"phpoption/phpoption": "^1.8",
"symfony/polyfill-ctype": "^1.23",
"symfony/polyfill-mbstring": "^1.23.1",
"symfony/polyfill-php80": "^1.23.1"
},
"require-dev": {
"bamarni/composer-bin-plugin": "^1.4.1",
"ext-filter": "*",
"phpunit/phpunit": "^7.5.20 || ^8.5.30 || ^9.5.25"
},
"suggest": {
"ext-filter": "Required to use the boolean validator."
},
"type": "library",
"extra": {
"bamarni-bin": {
"bin-links": true,
"forward-command": true
},
"branch-alias": {
"dev-master": "5.5-dev"
}
},
"autoload": {
"psr-4": {
"Dotenv\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"BSD-3-Clause"
],
"authors": [
{
"name": "Graham Campbell",
"email": "hello@gjcampbell.co.uk",
"homepage": "https://github.com/GrahamCampbell"
},
{
"name": "Vance Lucas",
"email": "vance@vancelucas.com",
"homepage": "https://github.com/vlucas"
}
],
"description": "Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically.",
"keywords": [
"dotenv",
"env",
"environment"
],
"support": {
"issues": "https://github.com/vlucas/phpdotenv/issues",
"source": "https://github.com/vlucas/phpdotenv/tree/v5.5.0"
},
"funding": [
{
"url": "https://github.com/GrahamCampbell",
"type": "github"
},
{
"url": "https://tidelift.com/funding/github/packagist/vlucas/phpdotenv",
"type": "tidelift"
}
],
"time": "2022-10-16T01:01:54+00:00"
},
{
"name": "yiisoft/aliases",
"version": "3.0.0",
"source": {
"type": "git",
"url": "https://github.com/yiisoft/aliases.git",
"reference": "2ed5e38d6ac503ec4c1af39115361097b6449135"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/yiisoft/aliases/zipball/2ed5e38d6ac503ec4c1af39115361097b6449135",
"reference": "2ed5e38d6ac503ec4c1af39115361097b6449135",
"shasum": ""
},
"require": {
"php": "^7.4|^8.0"
},
"require-dev": {
"phpunit/phpunit": "^9.5",
"roave/infection-static-analysis-plugin": "^1.16",
"spatie/phpunit-watcher": "^1.23",
"vimeo/psalm": "^4.30|^5.6",
"yiisoft/di": "^1.0"
},
"type": "library",
"extra": {
"config-plugin-options": {
"source-directory": "config"
},
"config-plugin": {
"params": "params.php",
"di": "di.php"
}
},
"autoload": {
"psr-4": {
"Yiisoft\\Aliases\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"BSD-3-Clause"
],
"description": "Named paths and URLs storage",
"homepage": "https://www.yiiframework.com/",
"keywords": [
"alias"
],
"support": {
"chat": "https://t.me/yii3en",
"forum": "https://www.yiiframework.com/forum/",
"irc": "irc://irc.freenode.net/yii",
"issues": "https://github.com/yiisoft/aliases/issues?state=open",
"source": "https://github.com/yiisoft/aliases",
"wiki": "https://www.yiiframework.com/wiki/"
},
"funding": [
{
"url": "https://github.com/sponsors/yiisoft",
"type": "github"
},
{
"url": "https://opencollective.com/yiisoft",
"type": "opencollective"
}
],
"time": "2023-02-13T10:14:03+00:00"
},
{
"name": "yiisoft/arrays",
"version": "3.0.0",
"source": {
"type": "git",
"url": "https://github.com/yiisoft/arrays.git",
"reference": "effe8c9384a8fec25d378c3e1c3b252573def52b"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/yiisoft/arrays/zipball/effe8c9384a8fec25d378c3e1c3b252573def52b",
"reference": "effe8c9384a8fec25d378c3e1c3b252573def52b",
"shasum": ""
},
"require": {
"php": "^8.0",
"yiisoft/strings": "^2.1"
},
"require-dev": {
"maglnet/composer-require-checker": "^4.4",
"phpunit/phpunit": "^9.5",
"rector/rector": "^0.15.4",
"roave/infection-static-analysis-plugin": "^1.25",
"spatie/phpunit-watcher": "^1.23",
"vimeo/psalm": "^4.30|^5.4"
},
"type": "library",
"autoload": {
"psr-4": {
"Yiisoft\\Arrays\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"BSD-3-Clause"
],
"description": "Yii Array Helper",
"homepage": "https://www.yiiframework.com/",
"keywords": [
"array",
"helper",
"yii"
],
"support": {
"chat": "https://t.me/yii3en",
"forum": "https://forum.yiiframework.com/",
"irc": "irc://irc.freenode.net/yii",
"issues": "https://github.com/yiisoft/arrays/issues",
"source": "https://github.com/yiisoft/arrays",
"wiki": "https://www.yiiframework.com/wiki/"
},
"funding": [
{
"url": "https://github.com/sponsors/yiisoft",
"type": "github"
},
{
"url": "https://opencollective.com/yiisoft",
"type": "opencollective"
}
],
"time": "2023-01-12T12:04:12+00:00"
},
{
"name": "yiisoft/config",
"version": "1.3.0",
"source": {
"type": "git",
"url": "https://github.com/yiisoft/config.git",
"reference": "da4762e366080a24a6b5f626dfb9a52517ac965c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/yiisoft/config/zipball/da4762e366080a24a6b5f626dfb9a52517ac965c",
"reference": "da4762e366080a24a6b5f626dfb9a52517ac965c",
"shasum": ""
},
"require": {
"composer-plugin-api": "^2.0",
"php": "^8.0",
"yiisoft/arrays": "^3.0",
"yiisoft/strings": "^2.0",
"yiisoft/var-dumper": "^1.1"
},
"require-dev": {
"composer/composer": "^2.0",
"ext-json": "*",
"maglnet/composer-require-checker": "^4.4",
"phpunit/phpunit": "^9.5",
"rector/rector": "^0.15.7",
"roave/infection-static-analysis-plugin": "^1.16",
"spatie/phpunit-watcher": "^1.23",
"vimeo/psalm": "^4.30|^5.6"
},
"suggest": {
"symfony/console": "To use composer commands `yii-config-copy` and `yii-config-rebuild`."
},
"type": "composer-plugin",
"extra": {
"class": "Yiisoft\\Config\\Composer\\EventHandler"
},
"autoload": {
"psr-4": {
"Yiisoft\\Config\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"BSD-3-Clause"
],
"description": "Composer plugin and a library for config assembling",
"homepage": "https://github.com/yiisoft/config",
"keywords": [
"composer",
"config",
"plugin"
],
"support": {
"chat": "https://t.me/yii3en",
"forum": "https://www.yiiframework.com/forum/",
"irc": "irc://irc.freenode.net/yii",
"issues": "https://github.com/yiisoft/config/issues?state=open",
"source": "https://github.com/yiisoft/config",
"wiki": "https://www.yiiframework.com/wiki/"
},
"funding": [
{
"url": "https://github.com/sponsors/yiisoft",
"type": "github"
},
{
"url": "https://opencollective.com/yiisoft",
"type": "opencollective"
}
],
"time": "2023-02-11T07:48:37+00:00"
},
{
"name": "yiisoft/log",
"version": "2.0.0",
"source": {
"type": "git",
"url": "https://github.com/yiisoft/log.git",
"reference": "e46f498fa30c43a4b4d3ef30a14fc8f1a0fb58ac"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/yiisoft/log/zipball/e46f498fa30c43a4b4d3ef30a14fc8f1a0fb58ac",
"reference": "e46f498fa30c43a4b4d3ef30a14fc8f1a0fb58ac",
"shasum": ""
},
"require": {
"php": "^8.0",
"psr/log": "^2.0|^3.0",
"yiisoft/var-dumper": "^1.0"
},
"provide": {
"psr/log-implementation": "1.0.0"
},
"require-dev": {
"ext-json": "*",
"phpunit/phpunit": "^9.5",
"roave/infection-static-analysis-plugin": "^1.18",
"spatie/phpunit-watcher": "^1.23",
"vimeo/psalm": "^4.22"
},
"suggest": {
"yiisoft/log-target-db": "Allows writing log messages to the database",
"yiisoft/log-target-email": "Allows sending log messages by email",
"yiisoft/log-target-file": "Allows writing log messages to the files",
"yiisoft/log-target-syslog": "Allows writing log messages to the Syslog"
},
"type": "library",
"extra": {
"config-plugin-options": {
"source-directory": "config"
},
"config-plugin": {
"events-console": "events-console.php",
"events-web": "events-web.php"
}
},
"autoload": {
"psr-4": {
"Yiisoft\\Log\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"BSD-3-Clause"
],
"description": "Yii Logging Library",
"homepage": "https://www.yiiframework.com/",
"keywords": [
"framework",
"log",
"logger",
"psr-3",
"yii"
],
"support": {
"chat": "https://t.me/yii3en",
"forum": "https://www.yiiframework.com/forum/",
"irc": "irc://irc.freenode.net/yii",
"issues": "https://github.com/yiisoft/log/issues",
"source": "https://github.com/yiisoft/log",
"wiki": "https://www.yiiframework.com/wiki/"
},
"funding": [
{
"url": "https://github.com/yiisoft",
"type": "github"
},
{
"url": "https://opencollective.com/yiisoft",
"type": "open_collective"
}
],
"time": "2022-05-22T12:30:35+00:00"
},
{
"name": "yiisoft/strings",
"version": "2.1.0",
"source": {
"type": "git",
"url": "https://github.com/yiisoft/strings.git",
"reference": "714ebfbddf8a169194f0820adf0dd9f910363535"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/yiisoft/strings/zipball/714ebfbddf8a169194f0820adf0dd9f910363535",
"reference": "714ebfbddf8a169194f0820adf0dd9f910363535",
"shasum": ""
},
"require": {
"ext-mbstring": "*",
"php": "^7.4|^8.0"
},
"require-dev": {
"phpunit/phpunit": "^9.5",
"roave/infection-static-analysis-plugin": "^1.16",
"spatie/phpunit-watcher": "^1.23",
"vimeo/psalm": "^4.18"
},
"type": "library",
"autoload": {
"psr-4": {
"Yiisoft\\Strings\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"BSD-3-Clause"
],
"description": "Yii Strings Helper",
"homepage": "https://www.yiiframework.com/",
"keywords": [
"helper",
"string",
"yii"
],
"support": {
"chat": "https://t.me/yii3en",
"forum": "https://www.yiiframework.com/forum/",
"irc": "irc://irc.freenode.net/yii",
"issues": "https://github.com/yiisoft/strings/issues",
"source": "https://github.com/yiisoft/strings",
"wiki": "https://www.yiiframework.com/wiki/"
},
"funding": [
{
"url": "https://github.com/yiisoft",
"type": "github"
},
{
"url": "https://opencollective.com/yiisoft",
"type": "open_collective"
}
],
"time": "2022-08-20T04:26:16+00:00"
},
{
"name": "yiisoft/var-dumper",
"version": "1.5.0",
"source": {
"type": "git",
"url": "https://github.com/yiisoft/var-dumper.git",
"reference": "d262d390f858ba2c2f71543d5f63686c6650c4bd"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/yiisoft/var-dumper/zipball/d262d390f858ba2c2f71543d5f63686c6650c4bd",
"reference": "d262d390f858ba2c2f71543d5f63686c6650c4bd",
"shasum": ""
},
"require": {
"ext-json": "*",
"ext-mbstring": "*",
"ext-tokenizer": "*",
"php": "^8.0",
"yiisoft/arrays": "^1.0|^2.0|^3.0"
},
"require-dev": {
"maglnet/composer-require-checker": "^4.2",
"phpunit/phpunit": "^9.5",
"roave/infection-static-analysis-plugin": "^1.16",
"spatie/phpunit-watcher": "^1.23",
"vimeo/psalm": "^4.30|^5.3"
},
"type": "library",
"autoload": {
"files": [
"src/functions.php"
],
"psr-4": {
"Yiisoft\\VarDumper\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"BSD-3-Clause"
],
"description": "Enhances functionality of var_dump() and var_export(). It is dealing with recursive references, may highlight syntax and export closures.",
"homepage": "https://www.yiiframework.com/",
"keywords": [
"framework",
"helper",
"var-dumper",
"yii"
],
"support": {
"chat": "https://t.me/yii3en",
"forum": "https://www.yiiframework.com/forum/",
"irc": "irc://irc.freenode.net/yii",
"issues": "https://github.com/yiisoft/var-dumper/issues",
"source": "https://github.com/yiisoft/var-dumper",
"wiki": "https://www.yiiframework.com/wiki/"
},
"funding": [
{
"url": "https://github.com/yiisoft",
"type": "github"
},
{
"url": "https://opencollective.com/yiisoft",
"type": "open_collective"
}
],
"time": "2023-01-16T22:17:52+00:00"
}
],
"packages-dev": [
{
"name": "phpstan/phpstan",
"version": "1.10.9",
"source": {
"type": "git",
"url": "https://github.com/phpstan/phpstan.git",
"reference": "9b13dafe3d66693d20fe5729c3dde1d31bb64703"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/9b13dafe3d66693d20fe5729c3dde1d31bb64703",
"reference": "9b13dafe3d66693d20fe5729c3dde1d31bb64703",
"shasum": ""
},
"require": {
"php": "^7.2|^8.0"
},
"conflict": {
"phpstan/phpstan-shim": "*"
},
"bin": [
"phpstan",
"phpstan.phar"
],
"type": "library",
"autoload": {
"files": [
"bootstrap.php"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"description": "PHPStan - PHP Static Analysis Tool",
"keywords": [
"dev",
"static analysis"
],
"support": {
"docs": "https://phpstan.org/user-guide/getting-started",
"forum": "https://github.com/phpstan/phpstan/discussions",
"issues": "https://github.com/phpstan/phpstan/issues",
"security": "https://github.com/phpstan/phpstan/security/policy",
"source": "https://github.com/phpstan/phpstan-src"
},
"funding": [
{
"url": "https://github.com/ondrejmirtes",
"type": "github"
},
{
"url": "https://github.com/phpstan",
"type": "github"
},
{
"url": "https://tidelift.com/funding/github/packagist/phpstan/phpstan",
"type": "tidelift"
}
],
"time": "2023-03-30T08:58:01+00:00"
},
{
"name": "psr/container",
"version": "2.0.2",
"source": {
"type": "git",
"url": "https://github.com/php-fig/container.git",
"reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/php-fig/container/zipball/c71ecc56dfe541dbd90c5360474fbc405f8d5963",
"reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963",
"shasum": ""
},
"require": {
"php": ">=7.4.0"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "2.0.x-dev"
}
},
"autoload": {
"psr-4": {
"Psr\\Container\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "PHP-FIG",
"homepage": "https://www.php-fig.org/"
}
],
"description": "Common Container Interface (PHP FIG PSR-11)",
"homepage": "https://github.com/php-fig/container",
"keywords": [
"PSR-11",
"container",
"container-interface",
"container-interop",
"psr"
],
"support": {
"issues": "https://github.com/php-fig/container/issues",
"source": "https://github.com/php-fig/container/tree/2.0.2"
},
"time": "2021-11-05T16:47:00+00:00"
},
{
"name": "psr/event-dispatcher",
"version": "1.0.0",
"source": {
"type": "git",
"url": "https://github.com/php-fig/event-dispatcher.git",
"reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/php-fig/event-dispatcher/zipball/dbefd12671e8a14ec7f180cab83036ed26714bb0",
"reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0",
"shasum": ""
},
"require": {
"php": ">=7.2.0"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "1.0.x-dev"
}
},
"autoload": {
"psr-4": {
"Psr\\EventDispatcher\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "PHP-FIG",
"homepage": "http://www.php-fig.org/"
}
],
"description": "Standard interfaces for event handling.",
"keywords": [
"events",
"psr",
"psr-14"
],
"support": {
"issues": "https://github.com/php-fig/event-dispatcher/issues",
"source": "https://github.com/php-fig/event-dispatcher/tree/1.0.0"
},
"time": "2019-01-08T18:20:26+00:00"
},
{
"name": "rector/rector",
"version": "0.15.23",
"source": {
"type": "git",
"url": "https://github.com/rectorphp/rector.git",
"reference": "f4984ebd62b3613002869b0ddd6868261d62819e"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/rectorphp/rector/zipball/f4984ebd62b3613002869b0ddd6868261d62819e",
"reference": "f4984ebd62b3613002869b0ddd6868261d62819e",
"shasum": ""
},
"require": {
"php": "^7.2|^8.0",
"phpstan/phpstan": "^1.10.1"
},
"conflict": {
"rector/rector-doctrine": "*",
"rector/rector-downgrade-php": "*",
"rector/rector-phpunit": "*",
"rector/rector-symfony": "*"
},
"bin": [
"bin/rector"
],
"type": "library",
"extra": {
"branch-alias": {
"dev-main": "0.15-dev"
}
},
"autoload": {
"files": [
"bootstrap.php"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"description": "Instant Upgrade and Automated Refactoring of any PHP code",
"keywords": [
"automation",
"dev",
"migration",
"refactoring"
],
"support": {
"issues": "https://github.com/rectorphp/rector/issues",
"source": "https://github.com/rectorphp/rector/tree/0.15.23"
},
"funding": [
{
"url": "https://github.com/tomasvotruba",
"type": "github"
}
],
"time": "2023-03-22T15:22:45+00:00"
},
{
"name": "symfony/console",
"version": "v6.2.7",
"source": {
"type": "git",
"url": "https://github.com/symfony/console.git",
"reference": "cbad09eb8925b6ad4fb721c7a179344dc4a19d45"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/console/zipball/cbad09eb8925b6ad4fb721c7a179344dc4a19d45",
"reference": "cbad09eb8925b6ad4fb721c7a179344dc4a19d45",
"shasum": ""
},
"require": {
"php": ">=8.1",
"symfony/deprecation-contracts": "^2.1|^3",
"symfony/polyfill-mbstring": "~1.0",
"symfony/service-contracts": "^1.1|^2|^3",
"symfony/string": "^5.4|^6.0"
},
"conflict": {
"symfony/dependency-injection": "<5.4",
"symfony/dotenv": "<5.4",
"symfony/event-dispatcher": "<5.4",
"symfony/lock": "<5.4",
"symfony/process": "<5.4"
},
"provide": {
"psr/log-implementation": "1.0|2.0|3.0"
},
"require-dev": {
"psr/log": "^1|^2|^3",
"symfony/config": "^5.4|^6.0",
"symfony/dependency-injection": "^5.4|^6.0",
"symfony/event-dispatcher": "^5.4|^6.0",
"symfony/lock": "^5.4|^6.0",
"symfony/process": "^5.4|^6.0",
"symfony/var-dumper": "^5.4|^6.0"
},
"suggest": {
"psr/log": "For using the console logger",
"symfony/event-dispatcher": "",
"symfony/lock": "",
"symfony/process": ""
},
"type": "library",
"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": "Eases the creation of beautiful and testable command line interfaces",
"homepage": "https://symfony.com",
"keywords": [
"cli",
"command line",
"console",
"terminal"
],
"support": {
"source": "https://github.com/symfony/console/tree/v6.2.7"
},
"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": "2023-02-25T17:00:03+00:00"
},
{
"name": "symfony/deprecation-contracts",
"version": "v3.2.1",
"source": {
"type": "git",
"url": "https://github.com/symfony/deprecation-contracts.git",
"reference": "e2d1534420bd723d0ef5aec58a22c5fe60ce6f5e"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/e2d1534420bd723d0ef5aec58a22c5fe60ce6f5e",
"reference": "e2d1534420bd723d0ef5aec58a22c5fe60ce6f5e",
"shasum": ""
},
"require": {
"php": ">=8.1"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-main": "3.3-dev"
},
"thanks": {
"name": "symfony/contracts",
"url": "https://github.com/symfony/contracts"
}
},
"autoload": {
"files": [
"function.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": "A generic function and convention to trigger deprecation notices",
"homepage": "https://symfony.com",
"support": {
"source": "https://github.com/symfony/deprecation-contracts/tree/v3.2.1"
},
"funding": [
{
"url": "https://symfony.com/sponsor",
"type": "custom"
},
{
"url": "https://github.com/fabpot",
"type": "github"
},
{
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
"type": "tidelift"
}
],
"time": "2023-03-01T10:25:55+00:00"
},
{
"name": "symfony/event-dispatcher-contracts",
"version": "v3.2.1",
"source": {
"type": "git",
"url": "https://github.com/symfony/event-dispatcher-contracts.git",
"reference": "0ad3b6f1e4e2da5690fefe075cd53a238646d8dd"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/0ad3b6f1e4e2da5690fefe075cd53a238646d8dd",
"reference": "0ad3b6f1e4e2da5690fefe075cd53a238646d8dd",
"shasum": ""
},
"require": {
"php": ">=8.1",
"psr/event-dispatcher": "^1"
},
"suggest": {
"symfony/event-dispatcher-implementation": ""
},
"type": "library",
"extra": {
"branch-alias": {
"dev-main": "3.3-dev"
},
"thanks": {
"name": "symfony/contracts",
"url": "https://github.com/symfony/contracts"
}
},
"autoload": {
"psr-4": {
"Symfony\\Contracts\\EventDispatcher\\": ""
}
},
"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 dispatching event",
"homepage": "https://symfony.com",
"keywords": [
"abstractions",
"contracts",
"decoupling",
"interfaces",
"interoperability",
"standards"
],
"support": {
"source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.2.1"
},
"funding": [
{
"url": "https://symfony.com/sponsor",
"type": "custom"
},
{
"url": "https://github.com/fabpot",
"type": "github"
},
{
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
"type": "tidelift"
}
],
"time": "2023-03-01T10:32:47+00:00"
},
{
"name": "symfony/polyfill-intl-grapheme",
"version": "v1.27.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-intl-grapheme.git",
"reference": "511a08c03c1960e08a883f4cffcacd219b758354"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/511a08c03c1960e08a883f4cffcacd219b758354",
"reference": "511a08c03c1960e08a883f4cffcacd219b758354",
"shasum": ""
},
"require": {
"php": ">=7.1"
},
"suggest": {
"ext-intl": "For best performance"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-main": "1.27-dev"
},
"thanks": {
"name": "symfony/polyfill",
"url": "https://github.com/symfony/polyfill"
}
},
"autoload": {
"files": [
"bootstrap.php"
],
"psr-4": {
"Symfony\\Polyfill\\Intl\\Grapheme\\": ""
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Nicolas Grekas",
"email": "p@tchwork.com"
},
{
"name": "Symfony Community",
"homepage": "https://symfony.com/contributors"
}
],
"description": "Symfony polyfill for intl's grapheme_* functions",
"homepage": "https://symfony.com",
"keywords": [
"compatibility",
"grapheme",
"intl",
"polyfill",
"portable",
"shim"
],
"support": {
"source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.27.0"
},
"funding": [
{
"url": "https://symfony.com/sponsor",
"type": "custom"
},
{
"url": "https://github.com/fabpot",
"type": "github"
},
{
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
"type": "tidelift"
}
],
"time": "2022-11-03T14:55:06+00:00"
},
{
"name": "symfony/polyfill-intl-normalizer",
"version": "v1.27.0",
"source": {
"type": "git",
"url": "https://github.com/symfony/polyfill-intl-normalizer.git",
"reference": "19bd1e4fcd5b91116f14d8533c57831ed00571b6"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/19bd1e4fcd5b91116f14d8533c57831ed00571b6",
"reference": "19bd1e4fcd5b91116f14d8533c57831ed00571b6",
"shasum": ""
},
"require": {
"php": ">=7.1"
},
"suggest": {
"ext-intl": "For best performance"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-main": "1.27-dev"
},
"thanks": {
"name": "symfony/polyfill",
"url": "https://github.com/symfony/polyfill"
}
},
"autoload": {
"files": [
"bootstrap.php"
],
"psr-4": {
"Symfony\\Polyfill\\Intl\\Normalizer\\": ""
},
"classmap": [
"Resources/stubs"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Nicolas Grekas",
"email": "p@tchwork.com"
},
{
"name": "Symfony Community",
"homepage": "https://symfony.com/contributors"
}
],
"description": "Symfony polyfill for intl's Normalizer class and related functions",
"homepage": "https://symfony.com",
"keywords": [
"compatibility",
"intl",
"normalizer",
"polyfill",
"portable",
"shim"
],
"support": {
"source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.27.0"
},
"funding": [
{
"url": "https://symfony.com/sponsor",
"type": "custom"
},
{
"url": "https://github.com/fabpot",
"type": "github"
},
{
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
"type": "tidelift"
}
],
"time": "2022-11-03T14:55:06+00:00"
},
{
"name": "symfony/service-contracts",
"version": "v3.2.1",
"source": {
"type": "git",
"url": "https://github.com/symfony/service-contracts.git",
"reference": "a8c9cedf55f314f3a186041d19537303766df09a"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/service-contracts/zipball/a8c9cedf55f314f3a186041d19537303766df09a",
"reference": "a8c9cedf55f314f3a186041d19537303766df09a",
"shasum": ""
},
"require": {
"php": ">=8.1",
"psr/container": "^2.0"
},
"conflict": {
"ext-psr": "<1.1|>=2"
},
"suggest": {
"symfony/service-implementation": ""
},
"type": "library",
"extra": {
"branch-alias": {
"dev-main": "3.3-dev"
},
"thanks": {
"name": "symfony/contracts",
"url": "https://github.com/symfony/contracts"
}
},
"autoload": {
"psr-4": {
"Symfony\\Contracts\\Service\\": ""
},
"exclude-from-classmap": [
"/Test/"
]
},
"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"
],
"support": {
"source": "https://github.com/symfony/service-contracts/tree/v3.2.1"
},
"funding": [
{
"url": "https://symfony.com/sponsor",
"type": "custom"
},
{
"url": "https://github.com/fabpot",
"type": "github"
},
{
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
"type": "tidelift"
}
],
"time": "2023-03-01T10:32:47+00:00"
},
{
"name": "symfony/string",
"version": "v6.2.7",
"source": {
"type": "git",
"url": "https://github.com/symfony/string.git",
"reference": "67b8c1eec78296b85dc1c7d9743830160218993d"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/symfony/string/zipball/67b8c1eec78296b85dc1c7d9743830160218993d",
"reference": "67b8c1eec78296b85dc1c7d9743830160218993d",
"shasum": ""
},
"require": {
"php": ">=8.1",
"symfony/polyfill-ctype": "~1.8",
"symfony/polyfill-intl-grapheme": "~1.0",
"symfony/polyfill-intl-normalizer": "~1.0",
"symfony/polyfill-mbstring": "~1.0"
},
"conflict": {
"symfony/translation-contracts": "<2.0"
},
"require-dev": {
"symfony/error-handler": "^5.4|^6.0",
"symfony/http-client": "^5.4|^6.0",
"symfony/intl": "^6.2",
"symfony/translation-contracts": "^2.0|^3.0",
"symfony/var-exporter": "^5.4|^6.0"
},
"type": "library",
"autoload": {
"files": [
"Resources/functions.php"
],
"psr-4": {
"Symfony\\Component\\String\\": ""
},
"exclude-from-classmap": [
"/Tests/"
]
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Nicolas Grekas",
"email": "p@tchwork.com"
},
{
"name": "Symfony Community",
"homepage": "https://symfony.com/contributors"
}
],
"description": "Provides an object-oriented API to strings and deals with bytes, UTF-8 code points and grapheme clusters in a unified way",
"homepage": "https://symfony.com",
"keywords": [
"grapheme",
"i18n",
"string",
"unicode",
"utf-8",
"utf8"
],
"support": {
"source": "https://github.com/symfony/string/tree/v6.2.7"
},
"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": "2023-02-24T10:42:00+00:00"
},
{
"name": "yiisoft/definitions",
"version": "3.2.0",
"source": {
"type": "git",
"url": "https://github.com/yiisoft/definitions.git",
"reference": "49d9ffa0532aeef1b44eab9c652981fed344c9fa"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/yiisoft/definitions/zipball/49d9ffa0532aeef1b44eab9c652981fed344c9fa",
"reference": "49d9ffa0532aeef1b44eab9c652981fed344c9fa",
"shasum": ""
},
"require": {
"php": "^8.0",
"psr/container": "^1.0|^2.0"
},
"require-dev": {
"maglnet/composer-require-checker": "^4.2",
"phpunit/phpunit": "^9.5",
"rector/rector": "^0.15.2",
"roave/infection-static-analysis-plugin": "^1.18",
"spatie/phpunit-watcher": "^1.23",
"vimeo/psalm": "^4.30|^5.6",
"yiisoft/test-support": "^1.4"
},
"type": "library",
"autoload": {
"psr-4": {
"Yiisoft\\Definitions\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"BSD-3-Clause"
],
"description": "The package provides definition syntax",
"homepage": "https://www.yiiframework.com/",
"keywords": [
"definitions"
],
"support": {
"chat": "https://t.me/yii3en",
"forum": "https://www.yiiframework.com/forum/",
"irc": "irc://irc.freenode.net/yii",
"issues": "https://github.com/yiisoft/definitions/issues?state=open",
"source": "https://github.com/yiisoft/definitions",
"wiki": "https://www.yiiframework.com/wiki/"
},
"funding": [
{
"url": "https://github.com/sponsors/yiisoft",
"type": "github"
},
{
"url": "https://opencollective.com/yiisoft",
"type": "opencollective"
}
],
"time": "2023-02-12T13:27:59+00:00"
},
{
"name": "yiisoft/di",
"version": "1.2.1",
"source": {
"type": "git",
"url": "https://github.com/yiisoft/di.git",
"reference": "a6d889f74030a381dad337f1bd1ea9de7341bc9b"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/yiisoft/di/zipball/a6d889f74030a381dad337f1bd1ea9de7341bc9b",
"reference": "a6d889f74030a381dad337f1bd1ea9de7341bc9b",
"shasum": ""
},
"require": {
"ext-mbstring": "*",
"php": "^8.0",
"psr/container": "^1.1|^2.0",
"yiisoft/definitions": "^3.0"
},
"provide": {
"psr/container-implementation": "1.0.0"
},
"require-dev": {
"league/container": "^4.2",
"maglnet/composer-require-checker": "^4.2",
"phpbench/phpbench": "^1.2.0",
"phpunit/phpunit": "^9.5",
"rector/rector": "^0.14.3",
"roave/infection-static-analysis-plugin": "^1.25",
"spatie/phpunit-watcher": "^1.23",
"vimeo/psalm": "^4.29",
"yiisoft/injector": "^1.0",
"yiisoft/test-support": "^3.0"
},
"suggest": {
"phpbench/phpbench": "To run benchmarks.",
"yiisoft/injector": "^1.0"
},
"type": "library",
"autoload": {
"psr-4": {
"Yiisoft\\Di\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"BSD-3-Clause"
],
"description": "Yii DI container",
"homepage": "https://www.yiiframework.com/",
"keywords": [
"Autowiring",
"PSR-11",
"container",
"dependency",
"di",
"injection",
"injector"
],
"support": {
"chat": "https://t.me/yii3en",
"forum": "https://www.yiiframework.com/forum/",
"irc": "irc://irc.freenode.net/yii",
"issues": "https://github.com/yiisoft/di/issues?state=open",
"source": "https://github.com/yiisoft/di",
"wiki": "https://www.yiiframework.com/wiki/"
},
"funding": [
{
"url": "https://github.com/yiisoft",
"type": "github"
},
{
"url": "https://opencollective.com/yiisoft",
"type": "open_collective"
}
],
"time": "2022-12-23T16:12:56+00:00"
},
{
"name": "yiisoft/event-dispatcher",
"version": "1.1.0",
"source": {
"type": "git",
"url": "https://github.com/yiisoft/event-dispatcher.git",
"reference": "2b1262a56260030aaac386bf8ef75ec072abc7e3"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/yiisoft/event-dispatcher/zipball/2b1262a56260030aaac386bf8ef75ec072abc7e3",
"reference": "2b1262a56260030aaac386bf8ef75ec072abc7e3",
"shasum": ""
},
"require": {
"php": "^8.0",
"psr/event-dispatcher": "1.0.0"
},
"provide": {
"psr/event-dispatcher-implementation": "1.0.0"
},
"require-dev": {
"maglnet/composer-require-checker": "^4.2",
"phpunit/phpunit": "^9.5",
"rector/rector": "^0.14.3",
"roave/infection-static-analysis-plugin": "^1.16",
"spatie/phpunit-watcher": "^1.23",
"vimeo/psalm": "^4.18"
},
"type": "library",
"autoload": {
"psr-4": {
"Yiisoft\\EventDispatcher\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"BSD-3-Clause"
],
"description": "Yii Event Dispatcher",
"homepage": "https://www.yiiframework.com/",
"keywords": [
"event",
"event dispatcher",
"psr-14"
],
"support": {
"chat": "https://t.me/yii3en",
"forum": "https://www.yiiframework.com/forum/",
"irc": "irc://irc.freenode.net/yii",
"issues": "https://github.com/yiisoft/event-dispatcher/issues?state=open",
"source": "https://github.com/yiisoft/event-dispatcher",
"wiki": "https://www.yiiframework.com/wiki/"
},
"funding": [
{
"url": "https://github.com/yiisoft",
"type": "github"
},
{
"url": "https://opencollective.com/yiisoft",
"type": "open_collective"
}
],
"time": "2022-10-27T12:02:21+00:00"
},
{
"name": "yiisoft/friendly-exception",
"version": "1.1.0",
"source": {
"type": "git",
"url": "https://github.com/yiisoft/friendly-exception.git",
"reference": "4b4a19edff251791e3c92d4d83435d2716351ff4"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/yiisoft/friendly-exception/zipball/4b4a19edff251791e3c92d4d83435d2716351ff4",
"reference": "4b4a19edff251791e3c92d4d83435d2716351ff4",
"shasum": ""
},
"require": {
"php": "^7.1|^8.0"
},
"require-dev": {
"phpunit/phpunit": "^9.4",
"roave/infection-static-analysis-plugin": "^1.5",
"spatie/phpunit-watcher": "^1.23",
"vimeo/psalm": "^4.3"
},
"type": "library",
"autoload": {
"psr-4": {
"Yiisoft\\FriendlyException\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"BSD-3-Clause"
],
"description": "An interface for friendlier exception",
"homepage": "http://www.yiiframework.com/",
"keywords": [
"error handling",
"exception",
"exceptions",
"friendly"
],
"support": {
"forum": "http://www.yiiframework.com/forum/",
"irc": "irc://irc.freenode.net/yii",
"issues": "https://github.com/yiisoft/friendly-exception/issues?state=open",
"source": "https://github.com/yiisoft/friendly-exception",
"wiki": "http://www.yiiframework.com/wiki/"
},
"funding": [
{
"url": "https://github.com/yiisoft",
"type": "github"
},
{
"url": "https://opencollective.com/yiisoft",
"type": "open_collective"
}
],
"time": "2021-10-26T21:43:25+00:00"
},
{
"name": "yiisoft/injector",
"version": "1.1.0",
"source": {
"type": "git",
"url": "https://github.com/yiisoft/injector.git",
"reference": "e78a0da15625c59cc0969985bfa05f2ea1b6ddea"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/yiisoft/injector/zipball/e78a0da15625c59cc0969985bfa05f2ea1b6ddea",
"reference": "e78a0da15625c59cc0969985bfa05f2ea1b6ddea",
"shasum": ""
},
"require": {
"php": "^7.4|^8.0",
"psr/container": "^1.0|^2.0"
},
"require-dev": {
"phpbench/phpbench": "^1.1",
"phpunit/phpunit": "^9.5",
"roave/infection-static-analysis-plugin": "^1.16",
"spatie/phpunit-watcher": "^1.23",
"vimeo/psalm": "^4.18",
"yiisoft/test-support": "^1.2"
},
"type": "library",
"autoload": {
"psr-4": {
"Yiisoft\\Injector\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"BSD-3-Clause"
],
"description": "PSR-11 compatible injector. Executes a callable and makes an instances by injecting dependencies from a given DI container.",
"homepage": "https://www.yiiframework.com/",
"keywords": [
"PSR-11",
"dependency injection",
"di",
"injector",
"reflection"
],
"support": {
"chat": "https://t.me/yii3en",
"forum": "https://www.yiiframework.com/forum/",
"irc": "irc://irc.freenode.net/yii",
"issues": "https://github.com/yiisoft/injector/issues?state=open",
"source": "https://github.com/yiisoft/injector",
"wiki": "https://www.yiiframework.com/wiki/"
},
"funding": [
{
"url": "https://github.com/yiisoft",
"type": "github"
},
{
"url": "https://opencollective.com/yiisoft",
"type": "open_collective"
}
],
"time": "2022-07-18T15:18:30+00:00"
},
{
"name": "yiisoft/yii-console",
"version": "2.0.0",
"source": {
"type": "git",
"url": "https://github.com/yiisoft/yii-console.git",
"reference": "783e08add57abc6090a12ae52608f2fe856bd425"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/yiisoft/yii-console/zipball/783e08add57abc6090a12ae52608f2fe856bd425",
"reference": "783e08add57abc6090a12ae52608f2fe856bd425",
"shasum": ""
},
"require": {
"php": "^8.0",
"psr/container": "^1.0|^2.0",
"psr/event-dispatcher": "^1.0",
"psr/log": "^1.0|^2.0|^3.0",
"symfony/console": "^5.4|^6.0",
"symfony/event-dispatcher-contracts": "^2.2|^3.0",
"yiisoft/friendly-exception": "^1.0"
},
"require-dev": {
"maglnet/composer-require-checker": "^3.8|^4.4",
"phpunit/phpunit": "^9.5",
"rector/rector": "^0.15.3",
"roave/infection-static-analysis-plugin": "^1.16",
"spatie/phpunit-watcher": "^1.23",
"vimeo/psalm": "^4.30|^5.6",
"yiisoft/config": "^1.3",
"yiisoft/di": "^1.2",
"yiisoft/test-support": "^3.0"
},
"type": "library",
"extra": {
"config-plugin-options": {
"source-directory": "config",
"merge-plan-file": "../tests/environment/.merge-plan.php"
},
"config-plugin": {
"params": "params.php",
"di-console": "di-console.php",
"events-console": "events-console.php"
}
},
"autoload": {
"psr-4": {
"Yiisoft\\Yii\\Console\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"BSD-3-Clause"
],
"description": "Yii Framework Console",
"homepage": "https://www.yiiframework.com/",
"keywords": [
"console",
"yii"
],
"support": {
"chat": "https://t.me/yii3en",
"forum": "https://www.yiiframework.com/forum/",
"irc": "irc://irc.freenode.net/yii",
"issues": "https://github.com/yiisoft/yii-console/issues?state=open",
"source": "https://github.com/yiisoft/yii-console",
"wiki": "https://www.yiiframework.com/wiki/"
},
"funding": [
{
"url": "https://github.com/sponsors/yiisoft",
"type": "github"
},
{
"url": "https://opencollective.com/yiisoft",
"type": "opencollective"
}
],
"time": "2023-02-17T10:42:22+00:00"
},
{
"name": "yiisoft/yii-event",
"version": "2.0.0",
"source": {
"type": "git",
"url": "https://github.com/yiisoft/yii-event.git",
"reference": "2437109c4c4ec2bdf23005b44d4e2c0aabc1fdf9"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/yiisoft/yii-event/zipball/2437109c4c4ec2bdf23005b44d4e2c0aabc1fdf9",
"reference": "2437109c4c4ec2bdf23005b44d4e2c0aabc1fdf9",
"shasum": ""
},
"require": {
"php": "^8.0",
"psr/container": "^1.0|^2.0",
"yiisoft/event-dispatcher": "^1.0",
"yiisoft/friendly-exception": "^1.0",
"yiisoft/injector": "^1.0"
},
"require-dev": {
"maglnet/composer-require-checker": "^4.4",
"phpunit/phpunit": "^9.5",
"rector/rector": "^0.15.13",
"roave/infection-static-analysis-plugin": "^1.16",
"spatie/phpunit-watcher": "^1.23",
"vimeo/psalm": "^4.30|^5.6",
"yiisoft/config": "^1.3",
"yiisoft/di": "^1.2",
"yiisoft/test-support": "^1.3"
},
"type": "library",
"extra": {
"config-plugin-options": {
"source-directory": "config",
"merge-plan-file": "../tests/environment/.merge-plan.php"
},
"config-plugin": {
"di": "di.php",
"di-web": "di-web.php",
"di-console": "di-console.php",
"events-web": [],
"events-console": []
}
},
"autoload": {
"psr-4": {
"Yiisoft\\Yii\\Event\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"BSD-3-Clause"
],
"description": "Yii Event",
"homepage": "https://www.yiiframework.com/",
"keywords": [
"event",
"yii3"
],
"support": {
"chat": "https://t.me/yii3en",
"forum": "https://www.yiiframework.com/forum/",
"irc": "irc://irc.freenode.net/yii",
"issues": "https://github.com/yiisoft/yii-event/issues?state=open",
"source": "https://github.com/yiisoft/yii-event",
"wiki": "https://www.yiiframework.com/wiki/"
},
"funding": [
{
"url": "https://github.com/yiisoft",
"type": "github"
},
{
"url": "https://opencollective.com/yiisoft",
"type": "open_collective"
}
],
"time": "2023-02-16T11:25:02+00:00"
},
{
"name": "yiisoft/yii-runner",
"version": "2.0.0",
"source": {
"type": "git",
"url": "https://github.com/yiisoft/yii-runner.git",
"reference": "e82a1bea6012c005e680de77f1ec87a89be7d345"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/yiisoft/yii-runner/zipball/e82a1bea6012c005e680de77f1ec87a89be7d345",
"reference": "e82a1bea6012c005e680de77f1ec87a89be7d345",
"shasum": ""
},
"require": {
"php": "^8.0",
"psr/container": "^1.0|^2.0",
"yiisoft/config": "^1.1",
"yiisoft/definitions": "^1.0|^2.0|^3.0",
"yiisoft/di": "^1.0",
"yiisoft/yii-event": "^2.0"
},
"require-dev": {
"maglnet/composer-require-checker": "^4.2",
"phpunit/phpunit": "^9.5",
"rector/rector": "^0.15.3",
"roave/infection-static-analysis-plugin": "^1.20",
"spatie/phpunit-watcher": "^1.23",
"vimeo/psalm": "^4.30|^5.4",
"yiisoft/test-support": "^3.0"
},
"suggest": {
"yiisoft/yii-runner-console": "Allows to run console application",
"yiisoft/yii-runner-http": "Allows to run HTTP application",
"yiisoft/yii-runner-roadrunner": "Allows to run HTTP application for RoadRunner"
},
"type": "library",
"extra": {
"config-plugin-options": {
"build-merge-plan": false
}
},
"autoload": {
"psr-4": {
"Yiisoft\\Yii\\Runner\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"BSD-3-Clause"
],
"description": "Yii application runner",
"homepage": "https://www.yiiframework.com/",
"keywords": [
"runner",
"yii3"
],
"support": {
"chat": "https://t.me/yii3en",
"forum": "https://www.yiiframework.com/forum/",
"irc": "irc://irc.freenode.net/yii",
"issues": "https://github.com/yiisoft/yii-runner/issues?state=open",
"source": "https://github.com/yiisoft/yii-runner",
"wiki": "https://www.yiiframework.com/wiki/"
},
"funding": [
{
"url": "https://github.com/sponsors/yiisoft",
"type": "github"
},
{
"url": "https://opencollective.com/yiisoft",
"type": "opencollective"
}
],
"time": "2023-02-19T09:40:45+00:00"
},
{
"name": "yiisoft/yii-runner-console",
"version": "2.0.0",
"source": {
"type": "git",
"url": "https://github.com/yiisoft/yii-runner-console.git",
"reference": "78786e685f88a9121118380c327e40e02534a0fe"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/yiisoft/yii-runner-console/zipball/78786e685f88a9121118380c327e40e02534a0fe",
"reference": "78786e685f88a9121118380c327e40e02534a0fe",
"shasum": ""
},
"require": {
"php": "^8.0",
"symfony/console": "^5.4|^6.0",
"yiisoft/config": "^1.1",
"yiisoft/definitions": "^1.0|^2.0|^3.0",
"yiisoft/di": "^1.0",
"yiisoft/yii-console": "^2.0",
"yiisoft/yii-runner": "^2.0"
},
"require-dev": {
"codeception/codeception": "^5.0",
"codeception/module-cli": "^2.0",
"maglnet/composer-require-checker": "^4.2",
"rector/rector": "^0.15.1",
"vimeo/psalm": "^4.30|^5.2"
},
"type": "library",
"extra": {
"config-plugin-options": {
"build-merge-plan": false
}
},
"autoload": {
"psr-4": {
"Yiisoft\\Yii\\Runner\\Console\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"BSD-3-Clause"
],
"description": "Console application runner",
"homepage": "https://www.yiiframework.com/",
"keywords": [
"console",
"runner",
"yii"
],
"support": {
"chat": "https://t.me/yii3en",
"forum": "https://www.yiiframework.com/forum/",
"irc": "irc://irc.freenode.net/yii",
"issues": "https://github.com/yiisoft/yii-runner-console/issues?state=open",
"source": "https://github.com/yiisoft/yii-runner-console",
"wiki": "https://www.yiiframework.com/wiki/"
},
"funding": [
{
"url": "https://github.com/sponsors/yiisoft",
"type": "github"
},
{
"url": "https://opencollective.com/yiisoft",
"type": "opencollective"
}
],
"time": "2023-02-19T09:59:43+00:00"
}
],
"packages-dev": [],
"aliases": [],
"minimum-stability": "stable",
"stability-flags": [],
......@@ -69,5 +2455,5 @@
"prefer-lowest": false,
"platform": [],
"platform-dev": [],
"plugin-api-version": "2.2.0"
"plugin-api-version": "2.3.0"
}
.merge-plan.php
<?php
declare(strict_types=1);
use Psr\Log\LoggerInterface;
use Yiisoft\Log\Logger;
return [
LoggerInterface::class => Logger::class,
];
<?php
declare(strict_types=1);
return [
'app' => [
'charset' => 'UTF-8',
'locale' => 'zh',
'name' => 'phpdts',
],
];
<?php
declare(strict_types=1);
return [
'config-plugin' => [
'params' => 'common/params.php',
'di' => 'common/di/*.php',
'events' => [],
'bootstrap' => [],
'params-console' => [
'$params',
'console/params.php',
],
'di-console' => [
'$di',
'console/di/*.php',
],
'events-console' => '$events',
'bootstrap-console' => '$bootstrap',
],
'config-plugin-environments' => [
'dev' => [
'params' => [
'environments/dev/params.php',
],
],
'prod' => [
'params' => [
'environments/prod/params.php',
],
],
'test' => [
'params' => [
'environments/test/params.php',
],
],
],
'config-plugin-options' => [
'source-directory' => 'config',
],
];
<?php
declare(strict_types=1);
return [
];
<?php
declare(strict_types=1);
return [
'yiisoft/yii-debug' => [
'enabled' => true,
],
];
<?php
declare(strict_types=1);
return [
'yiisoft/yii-debug' => [
'enabled' => false,
],
];
<?php
declare(strict_types=1);
return [
'yiisoft/yii-debug' => [
'enabled' => false,
],
];
<?php
declare(strict_types=1);
use Rector\CodeQuality\Rector\Class_\InlineConstructorDefaultToPropertyRector;
use Rector\Config\RectorConfig;
use Rector\Set\ValueObject\DowngradeLevelSetList;
return static function (RectorConfig $rectorConfig): void {
$rectorConfig->paths([
__DIR__ . '/src',
]);
// define sets of rules
$rectorConfig->sets([
DowngradeLevelSetList::DOWN_TO_PHP_71
]);
};
<?php
declare(strict_types=1);
namespace NMForce\PHPDTS;
use FilesystemIterator as FSIterator;
use RecursiveDirectoryIterator as DirIterator;
use RecursiveIteratorIterator as RIterator;
final class Installer
{
/**
* @psalm-suppress UndefinedClass
*/
public static function postUpdate(): void
{
self::chmodRecursive('runtime', 0777);
}
private static function chmodRecursive(string $path, int $mode): void
{
chmod($path, $mode);
/** @psalm-var iterable<array-key, string> $iterator */
$iterator = new RIterator(
new DirIterator($path, FSIterator::SKIP_DOTS | FSIterator::CURRENT_AS_PATHNAME),
RIterator::SELF_FIRST
);
foreach ($iterator as $item) {
chmod($item, $mode);
}
}
public static function copyEnvFile(): void
{
if (!file_exists('.env')) {
copy('.env.example', '.env');
}
}
}
#!/usr/bin/env php
<?php
declare(strict_types=1);
use Yiisoft\Yii\Runner\Console\ConsoleApplicationRunner;
require_once __DIR__ . '/autoload.php';
// Run console application runner
$runner = new ConsoleApplicationRunner(
rootPath: __DIR__,
debug: $_ENV['YII_DEBUG'],
checkEvents: $_ENV['YII_DEBUG'],
environment: $_ENV['YII_ENV']
);
$runner->run();
@echo off
@setlocal
set YII_PATH=%~dp0
if "%PHP_COMMAND%" == "" set PHP_COMMAND=php
"%PHP_COMMAND%" "%YII_PATH%yii" %*
@endlocal
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment