yll1024335892 / black-composer-temp
Composer 包构建器。
1.0.0
2018-11-29 15:59 UTC
Requires
- symfony/console: ^3.0|^4.0
- symfony/filesystem: ^3.0|^4.0
- symfony/process: ^3.0|^4.0
Requires (Dev)
- phpunit/phpunit: ^6.0
This package is auto-updated.
Last update: 2024-09-29 05:08:37 UTC
README
📦 Composer 包构建器。
安装
$ composer global require yll1024335892/black-composer-temp --prefer-source
使用
$ package-builder help
创建 composer 包
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: ./
以下包将被创建
vendor-product
├── .editorconfig
├── .gitattributes
├── .gitignore
├── .php_cs
├── README.md
├── composer.json
├── phpunit.xml.dist
├── src
│ └── .gitkeep
└── tests
└── .gitkeep
更新包构建器
$ package-builder update
许可证
MIT