PHPackages                             syntatis/composer-starter - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. syntatis/composer-starter

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

syntatis/composer-starter
=========================

Opinionated boilerplate to kickstart a Composer package

v0.1.2(8mo ago)19[2 PRs](https://github.com/syntatis/composer-starter/pulls)MITPHPPHP ^7.4 || ^8.0CI passing

Since Jul 30Pushed 2mo agoCompare

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

READMEChangelogDependencies (13)Versions (7)Used By (0)

🔰 composer-starter
==================

[](#-composer-starter)

[![Packagist Dependency Version](https://camo.githubusercontent.com/7557fe60e2575d72bb8af020d1383820314f19ecf957254409e2b67677e8d504/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f73796e74617469732f636f6d706f7365722d737461727465722f7068703f636f6c6f723d373737424233)](https://camo.githubusercontent.com/7557fe60e2575d72bb8af020d1383820314f19ecf957254409e2b67677e8d504/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646570656e64656e63792d762f73796e74617469732f636f6d706f7365722d737461727465722f7068703f636f6c6f723d373737424233)

This repository provides a ready-to-use, opinionated starting point for creating a Composer package. It's designed to help you kickstart development with the essential tools so you can skip the boilerplate and focus on starting to build your package.

Features
--------

[](#features)

- PSR-4 autoloading using Composer
- Pre-configured [PHPUnit](https://phpunit.de/) for testing
- Pre-configured [PHPStan](https://phpstan.org/) for static analysis
- Pre-configured [PHPCS](https://github.com/PHPCSStandards/PHP_CodeSniffer/) for code style checking, and formatting
- Ready-to-use `.editorconfig`, `.gitattributes`, and `.gitignore`
- Composer scripts for common tasks
- Visual Studio Code workspace settings with the extensions recommendation for development
- [Dev Container](https://code.visualstudio.com/docs/devcontainers/containers) configuration for consistent development environment inside a Docker container
- GitHub Actions workflow for running tests and static analysis on pull request
- [Dependabot](https://github.com/dependabot) configuration for automatic dependency updates

Usage
-----

[](#usage)

### Recommended

[](#recommended)

To use this starter template it's recommended to use the Github template feature. You can create a new repository using this template by clicking the **"Use this template"** button on the repository page.

Then, after cloning the new repository, you can run:

```
composer install
```

...to install the dependencies.

### Using Composer

[](#using-composer)

To use this starter template, run:

```
composer create-project syntatis/composer-starter --prefer-source --no-install
```

Replace `` with the desired name for your package. This will create a new directory with the specified name. Then, run the following command to install the dependencies:

```
cd
composer install
```

Note

**Don't forget to update** the `name`, `description`, and `authors` fields in the `composer.json` file to reflect your own package's details.

Commands
--------

[](#commands)

This starter template comes with several Composer scripts to help you with common development tasks such as testing, `linting`, formatting, and static analysis. You can run these commands using `composer ` from the root of your project.

  Command Description    `composer test` Runs the tests using PHPUnit.   `composer lint` Checks code style using PHP\_CodeSniffer (PHPCS).   `composer format` Formats the code using PHPCBF (PHP Code Beautifier and Fixer).   `composer analyze` Runs static analysis using PHPStan.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance74

Regular maintenance activity

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 Bus Factor1

Top contributor holds 92.3% 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 ~22 days

Total

3

Last Release

248d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/d56709cd680efe26767d8ecf987f66d045348965b16b86ab6dbf18e290f24ff4?d=identicon)[tfirdaus](/maintainers/tfirdaus)

---

Top Contributors

[![tfirdaus](https://avatars.githubusercontent.com/u/2067467?v=4)](https://github.com/tfirdaus "tfirdaus (48 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (4 commits)")

---

Tags

boilerplatecomposer-packageskeletonstarterboilerplateSkeletonstarter

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[markocupic/contao-bundle-creator-bundle

This bundle provides a bundle maker for Contao 4.\*. The extension will create a fully working backend- or/and frontend module after you have defined a few parameters in the contao backend.

224.7k](/packages/markocupic-contao-bundle-creator-bundle)[mix/mix-skeleton

Full-featured development skeleton

132.1k](/packages/mix-mix-skeleton)

PHPackages © 2026

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