PHPackages                             greeflas/default-project - 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. greeflas/default-project

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

greeflas/default-project
========================

This is a default structure for PHP projects.

v1.7.0(5y ago)241865[1 issues](https://github.com/greeflas/default-project/issues)[3 PRs](https://github.com/greeflas/default-project/pulls)BSD-3-ClausePHPPHP &gt;=7.4CI failing

Since Sep 17Pushed 4y ago4 watchersCompare

[ Source](https://github.com/greeflas/default-project)[ Packagist](https://packagist.org/packages/greeflas/default-project)[ RSS](/packages/greeflas-default-project/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (9)Dependencies (2)Versions (13)Used By (0)

Default Project
===============

[](#default-project)

This is a default structure for PHP projects. With this template you can speed up the process of creating of new: open-source, proprietary, test, demo and etc. projects!

This template has basic configuration for [PHPUnit](https://github.com/sebastianbergmann/phpunit) and [PHP-CS-Fixer](https://github.com/friendsofphp/php-cs-fixer) libraries, configured `composer.json`with PSR-4 namespaces for source code and tests, `.gitignore` with basic files and directories to exclude them from Git, changelog file and README with cool badges :)

[![Packagist](https://camo.githubusercontent.com/1ffcdb0919aa8ad9ee65cb0e39f39f103f3941c1e37a77fc99799110ef918f4d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f67726565666c61732f64656661756c742d70726f6a6563742e737667)](CHANGELOG.md)[![Packagist](https://camo.githubusercontent.com/69bd2ddc3db21e52d988f28ff10be718869e3aa8a028b9fb5f3e2a76f7743e69/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f67726565666c61732f64656661756c742d70726f6a6563742e737667)](https://packagist.org/packages/greeflas/default-project)[![Custom badge](https://camo.githubusercontent.com/02307200ec2aaf03e0d939ffd2a54787a063a8a0fcfd8b4d8b445f423145e0bd/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f67726565666c61732d64656661756c742d2d70726f6a6563742d7265642e737667)](https://camo.githubusercontent.com/02307200ec2aaf03e0d939ffd2a54787a063a8a0fcfd8b4d8b445f423145e0bd/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f67726565666c61732d64656661756c742d2d70726f6a6563742d7265642e737667)

Installation
------------

[](#installation)

For creating new project based on this template just execute the following command

```
$ composer create-project greeflas/default-project project-name
```

> NOTE: You can add `--no-dev` right after `create-project` flag if you don't want to install dev dependencies to your project

Usage
-----

[](#usage)

Main changes that you need to do:

1. Update `name`, `description`, `keywords`, `authors` section of the `composer.json` file, [lines 2-4](composer.json#L2-L4), [9-10](composer.json#L9-L10).
2. Update header template in `.php_cs.dist` file, [lines 4-9](.php_cs.dist#L4-L9).
3. Update copyright in `LICENSE` file, [line 3](LICENSE#L3).

Other changes that you may do:

1. Change namespace for source code in `composer.json`, [line 23](composer.json#L23) and for tests [line 28](composer.json#L28).
2. Change PHP version in `composer.json` [line 16](composer.json#L15).
3. Change rules for code style in `.php_cs.dist` file.
4. Add some new files and directories to `.gitignore` file to exclude them from Git.
5. Update readme according to your project
6. Update changelog according to your project

Code style fixer
----------------

[](#code-style-fixer)

To check the code style just run the following command

```
$ composer cs-check
```

to fix the code style run next command

```
$ composer cs-fix
```

Tests
-----

[](#tests)

You can run tests with composer command

```
$ composer tests
```

License
-------

[](#license)

[![license](https://camo.githubusercontent.com/e39f59f18c324eedeb898bc6f9efabb974f3b63acfcfb70e847532d901fe7329/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f67726565666c61732f64656661756c742d70726f6a6563742e737667)](LICENSE)

This project is released under the terms of the BSD-3-Clause [license](LICENSE).

Copyright (c) 2018 - 2020, Volodymyr Kupriienko

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 50% 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

Every ~87 days

Recently: every ~140 days

Total

9

Last Release

2098d ago

PHP version history (4 changes)v1.0.0PHP &gt;=7.1

v1.2.0PHP &gt;=7.2

v1.3.0PHP &gt;=7.3

v1.7.0PHP &gt;=7.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/9c7243572d974ba9ce049b0a67fd95cf547fd62ea531784d2dfbcc1fbee16806?d=identicon)[greeflas](/maintainers/greeflas)

---

Top Contributors

[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (22 commits)")[![greeflas](https://avatars.githubusercontent.com/u/17636915?v=4)](https://github.com/greeflas "greeflas (22 commits)")

---

Tags

default-projectphpproject-templateskeletonskeleton-applicationphpunittemplatestructureSkeletonproject

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/greeflas-default-project/health.svg)

```
[![Health](https://phpackages.com/badges/greeflas-default-project/health.svg)](https://phpackages.com/packages/greeflas-default-project)
```

###  Alternatives

[phpunit/phpunit

The PHP Unit Testing framework.

20.0k910.7M134.8k](/packages/phpunit-phpunit)[phpunit/php-text-template

Simple template engine.

7.4k868.0M73](/packages/phpunit-php-text-template)[brianium/paratest

Parallel testing for PHP

2.5k118.8M754](/packages/brianium-paratest)[johnkary/phpunit-speedtrap

Find and report on slow tests in your PHPUnit test suite

78137.2M122](/packages/johnkary-phpunit-speedtrap)[spatie/phpunit-snapshot-assertions

Snapshot testing with PHPUnit

69417.9M510](/packages/spatie-phpunit-snapshot-assertions)[dg/bypass-finals

Removes final keyword from source code on-the-fly and allows mocking of final methods and classes

56426.3M456](/packages/dg-bypass-finals)

PHPackages © 2026

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