承接 danbettles/php-project-template 相关项目开发

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

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

danbettles/php-project-template

最新稳定版本:v2.0.0

Composer 安装命令:

composer create-project danbettles/php-project-template

包简介

README 文档

README

A most basic PHP project template with PHPUnit, PHPStan, and PHP_CodeSniffer ready to roll. The project will be ISC-licensed by default.

Additionally, the following Composer scripts are included to help you quickly get going.

  • composer app:dev:test: runs the PHPUnit unit tests
  • composer app:dev:analyse: runs PHPStan at level 11
  • composer app:dev:lint: runs PHP_CodeSniffer
  • composer app:dev:check-quality: runs the PHPUnit unit tests, PHPStan, and then PHP_CodeSniffer

Instructions

Run the following to create the skeleton of your new project.

composer create-project danbettles/php-project-template <dir-to-create>

Important

Replace <dir-to-create> with the actual path of the directory to create

In the new project:

  • In composer.json:
    • Update name
    • If need be, update description
    • Check/update type
    • Update authors
  • Except in phpcs.xml, replace "DanBettles"—match case, match whole word—with your vendor namespace
  • Replace "PhpProjectTemplate"—match case, match whole word—with the namespace of your app
  • Run composer update
  • Update the year and name in LICENSE
  • Rewrite this file
  • Start building from tests/SomethingTest.php and src/Something.php

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: ISC
  • 更新时间: 2021-03-27