Comment module for Anax.
This is a comment module for use with Anax. The module contains provides login/logout and CRUD functionality for users, admins and comments.
composer require almrooth/comment
The comment module uses a MYSQL-database for storage. Make sure you have one installed.
Make sure you have a configuration file for your database. There is a sample to use in
To setup all tables for use with the module execute the code in
Copy the router files to your
rsync -av vendor/almrooth/comment/config/route/* config/route/
Inlcude the routes in your router configuration
config/route.php. There is a sample to use in
Add the required services to DI,
config/di.php. There is a sample to use in
Make sure that all services that are in the sample file are added to your DI.
The comment module ships with its own default views. Copy them to your view directory.
rsync -av vendor/almrooth/comment/view/* view/
This software carries a MIT license.
. ..: Copyright (c) 2017 Tobias Almroth (firstname.lastname@example.org)