๐ฆ A composer package builder.
$ composer global require 'overtrue/package-builder' --prefer-source
$ package-builder help
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
$ package-builder update
You can contribute in one of three ways:
- File bug reports using the issue tracker.
- Answer questions or fix bugs on the issue tracker.
- 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 ๆฉๅฑๅ ๅฎๆๆ็จ - ไปๅ ฅ้จๅฐๅๅธใ
MIT