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 Stata 面板数据模型选择
  • ¥20 idea运行测试代码报错问题
  • ¥15 网络监控:网络故障告警通知
  • ¥15 django项目运行报编码错误
  • ¥15 请问这个是什么意思?
  • ¥15 STM32驱动继电器
  • ¥15 Windows server update services
  • ¥15 关于#c语言#的问题:我现在在做一个墨水屏设计,2.9英寸的小屏怎么换4.2英寸大屏
  • ¥15 模糊pid与pid仿真结果几乎一样
  • ¥15 java的GUI的运用