PHPackages                             coolert/package-template - 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. coolert/package-template

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

coolert/package-template
========================

A package template

1.0.0(6y ago)07MITPHP

Since Jan 7Pushed 6y ago1 watchersCompare

[ Source](https://github.com/coolert/package-template)[ Packagist](https://packagist.org/packages/coolert/package-template)[ RSS](/packages/coolert-package-template/feed)WikiDiscussions master Synced 6d ago

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

 Package Template
==================

[](#-package-template-)

Automatically generate package templates.

Installation
============

[](#installation)

```
$ composer global require 'coolert/package-template' --prefer-source
```

Usage
=====

[](#usage)

```
 $ package-template help
```

Create a composer package:
--------------------------

[](#create-a-composer-package)

Make sure you have `~/.composer/vendor/bin/` in your path.

```
package-template build [target directory]

```

example:

```
$ package-template build ./

# Please enter the name of the package (example: foo/bar): vendor/product
# Please enter the namespace of the package [Vendor\Product]:
# Do you want to test this package ?[Y/n]:
# Do you want to use php-cs-fixer format your code ? [Y/n]:
# Please enter the standard of php-cs-fixer [symfony] ?
# Package vendor/product created in: ./
```

The follow package will be created:

```
vendor-product
├── .editorconfig
├── .gitattributes
├── .gitignore
├── .php_cs
├── README.md
├── composer.json
├── phpunit.xml.dist
├── src
│   └── .gitkeep
└── tests
    └── .gitkeep

```

Update Package Builder
----------------------

[](#update-package-builder)

```
$ package-template update
```

Contributing
============

[](#contributing)

You can contribute in one of three ways:

1. File bug reports using the [issue tracker](https://github.com/coolert/package-template/issues).
2. Answer questions or fix bugs on the [issue tracker](https://github.com/coolert/package-template/issues).
3. Contribute new features or update the wiki.

*The code contribution process is not very formal. You just need to make sure that you follow the PSR-0, PSR-1, and PSR-2 coding guidelines. Any new code contributions must be accompanied by unit tests where applicable.*

License
=======

[](#license)

MIT

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

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

2323d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/961377f76c2a68fcf7b3e389d6e1c6fa7306c95e0ea5ac695443aad5ddbba5f9?d=identicon)[coolert](/maintainers/coolert)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/coolert-package-template/health.svg)

```
[![Health](https://phpackages.com/badges/coolert-package-template/health.svg)](https://phpackages.com/packages/coolert-package-template)
```

###  Alternatives

[symfony/maker-bundle

Symfony Maker helps you create empty commands, controllers, form classes, tests and more so you can forget about writing boilerplate code.

3.4k111.1M568](/packages/symfony-maker-bundle)[phpro/soap-client

A general purpose SoapClient library

8885.6M46](/packages/phpro-soap-client)[symplify/monorepo-builder

Not only Composer tools to build a Monorepo.

5205.3M82](/packages/symplify-monorepo-builder)[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[ramsey/conventional-commits

A PHP library for creating and validating commit messages according to the Conventional Commits specification. Includes a CaptainHook action!

1931.2M122](/packages/ramsey-conventional-commits)[cognesy/instructor-php

The complete AI toolkit for PHP: unified LLM API, structured outputs, agents, and coding agent control

310107.9k1](/packages/cognesy-instructor-php)

PHPackages © 2026

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