PHPackages                             sofa15/anax-mvc-content - 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. sofa15/anax-mvc-content

ActiveLibrary[Framework](/categories/framework)

sofa15/anax-mvc-content
=======================

Module for handling content in Anax-MVC

v3.x-dev(10y ago)015MITPHPPHP &gt;=5.4

Since Mar 10Pushed 10y ago1 watchersCompare

[ Source](https://github.com/sofiafahle/anax-mvc-content)[ Packagist](https://packagist.org/packages/sofa15/anax-mvc-content)[ Docs](http://dbwebb.se)[ RSS](/packages/sofa15-anax-mvc-content/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (3)Versions (3)Used By (0)

\#Content management for Anax-MVC with unit testing This is a module for Anax-MVC, that adds pages and a blog to your page, along with management tools för CRUD actions.

\##Requirements

- PHP 5.4 or higher
- Anax-MVC
- mos/cdatabase
- mos/cform

\##Install

1. Install using Composer("sofa15/anax-mvc-content": "dev-master") or download files from GitHub. If downloading, remember to also download and install mos/cdatabase and mos/cform.
2. Move/copy the config file corresponding to your database from cdatabase/webroot to your app/config folder. Make sure to edit the config file with your database connection info.
3. To load the services, direct your webroot/config.php or configwithapp.php file to use Anax/DI/CDIFactoryContent as $di or add the services in CDIFactoryContent.php to your own DI-class.
4. Move/copy the viewfiles from app/view to your own app.

\##Usage

**To try the module out using prepared files:**

Move/copy webroot/testcontent.php to your own webroot and open the file in your browser. First do a setup of pages and blog. Then you can view a list of contents in both tables, and try out the CRUD actions.

**To include the pages and blog into your own site:**

When using the module with your own site, feel free to edit viewfiles. Link to pages by using route 'page/view/' followed by the page slug. Link to the blog by using route 'blog' and link to specific posts by using 'blog/view/' followed by the post slug.

Find the filters supported for content in your src/Content/CTextfilter class.

If you wish to edit the pages and blogpost inserted at setup and reset they are located in the setup.php files in src/page/ or blog/ respectively. If you wish to alter what columns are in the tables you will also have to edit the CFormAdd and Update classes for each type of content, also found in src/page and src/blog, to make sure inserts and updates are done correctly when editing content.

\##License

This software is free software and carries a MIT license.

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity45

Maturing project, gaining track record

 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 ~2 days

Total

2

Last Release

3762d ago

Major Versions

v2.x-dev → v3.x-dev2016-03-13

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/15943490?v=4)[Sofia Fahlesson](/maintainers/sofiafahle)[@sofiafahle](https://github.com/sofiafahle)

---

Top Contributors

[![sofiafahle](https://avatars.githubusercontent.com/u/15943490?v=4)](https://github.com/sofiafahle "sofiafahle (23 commits)")

---

Tags

microcontentmvcblogeducation

### Embed Badge

![Health badge](/badges/sofa15-anax-mvc-content/health.svg)

```
[![Health](https://phpackages.com/badges/sofa15-anax-mvc-content/health.svg)](https://phpackages.com/packages/sofa15-anax-mvc-content)
```

PHPackages © 2026

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