alvo / comment
Anax comment module.
Requires
- php: >=7.0
- anax/configure: ^1.0
- anax/database: ^1.1
- anax/di: ^1.0
- anax/htmlform: ^1.0
- anax/page: ^1.0
- anax/request: ^1.0
- anax/response: ^1.0
- anax/router: ^1.0
- anax/session: ^1.0
- anax/textfilter: ^1.0
- anax/url: ^1.0
- anax/view: ^1.0
- mos/cimage: ^0.7.19
- symfony/yaml: ^3.3
README
Alvo comment module.
About
This package includes all needed parts to build a comment system using Anax.
Observe that there is no style included for exception of bootstrap 4 beta.
Setup
-
add route.php file from vendor directory to your config directory
-
copy route2 folder from vendor to your config directory
-
add services from vendor/alvo/comment/config/di.php to your config/di.php file
-
add templates from view folder in vendor catalog to your view folder
-
add src/functions.php to your src folder
-
add following to the autoloader
"autoload": { "files": [ "src/functions.php" ] }
Database
In order to get things working you need to set up a mysql database. To do that, simply run sql/sqtup.sql file. You also have to copy over config/database.php to your own config folder.
Tests
I have my mock database on rpi up and running. So you can just user make test.
License
This software carries a MIT license.
.
..: Copyright (c) 2017 Alexey V (alevor657@gmail.com)