yll1024335892/black-composer-temp

A composer package builder.

1.0.0 2018-11-29 15:59 UTC

This package is auto-updated.

Last update: 2024-03-29 03:51:07 UTC


README

📦 A composer package builder.

Installation

$ composer global  require yll1024335892/black-composer-temp  --prefer-source

Usage

 $ package-builder help

create a composer package:

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

$ package-builder update

License

MIT