php composer过多,composer-php – 添加多个Composer包

我正在使用Composer使用以下语法安装多个包:

{

"require": {

"aws/aws-sdk-php": "2.*",

"vimeo/vimeo-api" : "1.1.*",

"phpoffice/phpexcel": "dev-master"

}

}

上面的工作正常,但现在我想通过composer添加tcpdf.我发现这个代码是here,但我不确定如何与我当前的需求集成.我试过的一件事就是将其添加到最后,但我担心它会开始删除我当前的包.

{ "name": "tecnick.com/tcpdf",

"version": "6.2.11",

"homepage": "http://www.tcpdf.org/",

"type": "library",

"description": "TCPDF is a PHP class for generating PDF documents and barcodes.",

"keywords": ["PDF","tcpdf","PDFD32000-2008","qrcode","datamatrix","pdf417","barcodes"],

"license": "LGPLv3",

"authors": [

{

"name": "Nicola Asuni",

"email": "info@tecnick.com",

"homepage": "http://nicolaasuni.tecnick.com"

}

],

"require": {

"php": ">=5.3.0"

},

"autoload": {

"classmap": [

"fonts",

"config",

"include",

"tcpdf.php",

"tcpdf_parser.php",

"tcpdf_import.php",

"tcpdf_barcodes_1d.php",

"tcpdf_barcodes_2d.php",

"include/tcpdf_colors.php",

"include/tcpdf_filters.php",

"include/tcpdf_font_data.php",

"include/tcpdf_fonts.php",

"include/tcpdf_images.php",

"include/tcpdf_static.php",

"include/barcodes/datamatrix.php",

"include/barcodes/pdf417.php",

"include/barcodes/qrcode.php"

]

}

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值