【文件属性】:
文件名称:rest-api:测试任务
文件大小:50KB
文件格式:ZIP
更新时间:2021-03-16 06:18:46
PHP
评估API应用
要求
1. docker
or
1. PHP 7.4+
2. Apache or Nginx
3. composer
安装
1. docker-compose up
2. docker exec -i time-tracking_php_1 sh < update.sh
or
1. PHP 7.4+
3. Apache or Nginx
4. Set up your config
4, ./update.sh
运行单元测试
php -d memory_limit = -1 vendor / bin / phpunit -c phpunit.xml.dist --no-coverage --no-logging
【文件预览】:
rest-api-master
----composer.json(2KB)
----.env.test(215B)
----bin()
--------console(1KB)
----config()
--------routes.yaml(208B)
--------preload.php(184B)
--------services.yaml(1KB)
--------routes()
--------bundles.php(260B)
--------packages()
----composer.lock(207KB)
----data()
--------questions.csv(307B)
--------questions.json(560B)
----tests()
--------bootstrap.php(320B)
--------Controller()
----.env(978B)
----src()
--------Form()
--------Service()
--------Entity()
--------Kernel.php(1KB)
--------Controller()
----.idea()
--------vcs.xml(180B)
--------modules.xml(268B)
--------.gitignore(176B)
--------inspectionProfiles()
----docker()
--------nginx()
--------php-fpm()
----docker-compose.yml(435B)
----update.sh(70B)
----.gitignore(384B)
----symfony.lock(8KB)
----phpunit.xml.dist(1KB)
----public()
--------index.php(535B)
--------.htaccess(3KB)
----README.md(516B)