PHPackages                             stolfam/content-manager-php - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. stolfam/content-manager-php

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

stolfam/content-manager-php
===========================

Classes for content management

5.0.2(2y ago)015MITPHPPHP &gt;= 8.2.0

Since May 23Pushed 2y ago1 watchersCompare

[ Source](https://github.com/stolfam/content-manager-php)[ Packagist](https://packagist.org/packages/stolfam/content-manager-php)[ RSS](/packages/stolfam-content-manager-php/feed)WikiDiscussions main Synced yesterday

READMEChangelog (1)Dependencies (4)Versions (2)Used By (0)

ataccama/content-manager-php
============================

[](#ataccamacontent-manager-php)

This is a bundle of helpful PHP classes for creating and managing a multilingual content.

### Modifiers

[](#modifiers)

Modifiers give you option to temporarily change the content before final rendering.

```
final class YourModifier implements IModifier {
    public function modify(Content $content): Content {
        // replace each word 'sample' for 'test'
        $content->body = str_replace('sample', 'test', $content->body);

        return $content
    }
}

```

This will make the modification above on each `Content` in `ContentContainer`.

### Example

[](#example)

Imagine that you have one piece of content like this:

```
$content = new Content(1, 'sample', Language::default(), 'Body of sample content', ['tag1']);

```

Your repository (implements interface `IContentRepository`) has to return `ContentContainer` including your piece of content, when you want it:

```
// instance of IContentRepository
$contentContainer = $contentRepository->listContent( new ContentFilter([
        ContentFilter::TAGS => ['tag1', 'tag2]
    ]) );

// optional: adding an IModifier
$contentContainer->addModifier( new YourModifier() );

// rendering a content named 'sample'
echo $contentContainer->sample;

```

Your output will look like this:

```
Body of sample content

```

When you added a modifier `YourModifier`, then your output looks like this:

```
Body of test content

```

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

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

Unknown

Total

1

Last Release

772d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2a166fb0b766fa1febb53e4dcee9075a1350e7438e623cd7baafbd8e40557fb9?d=identicon)[stolfam](/maintainers/stolfam)

---

Top Contributors

[![stolfam](https://avatars.githubusercontent.com/u/37073073?v=4)](https://github.com/stolfam "stolfam (3 commits)")

### Embed Badge

![Health badge](/badges/stolfam-content-manager-php/health.svg)

```
[![Health](https://phpackages.com/badges/stolfam-content-manager-php/health.svg)](https://phpackages.com/packages/stolfam-content-manager-php)
```

###  Alternatives

[nette/component-model

⚛ Nette Component Model

28817.0M106](/packages/nette-component-model)[symplify/monorepo-builder

Not only Composer tools to build a Monorepo.

5275.9M120](/packages/symplify-monorepo-builder)[nette/code-checker

✅ Nette CodeChecker: A simple tool to check source code against a set of Nette coding standards.

911.7M6](/packages/nette-code-checker)[efabrica/phpstan-latte

4512.2k](/packages/efabrica-phpstan-latte)[shipmonk/input-mapper

Performant array-to-object mapper supporting generics, array shapes, optional fields and much more!

3030.9k](/packages/shipmonk-input-mapper)[duxweb/dux-lite

The lightweight framework based on slim php

161.0k9](/packages/duxweb-dux-lite)

PHPackages © 2026

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