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. [Utility &amp; Helpers](/categories/utility)
4. /
5. cpsit/cps-utility

ActiveTypo3-cms-extension[Utility &amp; Helpers](/categories/utility)

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

Collection of utilities to use in TYPO3 Extensions.

3.4.1(4mo ago)1316↓63.3%GPL-2.0-or-laterJavaScript

Since Jun 12Pushed 3w 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 today

READMEChangelog (2)Dependencies (2)Versions (25)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

45

—

FairBetter than 91% of packages

Maintenance87

Actively maintained with recent releases

Popularity16

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

137d 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

[friendsoftypo3/content-blocks

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

103519.9k53](/packages/friendsoftypo3-content-blocks)[typo3/cms-styleguide

TYPO3 extension to showcase TYPO3 Backend capabilities

106760.3k33](/packages/typo3-cms-styleguide)[wazum/sluggi

TYPO3 extension for URL slug management with inline editing, auto-sync, locking, access control, and redirects

40529.5k](/packages/wazum-sluggi)[typo3/cms-install

TYPO3 CMS Install Tool - The Install Tool is used for installation, upgrade, system administration and setup tasks.

1812.3M494](/packages/typo3-cms-install)[typo3/cms-rte-ckeditor

TYPO3 CMS RTE CKEditor - Integration of CKEditor as a Rich Text Editor for the TYPO3 backend.

199.3M235](/packages/typo3-cms-rte-ckeditor)[typo3/cms-scheduler

TYPO3 CMS Scheduler - Schedule tasks to run once or periodically at a specific time.

169.3M231](/packages/typo3-cms-scheduler)

PHPackages © 2026

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