创建一个composer包
# 1. 执行composer init root@7608e16a4e0a:/home# composer init Welcome to the Composer config generator This command will guide you through creating your composer.json config. # 2. 填写包名 Package name (<vendor>/<name>) [root/home]: chance/log # 3. 输入描述 Description []: Elegant logging of operations # 4. 输入作者 Author [, n to skip]: chance <[email protected]> # 5. 最低稳定版本 可选值:stable, RC, beta, alpha, dev 一般填dev Minimum Stability []: dev # 6. 输入包类型 Package Type (e.g. library, project, metapackage, composer-plugin) []: library # 7....