承接 maxie-systems/web-lib 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

maxie-systems/web-lib

最新稳定版本:0.1.1

Composer 安装命令:

composer require maxie-systems/web-lib

包简介

README 文档

README

Coverage Status

Development

Docker Image

The image is used to run tests.

The simpliest method to build image and run container:

docker compose up -d

Build an image:

docker build -f .docker/Dockerfile -t maxie-systems/web-lib-dev:latest .

Run a new container in background:

docker run -di --name web-lib-dev -v .:/usr/src/app --restart unless-stopped maxie-systems/web-lib-dev

Enter the container:

docker exec -it web-lib-dev sh

Run the Composer inside the container once it's created:

composer install

From now on you can run all tests using this command inside the Container:

composer test:all

Or you can use a new container every time you want to run tests:

docker run -it --rm -v .:/usr/src/app web-lib-dev composer test-all

Run only unit tests for all test cases and generate HTML-report:

composer test:coverage-report

Run only unit tests for certain files or directories (filename\dirname is required):

composer test --unit <FileName-or-DirName>

Check your code against the PSR-12 coding standard:

composer test:cs <src/FileName.php>

Fix your code:

composer fix-psr12 <src/FileName.php>

统计信息

  • 总下载量: 10
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0-or-later
  • 更新时间: 2024-04-06