2015-08-26 23:16:28 -05:00
|
|
|
{
|
2021-06-04 22:51:52 +08:00
|
|
|
"name": "codeigniter4/codeigniter4",
|
|
|
|
"type": "project",
|
|
|
|
"description": "The CodeIgniter framework v4",
|
|
|
|
"homepage": "https://codeigniter.com",
|
|
|
|
"license": "MIT",
|
|
|
|
"require": {
|
2021-12-13 22:07:52 +07:00
|
|
|
"php": "^7.4 || ^8.0",
|
2021-06-04 22:51:52 +08:00
|
|
|
"ext-curl": "*",
|
|
|
|
"ext-intl": "*",
|
|
|
|
"ext-json": "*",
|
|
|
|
"ext-mbstring": "*",
|
2022-08-28 19:41:04 +09:00
|
|
|
"kint-php/kint": "^4.2",
|
2021-09-10 09:07:32 +07:00
|
|
|
"laminas/laminas-escaper": "^2.9",
|
2021-06-04 22:51:52 +08:00
|
|
|
"psr/log": "^1.1"
|
|
|
|
},
|
|
|
|
"require-dev": {
|
2022-09-13 17:37:51 +08:00
|
|
|
"codeigniter/coding-standard": "^1.5",
|
2021-06-04 22:51:52 +08:00
|
|
|
"fakerphp/faker": "^1.9",
|
2022-10-13 20:47:25 +08:00
|
|
|
"friendsofphp/php-cs-fixer": "~3.12.0",
|
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-05-24 20:14:45 +07:00
|
|
|
"phpstan/phpstan": "^1.7.1",
|
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",
|
2022-10-17 15:07:40 +00:00
|
|
|
"rector/rector": "0.14.6"
|
2021-06-04 22:51:52 +08:00
|
|
|
},
|
|
|
|
"suggest": {
|
2022-08-01 09:12:20 +09:00
|
|
|
"ext-imagick": "If you use Image class ImageMagickHandler",
|
|
|
|
"ext-simplexml": "If you format XML",
|
|
|
|
"ext-mysqli": "If you use MySQL",
|
|
|
|
"ext-oci8": "If you use Oracle Database",
|
|
|
|
"ext-pgsql": "If you use PostgreSQL",
|
|
|
|
"ext-sqlsrv": "If you use SQL Server",
|
|
|
|
"ext-sqlite3": "If you use SQLite3",
|
|
|
|
"ext-memcache": "If you use Cache class MemcachedHandler with Memcache",
|
|
|
|
"ext-memcached": "If you use Cache class MemcachedHandler with Memcached",
|
|
|
|
"ext-redis": "If you use Cache class RedisHandler",
|
2022-10-13 11:16:50 +09:00
|
|
|
"ext-dom": "If you use TestResponse",
|
|
|
|
"ext-libxml": "If you use TestResponse",
|
2022-08-01 09:12:20 +09:00
|
|
|
"ext-fileinfo": "Improves mime type detection for files",
|
|
|
|
"ext-readline": "Improves CLI::input() usability"
|
2021-06-04 22:51:52 +08:00
|
|
|
},
|
|
|
|
"config": {
|
|
|
|
"optimize-autoloader": true,
|
|
|
|
"preferred-install": "dist",
|
|
|
|
"sort-packages": true
|
|
|
|
},
|
|
|
|
"extra": {
|
|
|
|
"branch-alias": {
|
|
|
|
"dev-develop": "4.x-dev"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"autoload": {
|
|
|
|
"psr-4": {
|
|
|
|
"CodeIgniter\\": "system/"
|
|
|
|
},
|
|
|
|
"exclude-from-classmap": [
|
|
|
|
"**/Database/Migrations/**"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"autoload-dev": {
|
|
|
|
"psr-4": {
|
|
|
|
"CodeIgniter\\": "tests/system/",
|
2022-01-04 14:51:10 +08:00
|
|
|
"CodeIgniter\\AutoReview\\": "tests/AutoReview/",
|
2021-06-04 22:51:52 +08:00
|
|
|
"Utils\\": "utils/"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"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": [
|
|
|
|
"phpstan analyze",
|
|
|
|
"rector process --dry-run"
|
|
|
|
],
|
2022-08-29 10:32:49 +09:00
|
|
|
"sa": "@analyze",
|
2021-09-16 21:52:39 +09:00
|
|
|
"test": "phpunit",
|
|
|
|
"cs": [
|
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": [
|
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
|
|
|
],
|
|
|
|
"style": "@cs-fix"
|
2021-09-16 21:52:39 +09:00
|
|
|
},
|
|
|
|
"scripts-descriptions": {
|
|
|
|
"analyze": "Run static analysis",
|
|
|
|
"test": "Run unit tests",
|
|
|
|
"cs": "Check the coding style",
|
|
|
|
"cs-fix": "Fix the coding style"
|
2021-06-04 22:51:52 +08:00
|
|
|
},
|
|
|
|
"support": {
|
|
|
|
"forum": "http://forum.codeigniter.com/",
|
|
|
|
"source": "https://github.com/codeigniter4/CodeIgniter4",
|
|
|
|
"slack": "https://codeigniterchat.slack.com"
|
|
|
|
}
|
2015-11-28 23:21:58 -06:00
|
|
|
}
|