Download the PHP package artsites/comments without Composer
On this page you can find all versions of the php package artsites/comments. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package comments
ArtSites/Comments
Installation
Migration
Publish
Optional publish
If you want to customize views, you can publish views to
/resources/views/vendor/comments
Also, you can publish nova resource to
/app/Nova/Comment.php
for adding new features fieldsWarning Don't forget replace namespace
Config
Path
/config/comments.php
show_more_count
- comments count when click show more button
ENV
This package use Google reCAPTCHA V3
For creating keys go to: https://www.google.com/recaptcha/admin/create
Please add generated keys to your env:
Usage
In
model
that should have comments add traitAdd a
$comments
variable to thecontroller
that returns the viewFor adding template on view, you need add:
And the final touch, add
HasMany
relation to Novaresource