undabot / json-api-core
v2.1.8
2024-08-06 07:17 UTC
Requires
- php: ^8
- beberlei/assert: ^3.3
Requires (Dev)
- ekino/phpstan-banned-code: 0.10.x-dev
- friendsofphp/php-cs-fixer: ^2.18
- phpstan/extension-installer: ^1.1
- phpstan/phpstan: ^0.12.76
- phpstan/phpstan-beberlei-assert: ^0.12.6
- phpstan/phpstan-phpunit: ^0.12.17
- phpunit/phpunit: ^9.5
- dev-master
- v2.1.8
- v2.1.7
- v2.1.6.x-dev
- v2.1.6
- v2.1.5
- v2.1.4.x-dev
- v2.1.4
- 2.1.3.x-dev
- v2.1.3
- v2.1.2
- v2.1.1
- v2.1.0
- v2.0.2.x-dev
- v2.0.2
- v2.0.1.x-dev
- v2.0.1
- v2.0.0
- v1.0.0
- dev-develop
- dev-refactor/update-phpstan
- dev-dev-feature/cursor-pagination
- dev-github_actions
- dev-upgrade/php8
- dev-bugfix/empty_relations_and_attributes
- dev-bugfix/wrong_empty_parameters_type
- dev-v2-rc
This package is auto-updated.
Last update: 2024-09-06 07:28:01 UTC
README
"repositories": [
{
"type": "vcs",
"url": "git@gitlab.com:undabot/json-api-core.git"
}
],
脚本
- PHPUnit 测试:
composer test
- PhpStan:
composer qc
- PhpCsFixer:
composer lint
开发
存在一个自定义的 Docker 镜像,可用于开发。应使用此 Docker 容器来运行测试和检查任何兼容性问题。
此仓库挂载在容器内部,对文件所做的任何更改都会自动传播到容器中。无需同步,文件系统同时指向两个位置。
可以使用名为 dev.sh 的脚本管理镜像。以下是可以使用的命令
-
./dev.sh build
used to build base dev docker image, and to install composer and dependencies at first run
-
./dev.sh run
starts the dev container
-
./dev.sh stop
stops the dev container
-
./dev.sh ssh
attaches the container shell to the terminal so that you can execute commands inside of the container
-
./dev.sh test
run php unit tests inside of the running container
-
./dev.sh qc
executes qc tests
-
./dev.sh install 执行 composer install --optimize-autoloader