info.php 1.2 KB

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