networkteam / neos-util
networkteam utils for neos
Package info
github.com/networkteam/Networkteam.Neos.Util
Type:neos-package
pkg:composer/networkteam/neos-util
Requires
- neos/flow: *
- neos/media: *
- neos/neos: ^9.0
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
- dev-master
- 9.0.0
- 8.1.0
- 8.0.5
- 8.0.4
- 8.0.3
- 8.0.2
- 8.0.1
- 8.0.0
- 7.0.0
- 5.0.0
- 4.6.0
- 4.5.0
- 4.4.0
- 4.3.0
- 4.2.1
- 4.2.0
- 4.1.0
- 4.0.0
- 2.x-dev
- 2.3.0
- 2.2.0
- 2.1.0
- 2.0.6
- 2.0.5
- 2.0.4
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
- 1.x-dev
- 1.2.1
- 1.2.0
- 1.1.0
- 1.0.0
- dev-add-quality-tools
- dev-docs-update-readme
- dev-chore-neos-9
- dev-feat-add-array-helper
- dev-feature-uri-prototype
- dev-feature-entityTypeTag-caching-helper
- dev-fix-unit-tests
This package is auto-updated.
Last update: 2026-09-21 12:19:40 UTC
README
Development
devbox shell startet eine Shell mit PHP und Composer. composer phpstan und composer phpcs prüfen den Code statisch bzw. auf Codingstandards und sollten vor jedem Commit erfolgreich durchlaufen.
devbox shell
composer phpstan
composer phpcs
Versions
| Neos CMS | Plugin Version | branch name |
|---|---|---|
| >= 2.0 | 1.x | 1.x |
| >= 3.0 | 2.x | 2.x |
| >= 4.0 | 5.x | 5.x |
| >= 7.0 | 7.x | |
| >= 8.0 | 8.x | |
| >= 9.0 | 9.x | master |
Fusion Objects
Networkteam.Neos.Util:ImageUriAndDimensions:**
Params:
- asset (required)
- width
- height
- maximumWidth
- maximumHeight
- allowCropping
- $allowUpScaling
Returns Array with Image uri, width and height (Keys: src, width, height)
Networkteam.Neos.Util:ResourceUri (not working in v 2.x)
Params:
- path
- localize
- cacheBuster
Returns Cachebusted Resource Uri
ViewHelper
SanitizedIdViewHelper
Params:
- string
Returns ID from given string (does not maintain uniqueness)
StrftimeViewHelper
Params:
- date
- format
Returns locally formatted DateTime
Eel Helper
Networkteam.Neos.Util.Caching.entityTags
Params:
- entities
- prefix
Returns array of prefixed caching entries for given entities
Networkteam.Neos.Util.String.nl2br
Params:
- string (required)
- is_xhtml
Converts line breaks to <br /> Tags