PHPackages                             emsa/comment - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. emsa/comment

ActiveLibrary[Framework](/categories/framework)

emsa/comment
============

Comment module for Anax framework.

v3.0.0(8y ago)022MITPHPPHP &gt;=5.6

Since Apr 19Pushed 8y agoCompare

[ Source](https://github.com/emsa16/comment)[ Packagist](https://packagist.org/packages/emsa/comment)[ RSS](/packages/emsa-comment/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (8)Versions (5)Used By (0)

Anax comment
============

[](#anax-comment)

[![Latest Stable Version](https://camo.githubusercontent.com/955e1ef62a9c82c495dd08b08e310ecb321d823e4128682e342355b9b73cd0b8/68747470733a2f2f706f7365722e707567782e6f72672f656d73612f636f6d6d656e742f762f737461626c65)](https://packagist.org/packages/emsa/comment)[![Build Status](https://camo.githubusercontent.com/e9edfd6d3782532fb4b485c9fea2a35625080f0fcdcc3370fab611b61fbcdbad/68747470733a2f2f7472617669732d63692e6f72672f656d736131362f636f6d6d656e742e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/emsa16/comment)[![CircleCI](https://camo.githubusercontent.com/1ff4d094c0e04939265f1a5c0d60c207a7334e0b0f306d769b91da709f0be7a7/68747470733a2f2f636972636c6563692e636f6d2f67682f656d736131362f636f6d6d656e742e7376673f7374796c653d737667)](https://circleci.com/gh/emsa16/comment)

[![Build Status](https://camo.githubusercontent.com/b85d6f1147834757b7e46ce83f5a35ae725dd48d992751af479464f847b54fe2/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f656d736131362f636f6d6d656e742f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/emsa16/comment/build-status/master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/e075575f91d28a9404385580bc7bf409ea519f044c5290a1e948976e4f09dc51/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f656d736131362f636f6d6d656e742f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/emsa16/comment/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/d70b5da912bbf605aa121bb92a9699b63cf00bda68a1d2e50d695ebf98d52ba7/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f656d736131362f636f6d6d656e742f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/emsa16/comment/?branch=master)

[![Maintainability](https://camo.githubusercontent.com/e8fc184792b425702165e3c68356bd39f3683c4935922f82b7b2c240aa3ecb3e/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f32653831366264333062343338666630663437652f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/emsa16/comment/maintainability)[![Issue Count](https://camo.githubusercontent.com/1fd40cd6d4bd56e7899ba80cdd22ce099153efaf79fd37096bed5321a04a4a27/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f656d736131362f636f6d6d656e742f6261646765732f69737375655f636f756e742e737667)](https://codeclimate.com/github/emsa16/comment)[![Test Coverage](https://camo.githubusercontent.com/fd2d104832826dd9c8b04df9aaa573f3fad836cca5e21f692e4d9e60ba6384e2/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f32653831366264333062343338666630663437652f746573745f636f766572616765)](https://codeclimate.com/github/emsa16/comment/test_coverage)

[![SensioLabsInsight](https://camo.githubusercontent.com/e8cd4637f3ac0451208c8087808d55756135482f12477510a48a76a76ad7b56f/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f31663538363537342d323934382d346239662d396664622d6235653632613931386261382f6d696e692e706e67)](https://insight.sensiolabs.com/projects/1f586574-2948-4b9f-9fdb-b5e62a918ba8)

Anax comment module.

Requirements
------------

[](#requirements)

In order to use this module you need an Anax framework environment. Some of the modules required are not publically available, so it is not possible to use a default Anax setup. In order to try out the below steps, you can use the [test branch](https://github.com/emsa16/anax/tree/comment-test) of the author's own Anax repo:

```
git clone https://github.com/emsa16/anax.git -b comment-test
cd anax
composer install

```

For the project to work the database also needs to be setup:

```
mv config/database_default.php config/database.php

```

Then change dsn, username and password within `database.php` to match your environment.

A User table also needs to be added to the database manually, `sql/ddl/user_mysql_default.sql` contains the necessary DDL for that.

Installation
------------

[](#installation)

Install the module with the following command:

```
composer require emsa/comment

```

Setup in Anax environment
-------------------------

[](#setup-in-anax-environment)

Run the following command to automatically setup the module in your Anax installation (assumes a normal Anax project structure):

```
make install-module module=emsa/comment

```

The setup adds example pages and views that can be reached in the browser via the path `/comment`.

Finally, a Comment table needs to be manually added to the database, `sql/ddl/comment_mysql_default.sql` contains the necessary DDL for that.

The comment functionality can now be demoed under `/comment/1` and `/comment/2`.

Usage
-----

[](#usage)

Short examples on how to use the module comment.

License
-------

[](#license)

This software carries a MIT license.

```
 .
..:  Copyright (c) 2018 Emil Sandberg (emil.hietanen@gmail.com)

```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~7 days

Total

4

Last Release

2922d ago

Major Versions

v1.0.0 → v2.0.02018-04-23

v2.0.1 → v3.0.02018-05-10

### Community

Maintainers

![](https://www.gravatar.com/avatar/7496a9488c204db0de686992046ed15c93c70216c1ff7062de7b95e852257d04?d=identicon)[emsa16](/maintainers/emsa16)

---

Top Contributors

[![emsa16](https://avatars.githubusercontent.com/u/26925616?v=4)](https://github.com/emsa16 "emsa16 (29 commits)")

---

Tags

frameworkmicromvcboilerplateeducation

### Embed Badge

![Health badge](/badges/emsa-comment/health.svg)

```
[![Health](https://phpackages.com/badges/emsa-comment/health.svg)](https://phpackages.com/packages/emsa-comment)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
