定制 sokil/php-library-starter-kit 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

sokil/php-library-starter-kit

Composer 安装命令:

composer require sokil/php-library-starter-kit

包简介

Starter kit for creating composer compatible library

README 文档

README

Starter kit for creating composer compatible library will help to add boilerplate code. Clone project and start library development with already configured tests, code coverage, code style and quality tools, betchmarking and CI.

Total Downloads Build Status Coverage Status Scrutinizer Code Quality Code Climate

Creating new project

Begin your new library with starter kit. Just create project:

composer create-project sokil/php-library-starter-kit my-php-library --prefer-source

Or you can just clone repo:

git clone https://github.com/sokil/php-library-starter-kit.git my-php-library

Composer commands

  • "test": start unit tests
  • "cover": generate code coverage report to file
  • "coveralls": send code coverage report to coveralls
  • "check-style": check code style by PSR2 rules
  • "fix-style": automatically fix style by PSR2 rules
  • "bench": run phpbench benchmarks,
  • "infection": run mutation tests

External tools

There are some usefull tools for library development, but they written on PHP > 7.0 and this library by default configured for PHP ">=5.3 || ^7.0". So this tools only suggested to be installed or may be installed globally as phar packages or global composer requirement.

PHPBench

Read more at http://phpbench.readthedocs.io. There is some configuration in phpbench.json. Also there is composer script to run infection: composer bench

Infection

Read more at https://infection.github.io. There is some configuration in infection.json.dist. Also there is composer script to run infection: composer infection

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-02-22

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固