codex / comments
Codex 插件 - 为您的文档添加评论,如 Disqus 或创建自己的适配器
dev-master / 2.1.x-dev
2019-04-27 07:24 UTC
Requires
- codex/core: ~2.0
Suggests
- codex/algolia-search: Integrates algolia search into codex (~2.0)
- codex/auth: Provides authentication using oauth providers (socialite) to restrict project access (~2.0)
- codex/blog: Provides blogging capability with categories containing posts (~2.0)
- codex/filesystems: Adds a collection of common filesystem adapters. These can be used by your projects. (~2.0)
- codex/git: Enables Github/Bitbucket integration & synchronisation (auto-webhook or manual) based on tags/branches. (~2.0)
- codex/packagist: Integrates Packagist information links and macros in your projects (~2.0)
- codex/phpdoc: Integrates PHPDoc documentation, links and macros in your projects (~2.0)
- codex/sitemap: Generates a sitemap.xml (~2.0)
This package is auto-updated.
Last update: 2024-08-26 22:25:08 UTC
README
评论插件
为您的文档添加评论。插件使用适配器为 Codex 提供评论系统。您可以选择使用其中任何一个适配器或使用自定义适配器。
包含以下适配器
- Disqus
安装
composer require codex/comments php artisan codex:addons:enable codex/comments
配置
config/codex-comments.php
[ 'default' => 'disqus', 'connections' => [ 'disqus' => [ 'driver' => 'disqus', 'shortcode' => 'codex-project', ], ], ]
[项目]/config.php [项目]/[修订]/revision.yml [项目]/[修订]/[文档] (作为属性)
[ 'processors' => [ 'enabled' => [ // ... 'comments' => true ], 'comments' => [ 'enabled' => true, 'connection' => 'disqus' ] ] ]
创建自定义适配器
版权/许可
版权 2019 Robin Radic - MIT 许可