dongmingxiang0312 2014-08-30 12:02
浏览 33
已采纳

使用composer同时开发两个应用程序

I am wondering if there is a best practice for developing two (or more) application at the same time and using composer as a dependency manager.

The thing is that I have an application as a "core" (app "A") library and another app (app "B") that requires the first one. Then I make some changes at the app "A" and want to update app "B". As these apps are in different folders and each one has it's own repo I have to commit changes, push them and then run composer update in app "B".

Pretty much extra typing, I think. So, may be there are some tried-and-true solutions to deal with this inconvenient.

  • 写回答

1条回答 默认 最新

  • drbouzlxb92333332 2014-08-31 12:43
    关注

    I think that I find out how to do it.

    Have not noticed that composer places a .git directory under a vendor name. So I do not have to keep my "core" project separate from main application. I can edit it, commit and push to its repo and have both applications up to date.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 乌班图ip地址配置及远程SSH
  • ¥15 怎么让点阵屏显示静态爱心,用keiluVision5写出让点阵屏显示静态爱心的代码,越快越好
  • ¥15 PSPICE制作一个加法器
  • ¥15 javaweb项目无法正常跳转
  • ¥15 VMBox虚拟机无法访问
  • ¥15 skd显示找不到头文件
  • ¥15 机器视觉中图片中长度与真实长度的关系
  • ¥15 fastreport table 怎么只让每页的最下面和最顶部有横线
  • ¥15 java 的protected权限 ,问题在注释里
  • ¥15 这个是哪里有问题啊?