This package is abandoned and no longer maintained. No replacement package was suggested.

A composer package builder.

Fund package maintenance!

Installs: 3 123

Dependents: 0

Suggesters: 0

Security: 0

Stars: 195

Watchers: 8

Forks: 38

2.0.1 2019-11-26 09:13 UTC


🚨 此项目已经停止维护,建议使用以下两个模板来快捷创建项目:

Package Builder

📦 A composer package builder.

Sponsor me


composer global require 'overtrue/package-builder' --prefer-source


 package-builder help

Create a composer package

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

package-builder build [target directory]


$ 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:

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

Update Package Builder

package-builder update

❤️ Sponsor me

Sponsor me

如果你喜欢我的项目并想支持它,点击这里 ❤️

Project supported by JetBrains

Many thanks to Jetbrains for kindly providing a license for me to work on this and other open-source projects.


You can contribute in one of three ways:

  1. File bug reports using the issue tracker.
  2. Answer questions or fix bugs on the issue tracker.
  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 扩展包实战教程 - 从入门到发布》