2015-08-26 23:16:28 -05:00
|
|
|
{
|
2021-06-04 22:51:52 +08:00
|
|
|
"name": "codeigniter4/codeigniter4",
|
|
|
|
"description": "The CodeIgniter framework v4",
|
|
|
|
"license": "MIT",
|
2023-07-21 17:53:34 +08:00
|
|
|
"type": "project",
|
|
|
|
"homepage": "https://codeigniter.com",
|
|
|
|
"support": {
|
|
|
|
"forum": "https://forum.codeigniter.com/",
|
|
|
|
"source": "https://github.com/codeigniter4/CodeIgniter4",
|
|
|
|
"slack": "https://codeigniterchat.slack.com"
|
|
|
|
},
|
2021-06-04 22:51:52 +08:00
|
|
|
"require": {
|
2023-10-13 17:26:26 +09:00
|
|
|
"php": "^8.1",
|
2021-06-04 22:51:52 +08:00
|
|
|
"ext-intl": "*",
|
|
|
|
"ext-mbstring": "*",
|
2023-10-21 08:04:26 +09:00
|
|
|
"laminas/laminas-escaper": "^2.13",
|
2023-09-24 17:45:22 +09:00
|
|
|
"psr/log": "^2.0"
|
2021-06-04 22:51:52 +08:00
|
|
|
},
|
|
|
|
"require-dev": {
|
2022-09-13 17:37:51 +08:00
|
|
|
"codeigniter/coding-standard": "^1.5",
|
2023-10-21 15:54:00 +08:00
|
|
|
"codeigniter/phpstan-codeigniter": "^1.4",
|
2023-07-25 11:35:31 +08:00
|
|
|
"ergebnis/composer-normalize": "^2.28",
|
2021-06-04 22:51:52 +08:00
|
|
|
"fakerphp/faker": "^1.9",
|
2023-07-21 17:53:34 +08:00
|
|
|
"kint-php/kint": "^5.0.4",
|
2021-06-04 22:51:52 +08:00
|
|
|
"mikey179/vfsstream": "^1.6",
|
2022-09-13 17:37:51 +08:00
|
|
|
"nexusphp/cs-config": "^3.6",
|
2021-06-04 22:51:52 +08:00
|
|
|
"nexusphp/tachycardia": "^1.0",
|
2022-10-20 21:31:21 +08:00
|
|
|
"php-coveralls/php-coveralls": "^2.5",
|
2023-09-11 15:24:28 +08:00
|
|
|
"phpstan/extension-installer": "^1.3",
|
2023-07-17 16:58:59 +08:00
|
|
|
"phpstan/phpstan": "^1.10.2",
|
2023-09-09 17:45:01 +09:00
|
|
|
"phpstan/phpstan-strict-rules": "^1.5",
|
2022-10-20 21:31:21 +08:00
|
|
|
"phpunit/phpcov": "^8.2",
|
2021-06-04 22:51:52 +08:00
|
|
|
"phpunit/phpunit": "^9.1",
|
2022-06-12 23:02:16 +08:00
|
|
|
"predis/predis": "^1.1 || ^2.0",
|
2023-11-27 15:27:44 +00:00
|
|
|
"rector/rector": "0.18.11",
|
2022-12-02 15:34:31 +09:00
|
|
|
"vimeo/psalm": "^5.0"
|
2021-06-04 22:51:52 +08:00
|
|
|
},
|
|
|
|
"suggest": {
|
2022-11-23 13:56:14 +09:00
|
|
|
"ext-curl": "If you use CURLRequest class",
|
2022-10-21 11:47:55 +09:00
|
|
|
"ext-exif": "If you run Image class tests",
|
2023-07-21 17:53:34 +08:00
|
|
|
"ext-gd": "If you use Image class GDHandler",
|
|
|
|
"ext-imagick": "If you use Image class ImageMagickHandler",
|
|
|
|
"ext-memcache": "If you use Cache class MemcachedHandler with Memcache",
|
|
|
|
"ext-memcached": "If you use Cache class MemcachedHandler with Memcached",
|
2022-08-01 09:12:20 +09:00
|
|
|
"ext-mysqli": "If you use MySQL",
|
|
|
|
"ext-oci8": "If you use Oracle Database",
|
|
|
|
"ext-pgsql": "If you use PostgreSQL",
|
2023-07-21 17:53:34 +08:00
|
|
|
"ext-readline": "Improves CLI::input() usability",
|
2022-08-01 09:12:20 +09:00
|
|
|
"ext-redis": "If you use Cache class RedisHandler",
|
2023-07-21 17:53:34 +08:00
|
|
|
"ext-sqlsrv": "If you use SQL Server",
|
|
|
|
"ext-xdebug": "If you use CIUnitTestCase::assertHeaderEmitted()"
|
2021-06-04 22:51:52 +08:00
|
|
|
},
|
|
|
|
"autoload": {
|
|
|
|
"psr-4": {
|
2023-10-04 20:21:54 +09:00
|
|
|
"CodeIgniter\\": "system/",
|
|
|
|
"Config\\": "app/Config/"
|
2021-06-04 22:51:52 +08:00
|
|
|
},
|
|
|
|
"exclude-from-classmap": [
|
|
|
|
"**/Database/Migrations/**"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"autoload-dev": {
|
|
|
|
"psr-4": {
|
|
|
|
"CodeIgniter\\": "tests/system/",
|
|
|
|
"Utils\\": "utils/"
|
|
|
|
}
|
|
|
|
},
|
2023-07-21 17:53:34 +08:00
|
|
|
"config": {
|
2023-07-25 11:35:31 +08:00
|
|
|
"allow-plugins": {
|
2023-09-11 15:24:28 +08:00
|
|
|
"ergebnis/composer-normalize": true,
|
|
|
|
"phpstan/extension-installer": true
|
2023-07-25 11:35:31 +08:00
|
|
|
},
|
2023-07-21 17:53:34 +08:00
|
|
|
"optimize-autoloader": true,
|
|
|
|
"preferred-install": "dist",
|
|
|
|
"sort-packages": true
|
|
|
|
},
|
|
|
|
"extra": {
|
|
|
|
"branch-alias": {
|
|
|
|
"dev-develop": "4.x-dev"
|
|
|
|
}
|
|
|
|
},
|
2021-06-04 22:51:52 +08:00
|
|
|
"scripts": {
|
|
|
|
"post-update-cmd": [
|
|
|
|
"CodeIgniter\\ComposerScripts::postUpdate",
|
|
|
|
"bash -c \"if [ -f admin/setup.sh ]; then bash admin/setup.sh; fi\""
|
|
|
|
],
|
2022-08-29 10:32:27 +09:00
|
|
|
"analyze": [
|
2023-07-19 08:37:05 +07:00
|
|
|
"Composer\\Config::disableProcessTimeout",
|
2022-11-14 11:40:05 +07:00
|
|
|
"bash -c \"XDEBUG_MODE=off phpstan analyse\"",
|
2022-08-29 10:32:27 +09:00
|
|
|
"rector process --dry-run"
|
|
|
|
],
|
2021-09-16 21:52:39 +09:00
|
|
|
"cs": [
|
2023-06-22 11:55:10 +08:00
|
|
|
"Composer\\Config::disableProcessTimeout",
|
2022-04-05 17:58:37 +09:00
|
|
|
"php-cs-fixer fix --ansi --verbose --dry-run --diff --config=.php-cs-fixer.user-guide.php",
|
|
|
|
"php-cs-fixer fix --ansi --verbose --dry-run --diff --config=.php-cs-fixer.no-header.php",
|
|
|
|
"php-cs-fixer fix --ansi --verbose --dry-run --diff"
|
2021-09-16 21:52:39 +09:00
|
|
|
],
|
|
|
|
"cs-fix": [
|
2023-06-22 11:55:10 +08:00
|
|
|
"Composer\\Config::disableProcessTimeout",
|
2022-04-05 17:58:37 +09:00
|
|
|
"php-cs-fixer fix --ansi --verbose --diff --config=.php-cs-fixer.user-guide.php",
|
|
|
|
"php-cs-fixer fix --ansi --verbose --diff --config=.php-cs-fixer.no-header.php",
|
|
|
|
"php-cs-fixer fix --ansi --verbose --diff"
|
2022-08-29 10:32:49 +09:00
|
|
|
],
|
2023-07-21 17:53:34 +08:00
|
|
|
"sa": "@analyze",
|
|
|
|
"style": "@cs-fix",
|
|
|
|
"test": "phpunit"
|
2021-09-16 21:52:39 +09:00
|
|
|
},
|
|
|
|
"scripts-descriptions": {
|
|
|
|
"analyze": "Run static analysis",
|
|
|
|
"cs": "Check the coding style",
|
2023-07-21 17:53:34 +08:00
|
|
|
"cs-fix": "Fix the coding style",
|
|
|
|
"test": "Run unit tests"
|
2021-06-04 22:51:52 +08:00
|
|
|
}
|
2015-11-28 23:21:58 -06:00
|
|
|
}
|