drymoeuka282427675 2015-08-30 02:50
浏览 43

在新包Laravel 5.1中安装包

I am currently creating a package that also requires other packages to properly work. I have my package created with no issues. However, I am at the point where I am requiring another package to put inside my current created package. However, I am having issues doing this. I am not sure exactly how to do this. Do I just put the require file inside the composer.json and install it in my package like I currently have? Well I did that and it did install inside my package but I am not able to use it in the same regards as installing it in the root of a Laravel project.

Any advice for installing packages inside of packages would be great!

  • 写回答

1条回答 默认 最新

  • dongmu3187 2017-11-27 07:26
    关注

    go to the directory of custom package upto one step before the src and run following command

    composer require --package name
    
    评论

报告相同问题?

悬赏问题

  • ¥15 微信会员卡接入微信支付商户号收款
  • ¥15 如何获取烟草零售终端数据
  • ¥15 数学建模招标中位数问题
  • ¥15 phython路径名过长报错 不知道什么问题
  • ¥15 深度学习中模型转换该怎么实现
  • ¥15 HLs设计手写数字识别程序编译通不过
  • ¥15 Stata外部命令安装问题求帮助!
  • ¥15 从键盘随机输入A-H中的一串字符串,用七段数码管方法进行绘制。提交代码及运行截图。
  • ¥15 TYPCE母转母,插入认方向
  • ¥15 如何用python向钉钉机器人发送可以放大的图片?