PHPackages                             pingjiang/php-quickstart - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Testing &amp; Quality](/categories/testing)
4. /
5. pingjiang/php-quickstart

ActiveLibrary[Testing &amp; Quality](/categories/testing)

pingjiang/php-quickstart
========================

PHP quickstart project using composer manage dependencies and tests.

1.0.0(11y ago)123MITPHPPHP &gt;=5.3.3

Since Jul 12Pushed 11y ago1 watchersCompare

[ Source](https://github.com/pingjiang/php-quickstart)[ Packagist](https://packagist.org/packages/pingjiang/php-quickstart)[ Docs](https://github.com/pingjiang/php-quickstart)[ RSS](/packages/pingjiang-php-quickstart/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

PHP简单项目Quickstart模板
===================

[](#php简单项目quickstart模板)

使用Composer作为依赖管理的工具，增加了PHPUnit单元测试。适合初学者学习和开发PHP库。

基于这个模板创建一个新项目
-------------

[](#基于这个模板创建一个新项目)

```
composer create-project pingjiang/php-quickstart

```

执行单元测试
------

[](#执行单元测试)

这里默认采用测试驱动开发，每个函数和功能都是通过编写单元测试用例来测试的。

可以把所有需要用到echo和print的位置整理为单元测试用例。

编写完成之后可以使用如下命令执行单元测试：

```
phpunit

```

---

PHP quickstart
==============

[](#php-quickstart)

PHP quickstart project using composer manage dependencies and tests.

Bootstrap the initial application
---------------------------------

[](#bootstrap-the-initial-application)

```
composer create-project pingjiang/php-quickstart

```

Run test cases
--------------

[](#run-test-cases)

```
phpunit

```

Dependencies
============

[](#dependencies)

- [PHP](http://php.net)
- [Composer](https://getcomposer.org)
- [PHPUnit](http://phpunit.de)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

4328d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/961856?v=4)[pragmatic\_jiang](/maintainers/pingjiang)[@pingjiang](https://github.com/pingjiang)

---

Top Contributors

[![pingjiang](https://avatars.githubusercontent.com/u/961856?v=4)](https://github.com/pingjiang "pingjiang (4 commits)")

---

Tags

phpcomposerphpunitquickstart

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/pingjiang-php-quickstart/health.svg)

```
[![Health](https://phpackages.com/badges/pingjiang-php-quickstart/health.svg)](https://phpackages.com/packages/pingjiang-php-quickstart)
```

###  Alternatives

[codedungeon/phpunit-result-printer

PHPUnit Pretty Result Printer

1.2k8.8M397](/packages/codedungeon-phpunit-result-printer)[nunomaduro/mock-final-classes

Allows mocking of final methods and classes in PHP.

113854.3k23](/packages/nunomaduro-mock-final-classes)[hot/phpunit-runner

The lib allows to watch phpunit tests

3066.9k4](/packages/hot-phpunit-runner)[robiningelbrecht/phpunit-coverage-tools

PHPUnit coverage tools

1783.0k34](/packages/robiningelbrecht-phpunit-coverage-tools)[phrozenbyte/phpunit-array-asserts

Provides various array-related PHPUnit assertions, primarily used for API testing.

1055.0k1](/packages/phrozenbyte-phpunit-array-asserts)[cable8mm/water-melon

Water Melon is simple melon.com api sdk for php

182.7k](/packages/cable8mm-water-melon)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
