codex / comments
Codex Addon - Adds comments to your documents like Disqus or create your own adapter
Installs: 33
Dependents: 0
Suggesters: 9
Security: 0
Stars: 0
Watchers: 1
Forks: 3
Type:codex-addon
pkg:composer/codex/comments
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: 2025-10-27 01:07:33 UTC
README
| title | subtitle |
|---|---|
| Comments | Addons |
Comments Addon
Adds comments to your documents. The addon uses adapters to provide Codex with a comment system. You can either use one of the included adapters or use a custom adapter.
Includes the following adapters:
- Disqus
Installation
composer require codex/comments php artisan codex:addons:enable codex/comments
Configuration
config/codex-comments.php
[
'default' => 'disqus',
'connections' => [
'disqus' => [
'driver' => 'disqus',
'shortcode' => 'codex-project',
],
],
]
[project]/config.php [project]/[revision]/revision.yml [project]/[revision]/[document] (as attributes)
[
'processors' => [
'enabled' => [
// ...
'comments' => true
],
'comments' => [
'enabled' => true,
'connection' => 'disqus'
]
]
]
Creating a custom adapter
Copyright/License
Copyright 2019 Robin Radic - MIT Licensed