| 123456789101112131415161718192021222324 |
- <?php
- declare(strict_types=1);
- return [
- 'id' => 'news',
- 'name' => '新闻模块',
- 'category' => 'content', # 扩展的分类 core:核心扩展,content:内容扩展,shop:商城扩展,other:其他扩展
- 'description' => '提供文章、公告等资讯内容的管理与展示功能,支持多级分类、置顶推荐、评论等特性。',
- 'version' => '1.0.0',
- 'core_version' => '^1.0',
- 'author' => 'runphp', # 作者
- 'email' => 'runphp@qq.com', # 作者的邮箱
- 'website' => 'https://github.com/runphp/sixshop-news', # 扩展的地址,可以是扩展的仓库地址,帮助用户寻找扩展,安装扩展等网络地址
- 'image' => '', # 扩展的图片,用于展示扩展的图标,或者是扩展的截图等图片地址
- 'license' => 'MIT', # 扩展的开源协议
- 'keywords' => ['新闻', '文章', '资讯', '公告'], # 扩展的关键词,用于搜索
- 'dependencies' => [], # 依赖的其他扩展
- 'conflicts' => [], # 与哪些扩展冲突
- 'requires' => [
- 'php' => '>=8.0.0',
- 'extensions' => ['json', 'pdo'],
- ], # 运行环境要求
- 'is_core' => false, # 是否核心扩展
- ];
|