PHPackages                             cpsit/cps-utility - 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. cpsit/cps-utility

ActiveTypo3-cms-extension

cpsit/cps-utility
=================

Collection of utilities to use in TYPO3 Extensions.

3.4.1(3mo ago)1242↓50%GPL-2.0-or-laterJavaScript

Since Jun 12Pushed 3mo ago10 watchersCompare

[ Source](https://github.com/CPS-IT/cps-utility)[ Packagist](https://packagist.org/packages/cpsit/cps-utility)[ Docs](https://github.com/CPS-IT/cps-utility)[ RSS](/packages/cpsit-cps-utility/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (2)Versions (24)Used By (0)

CPS Utility
===========

[](#cps-utility)

Collection of utilities to use in TYPO3 Extensions.

Utilities
---------

[](#utilities)

### Page Utility

[](#page-utility)

### expandPagesWithSubPages

[](#expandpageswithsubpages)

@depreprecated since 3.0, use `\TYPO3\CMS\Core\Domain\Repository\PageRepository::getPageIdsRecursive` instead.

Retrieves subpages of given page(s) recursively until depth ist reached.

Usage: `$pageUtility->expandPagesWithSubPages([...], 0)`

### resolveStoragePages

[](#resolvestoragepages)

Resolve a list of given page(s) recursively until depth ist reached.

Usage: `$pageUtility->resolveStoragePages('1,2,3', 0)`

### TypoScript Utility

[](#typoscript-utility)

Useful function to parse TypoScript configuration array.

Data Processors
---------------

[](#data-processors)

Extends the FlexFormProcessor to be able to get values by path.

Usage:

```
10 = FlexForm
10 {
     fieldName = pi_flexform
     as = flexFormData
     valuePath = data|sDEF
     valuePathDelimiter = |
}

```

View helpers
------------

[](#view-helpers)

### Explode view helper

[](#explode-view-helper)

Explode view helper Split a string by a string. Wrapper for PHPs :php:`explode` function. See

Usage:

```
text,text,text

```

Inline notation: `{text_to_split -> f:iterator.explode()}` without `as` parameter returns an array.

### Title Tag ViewHelper

[](#title-tag-viewhelper)

ViewHelper to render the page title tag Example: Basic Example

```
{item.title}

```

### Meta Tag ViewHelper

[](#meta-tag-viewhelper)

ViewHelper to render meta tags

Example: Basic Example: News title as og:title meta tag

```

```

Example: Force the attribute "name"

```
`

```

### Header Data ViewHelper

[](#header-data-viewhelper)

ViewHelper to render data in section of website

Example: Basic example

```

```

Output

```

```

TCA
---

[](#tca)

### Input tags element.

[](#input-tags-element)

Custom form element to display comma-separated values as tags. Based on \[bootstrap-tagsinput\] () package

Usage in TCA:

```
'field' => [
    'config' => [
         'type' => 'input',
         'renderType' => 'inputTags',
         'max' => 255,
         'eval' => 'trim'
     ]
 ],

```

CKEditor Plugins
----------------

[](#ckeditor-plugins)

### CkContent Plugin

[](#ckcontent-plugin)

CKEditor 5 plugin that adds custom CSS classes to the editor content area for TYPO3 multi-site theming.

[Documentation](Documentation/CkContentClass.md)

Traits
------

[](#traits)

### Trait to add cache tags to pages

[](#trait-to-add-cache-tags-to-pages)

Trait to add cache tags to pages in FE context

Usage:

- Add trait to your class `use Cpsit\CpsUtility\Traits\FeCacheTagsTrait;`.
- Call method `$this->addCacheTags(['tag1','tag2')` were needed.

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance82

Actively maintained with recent releases

Popularity15

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 82.1% 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 ~48 days

Recently: every ~16 days

Total

21

Last Release

91d ago

Major Versions

1.2.0 → 2.0.02023-10-26

2.1.0 → 3.0.02025-05-09

### Community

Maintainers

![](https://www.gravatar.com/avatar/a664c83f7a6760600d2a325f751b2a206f686b3dcb2f1dce5655ead343dc5a24?d=identicon)[cps](/maintainers/cps)

---

Top Contributors

[![dwenzel](https://avatars.githubusercontent.com/u/712458?v=4)](https://github.com/dwenzel "dwenzel (23 commits)")[![brannow](https://avatars.githubusercontent.com/u/19426486?v=4)](https://github.com/brannow "brannow (5 commits)")

### Embed Badge

![Health badge](/badges/cpsit-cps-utility/health.svg)

```
[![Health](https://phpackages.com/badges/cpsit-cps-utility/health.svg)](https://phpackages.com/packages/cpsit-cps-utility)
```

###  Alternatives

[fluidtypo3/vhs

This is a collection of ViewHelpers for performing rendering tasks that are not natively provided by TYPO3's Fluid templating engine.

1954.1M49](/packages/fluidtypo3-vhs)[in2code/powermail

Powermail is a well-known, editor-friendly, powerful and easy to use mailform extension for TYPO3 with a lots of features

982.5M38](/packages/in2code-powermail)[typo3/testing-framework

The TYPO3 testing framework provides base classes for unit, functional and acceptance testing.

675.0M775](/packages/typo3-testing-framework)[fluidtypo3/flux

The flux package from FluidTYPO3

152982.2k20](/packages/fluidtypo3-flux)[netresearch/rte-ckeditor-image

Image support in CKEditor for the TYPO3 ecosystem - by Netresearch

63991.3k4](/packages/netresearch-rte-ckeditor-image)[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

96374.6k23](/packages/friendsoftypo3-content-blocks)

PHPackages © 2026

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