PHPackages                             siktec/composer-starter-pack - 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. siktec/composer-starter-pack

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

siktec/composer-starter-pack
============================

This is a starter pack for a composer package with (phpunit, phpcs, actions ....)

v1.2(2y ago)06MITPHPPHP &gt;=8.1

Since Jan 7Pushed 2y ago2 watchersCompare

[ Source](https://github.com/siktec-lab/composer-starter-pack)[ Packagist](https://packagist.org/packages/siktec/composer-starter-pack)[ RSS](/packages/siktec-composer-starter-pack/feed)WikiDiscussions main Synced 1mo ago

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

Composer Starter Pack
=====================

[](#composer-starter-pack)

[![Build Status](https://github.com/siktec-lab/composer-starter-pack/actions/workflows/validate_test.yml/badge.svg?branch=main)](https://github.com/siktec-lab/composer-starter-pack/actions/workflows/validate_test.yml)

This is a starter pack for a composer package. It includes a composer.json file with some basic settings and a README.md file with some basic information about the package. The boilerplate also includes phpunit and PHP\_CodeSniffer for testing and code quality.

Included:
---------

[](#included)

- [PHPUnit](https://github.com/sebastianbergmann/phpunit/)
- [PHP\_CodeSniffer](https://github.com/PHPCSStandards/PHP_CodeSniffer)
- [Additional PHPCS rules from 'slevomat'](https://github.com/slevomat/coding-standard)

More information:
-----------------

[](#more-information)

- [composer.json](https://getcomposer.org/doc/04-schema.md) Is set to PSR-4 and autoloads the src folder
- [Github Actions](https://docs.github.com/en/actions) Is set to run phpunit and phpcs
- [Gitingore](https://git-scm.com/docs/gitignore) for composer and vscode
- [License](https://choosealicense.com/licenses/) Is set to MIT

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

[](#installation)

- Using composer create-project:

```
composer create-project siktec/composer-starter-pack
# Edit composer.json and README.md to fit your needs
composer install
# Run tests
composer test
# Good to start coding
```

- Using git:

```
git clone https://github.com/siktec-lab/composer-starter-pack
```

- Using Github template: `Click on 'Use this template' and follow the instructions`

Composer Scripts
----------------

[](#composer-scripts)

- `composer test` Runs phpunit tests from the tests folder with the phpunit.xml config file
- `composer test-coverage` Runs phpunit tests from the tests folder with the phpunit.xml config file and generates a coverage report in the coverage folder
- `composer testdox` Same as `composer test` but with a more readable output and colors
- `composer phpcs` Runs phpcs with the config phpcs.xml
- `composer phpcs-colors` Same as `composer phpcs` but with colors
- `composer phpcs-fix` Runs phpcbf to fix code style
- `composer phpcs-report` Runs phpcs and saves the result in phpcs.result

```
$ composer run-script --list
scripts:
  php-version   Show php version
  test          Run phpunit tests configuration phpunit.xml
  test-coverage Run phpunit tests with coverage
  testdox       Run phpunit tests with testdox and colors
  phpcs         Run phpcs against /src
  phpcs-colors  Run phpcs with colors
  phpcs-fix     Run phpcbf against /src to check for fixes
  phpcs-report  Run phpcs and save result to phpcs.result
```

Cheat Sheet
-----------

[](#cheat-sheet)

- Installing / Updating / Removing packages:

```
    # Install all packages - composer install
    composer install

    # Install a package - composer require
    composer require siktec/composer-starter-pack

    # Update a package - composer update
    composer update siktec/composer-starter-pack
    composer update # Update all packages

    # Remove a package - composer remove
    composer remove siktec/composer-starter-pack
```

- List / Checking whats installed:

```
    # List all installed packages - composer show
    composer show
    composer show | grep package-name # Search for a package

    # List all installed packages with details - composer show -a
    composer show -a

    # Get details about a package - composer show
    composer show siktec/composer-starter-pack
```

- Running scripts:

```
    # List all scripts with descriptions:
    composer run-script --list

    # Run a script - composer run-script  or composer
    composer run-script test
    composer test

    # Run a script with arguments - composer  --
    # the -- is needed to pass arguments to the script as composer will try to parse the arguments as composer options
    composer test -- --filter testFunctionName
```

- Run a composer script: `composer run-script ` or `composer `
- Run a composer script with arguments: `composer  -- `
- Run a composer script with arguments and options: `composer  --  --`

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity51

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

Every ~0 days

Total

2

Last Release

859d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/67e40f0eb9b83245cdbd5d81c2554cf10e9a5e6e43544676d71a93a1cdd6b6a2?d=identicon)[siktec-lab](/maintainers/siktec-lab)

---

Top Contributors

[![siktec-lab](https://avatars.githubusercontent.com/u/83234225?v=4)](https://github.com/siktec-lab "siktec-lab (12 commits)")

---

Tags

composerphpcsphpunitpackagestarteractions

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/siktec-composer-starter-pack/health.svg)

```
[![Health](https://phpackages.com/badges/siktec-composer-starter-pack/health.svg)](https://phpackages.com/packages/siktec-composer-starter-pack)
```

###  Alternatives

[codedungeon/phpunit-result-printer

PHPUnit Pretty Result Printer

1.2k8.8M397](/packages/codedungeon-phpunit-result-printer)[dealerdirect/phpcodesniffer-composer-installer

PHP\_CodeSniffer Standards Composer Installer Plugin

596161.9M1.9k](/packages/dealerdirect-phpcodesniffer-composer-installer)[jbzoo/ci-report-converter

The tool converts different error reporting standards for deep integration with popular CI systems (TeamCity, IntelliJ IDEA, GitHub Actions, etc)

30784.4k2](/packages/jbzoo-ci-report-converter)[sci3ma/symfony-grumphp

Configured GrumPHP with bunch of tools for static code analysis Symfony Framework

196.7k](/packages/sci3ma-symfony-grumphp)

PHPackages © 2026

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