Download the PHP package pubvana/comments without Composer
On this page you can find all versions of the php package pubvana/comments. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download pubvana/comments
More information about pubvana/comments
Files in pubvana/comments
Package comments
Short Description Nested, moderated comments for Pubvana with captcha support
License MIT
Informations about the package comments
pubvana/comments
I noticed folks downloading some of these packages. I'm super grateful, Thank You! I would like to let folks know until this notice disappears I'm doing a lot of breaking changes without worrying about them. Once versions are up around 0.5.x things should settle down.
Nested, moderated comments for Pubvana with hCaptcha and reCAPTCHA support.
Features
- Polymorphic comments on posts and pages
- Nested/threaded replies (configurable max depth, default 3)
- Guest comments (admin-configurable)
- Moderation workflow: auto-approve or pending queue (admin-configurable)
- Captcha support: hCaptcha, reCAPTCHA v2, or none
- HTMLPurifier sanitization on comment body
- Comment service:
$app->comments()
Configuration
In app/config/config.php:
This package uses Flight School's return-array config format. src/Config/Config.php returns the package defaults as an array, Flight School stores that array under pubvana.comments on $app, and the current public route prefix is defined there with 'routePrepend' => 'comments'.
Service API
Admin
Moderation panel at /admin/comments with status filters, approve/reject/delete actions, and comment detail view.
Permissions
comments.moderate- Approve, reject, and delete comments
Requirements
- PHP ^8.1
- enlivenapp/flight-school ^0.2
- enlivenapp/flight-settings
- enlivenapp/flight-shield
- enlivenapp/migrations
- ezyang/htmlpurifier
- flightphp/active-record ^0.7
License
MIT
All versions of comments with dependencies
enlivenapp/flight-school Version ^0.3
enlivenapp/flight-settings Version ^0.2
enlivenapp/flight-shield Version ^0.2
enlivenapp/migrations Version ^0.2
ezyang/htmlpurifier Version ^4.19
flightphp/active-record Version ^0.7