2017 © Pedro Peláez
 

library comment

Comment module for Anax.

image

almrooth/comment

Comment module for Anax.

  • Sunday, October 15, 2017
  • by almrooth
  • Repository
  • 0 Watchers
  • 0 Stars
  • 32 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

Anax comment

Latest Stable Version Total Downloads Build Status Build Status Scrutinizer Code Quality Code Coverage, (*1)

This is a comment module for use with Anax. The module contains provides login/logout and CRUD functionality for users, admins and comments., (*2)

Setup

Install with composer

composer require almrooth/comment

Database

The comment module uses a MYSQL-database for storage. Make sure you have one installed., (*3)

Make sure you have a configuration file for your database. There is a sample to use in vendor/almrooth/comment/config/database.php., (*4)

To setup all tables for use with the module execute the code in vendor/almrooth/comment/sql/setup.sql., (*5)

Router files

Copy the router files to your config/route., (*6)

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 vendor/almrooth/comment/config/route.php., (*7)

DI services

Add the required services to DI, config/di.php. There is a sample to use in vendor/almrooth/comment/config/di.php., (*8)

Make sure that all services that are in the sample file are added to your DI., (*9)

Views

The comment module ships with its own default views. Copy them to your view directory., (*10)

rsync -av vendor/almrooth/comment/view/* view/

License

This software carries a MIT license., (*11)

 .  
..:  Copyright (c) 2017 Tobias Almroth (almrooth@gmail.com)

The Versions