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 2d 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 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

2416d 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

[composer/composer

Composer helps you declare, manage and install dependencies of PHP projects. It ensures you have the right stack everywhere.

29.5k199.6M3.4k](/packages/composer-composer)[friendsofphp/php-cs-fixer

A tool to automatically fix PHP code style

13.5k257.0M28.1k](/packages/friendsofphp-php-cs-fixer)[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

103574.3k70](/packages/friendsoftypo3-content-blocks)[api-platform/openapi

Models to build and serialize an OpenAPI specification.

425.3M110](/packages/api-platform-openapi)[phpactor/phpactor

PHP refactoring and intellisense tool for text editors

1.9k17.9k1](/packages/phpactor-phpactor)[eliashaeussler/typo3-solver

Solver - Extends TYPO3's exception handling with AI generated solutions. Problems can also be solved from command line. Several OpenAI parameters are configurable and prompts and solution providers can be customized as desired.

302.1k](/packages/eliashaeussler-typo3-solver)

PHPackages © 2026

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