1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
{
"name"
:
"laravelacademy/urlscanner"
,
"description"
:
"Scan URLs FROM A CSV FILE AND REPORT INACCESSIBLE URLs"
,
"keywords"
: [
"url"
,
"scanner"
,
"csv"
],
"homepage"
:
"http://laravelacademy.org"
,
"license"
:
"MIT"
,
"authors"
: [
{
"name"
:
"sunqiang"
,
"email"
:
"yaojinbu@163.com"
}
],
"support"
: {
"email"
:
"yaojinbu@163.com"
},
"minimum-stability"
:
"dev"
,
"require"
: {
"php"
:
">=5.4.0"
,
"guzzlehttp/guzzle"
:
"~5.0"
},
"require-dev"
: {
"phpunit/phpunit"
:
"~4.3"
},
"suggest"
: {
"league/csv"
:
"~6.0"
},
"autoload"
: {
"psr-4"
: {
"LaravelAcademy\\UrlScanner\\"
:
"src/"
}
}
}
|
-
name:组件的厂商名和包名,也是Packagist中的组件名
-
description:简要说明组件
-
keywords:描述属性的关键字
-
homepage:组件网站URL
-
license:PHP组件采用的软件许可证(更多软件许可证参考:http://choosealicense.com/)
-
authors:作者信息数组
-
support:组件用户获取技术支持的方式
-
require:组件自身依赖的组件
-
require-dev:开发这个组件所需的依赖
-
suggest:建议安装的组件
-
autoload:告诉Composer自动加载器如何自动加载这个组件
-
本文转自 hgditren 51CTO博客,原文链接:http://blog.51cto.com/phpme/1977576,如需转载请自行联系原作者