PHPackages                             sebastianlenz/contentfield - 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. sebastianlenz/contentfield

ActiveCraft-plugin[Utility &amp; Helpers](/categories/utility)

sebastianlenz/contentfield
==========================

A Craft field type for editing structured content

0.2.0(2y ago)21.7k1proprietaryPHP

Since Mar 16Pushed 3w ago1 watchersCompare

[ Source](https://github.com/sebastian-lenz/craft-contentfield)[ Packagist](https://packagist.org/packages/sebastianlenz/contentfield)[ RSS](/packages/sebastianlenz-contentfield/feed)WikiDiscussions main Synced today

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

Content Field
=============

[](#content-field)

The best way to work with templates in Craft.

This field allows developers to define control panel fields directly within their templates. Templates can be nested and mixed as needed, enabling complex content hierarchies to be built easily. And all this comes with a big performance boost.

Requirements
------------

[](#requirements)

This plugin requires Craft CMS 4 or later.

Installation
------------

[](#installation)

You can install this plugin from the Plugin Store or with Composer.

### From the Plugin Store

[](#from-the-plugin-store)

Go to the Plugin Store in your project’s Control Panel and search for “Content Field”. Then click on the “Install” button in its modal window.

### With Composer

[](#with-composer)

Open your terminal and run the following commands:

```
# Go to the project directory
cd /path/to/my-project

# Tell Composer to load the plugin
composer require sebastianlenz/contentfield

# Tell Craft to install the plugin
./craft install/plugin contentfield

```

Documentation
-------------

[](#documentation)

We have put together a documentation covers all aspects of this plugin. You can find the online version here:

### Examples

[](#examples)

If you are more into reading through some working code we've created a site that shows the functionality of this plugin through a series of small examples:

### Showcase

[](#showcase)

Finally, if you would like to see what this plugin looks like in action there is a showcase that resembles a real world use case:

Caveats
-------

[](#caveats)

Before using the Content Field, please carefully consider the following caveats:

- The field stores all data as a chunk of JSON data to your database. You cannot query, sort or filter the saved data in any way.
- When modelling your data structures, we use our own custom fields. You cannot use other Craft fields within the Content Field.

License
-------

[](#license)

This plugin uses the Craft licence. If you are using this plugin in a commercial project, please consider licencing it.

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance62

Regular maintenance activity

Popularity21

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

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

Total

2

Last Release

854d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ea15c31a1580406c774c6e40609e977e82ffaaf2e17ddec29564456f9c574fbd?d=identicon)[sebastian-lenz](/maintainers/sebastian-lenz)

---

Top Contributors

[![sebastian-lenz](https://avatars.githubusercontent.com/u/2273359?v=4)](https://github.com/sebastian-lenz "sebastian-lenz (442 commits)")

###  Code Quality

TestsCodeception

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/sebastianlenz-contentfield/health.svg)

```
[![Health](https://phpackages.com/badges/sebastianlenz-contentfield/health.svg)](https://phpackages.com/packages/sebastianlenz-contentfield)
```

###  Alternatives

[friendsoftypo3/content-blocks

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

103519.9k53](/packages/friendsoftypo3-content-blocks)[spicyweb/craft-neo

A Matrix-like field type with block hierarchy

393813.5k10](/packages/spicyweb-craft-neo)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1189.8k](/packages/rcsofttech-audit-trail-bundle)[verbb/formie

The most user-friendly forms plugin for Craft.

102393.6k70](/packages/verbb-formie)[solspace/craft-freeform

The most flexible and user-friendly form building plugin!

54681.3k19](/packages/solspace-craft-freeform)[verbb/vizy

A flexible visual editor field for Craft.

4250.4k](/packages/verbb-vizy)

PHPackages © 2026

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