PHPackages                             mitirrli/package-builder - 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. mitirrli/package-builder

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

mitirrli/package-builder
========================

A composer package builder.

2.0.1(6y ago)05MITPHP

Since Aug 20Pushed 4y agoCompare

[ Source](https://github.com/Mitirrli/package-builder)[ Packagist](https://packagist.org/packages/mitirrli/package-builder)[ RSS](/packages/mitirrli-package-builder/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (4)Versions (19)Used By (0)

 Package Builder
=================

[](#-package-builder-)

 📦 A composer package builder.

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

[](#installation)

```
$ composer global require 'mitirrli/package-builder' --prefer-source
```

Usage
=====

[](#usage)

```
 $ package-builder help
```

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

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

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

```
package-builder build [target directory]

```

example:

```
$ package-builder 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-builder update
```

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

[](#contributing)

You can contribute in one of three ways:

1. File bug reports using the [issue tracker](https://github.com/mitirrli/package-builder/issues).
2. Answer questions or fix bugs on the [issue tracker](https://github.com/mitirrli/package-builder/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.*

PHP 扩展包开发
---------

[](#php-扩展包开发)

> 想知道如何从零开始构建 PHP 扩展包？
>
> 请关注我的实战课程，我会在此课程中分享一些扩展开发经验 —— [《PHP 扩展包实战教程 - 从入门到发布》](https://learnku.com/courses/creating-package)

License
=======

[](#license)

MIT

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 75.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 ~91 days

Recently: every ~114 days

Total

18

Last Release

2365d ago

Major Versions

0.0.5 → 1.0.02018-08-15

1.0.4 → 2.0.02019-11-22

### Community

Maintainers

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

---

Top Contributors

[![overtrue](https://avatars.githubusercontent.com/u/1472352?v=4)](https://github.com/overtrue "overtrue (70 commits)")[![rovast](https://avatars.githubusercontent.com/u/9459488?v=4)](https://github.com/rovast "rovast (11 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (5 commits)")[![her-cat](https://avatars.githubusercontent.com/u/18332628?v=4)](https://github.com/her-cat "her-cat (3 commits)")[![summerblue](https://avatars.githubusercontent.com/u/324764?v=4)](https://github.com/summerblue "summerblue (1 commits)")[![dependabot-support](https://avatars.githubusercontent.com/u/112581971?v=4)](https://github.com/dependabot-support "dependabot-support (1 commits)")[![Mitirrli](https://avatars.githubusercontent.com/u/50682346?v=4)](https://github.com/Mitirrli "Mitirrli (1 commits)")[![onerinas](https://avatars.githubusercontent.com/u/5433320?v=4)](https://github.com/onerinas "onerinas (1 commits)")

---

Tags

phpcomposerpackagepackage-builder

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mitirrli-package-builder/health.svg)

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

###  Alternatives

[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)[netojose/laravel-bootstrap-4-forms

Bootstrap 4 form builder for Laravel 5

182115.3k](/packages/netojose-laravel-bootstrap-4-forms)[jbzoo/composer-diff

See what has changed after a composer update.

53888.9k1](/packages/jbzoo-composer-diff)[shyim/danger-php

Port of danger to PHP

8544.9k](/packages/shyim-danger-php)

PHPackages © 2026

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