composer发布包到packagist

  1. 创建github仓库:
    composer发布包到packagist
  2. 初始化composer.json文件:
    composer发布包到packagist
    composer发布包到packagist
  3. 推送代码到github:
    composer发布包到packagist
  4. 发布版本:
    composer发布包到packagist
    composer发布包到packagist
    composer发布包到packagist
    composer发布包到packagist
  5. 发布到packagist:
    composer发布包到packagist
    composer发布包到packagist
    composer发布包到packagist
  6. 设置自动更新:
    composer发布包到packagist
    composer发布包到packagist
    composer发布包到packagist
    composer发布包到packagist
    composer发布包到packagist
    composer发布包到packagist
    composer发布包到packagist
    composer发布包到packagist
    composer发布包到packagist
    composer发布包到packagist
    composer发布包到packagist
    composer发布包到packagist
  7. 测试:
    composer发布包到packagist
    composer发布包到packagist
    composer发布包到packagist
  8. 注意事项:
    a. 保证类名和文件名一致
    b. 文件名一定要大写,否则在linux服务器上会报错

分享文章:composer发布包到packagist
链接URL:http://hbruida.cn/article/goopii.html