PHPackages                             floor12/yii2-single-content - 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. floor12/yii2-single-content

ActiveLibrary

floor12/yii2-single-content
===========================

1.0.2(1y ago)043MITPHPPHP &gt;=7.3.0

Since Feb 6Pushed 1y ago1 watchersCompare

[ Source](https://github.com/floor12/yii2-single-content)[ Packagist](https://packagist.org/packages/floor12/yii2-single-content)[ RSS](/packages/floor12-yii2-single-content/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (4)Used By (0)

floor12/yii2-single-content
===========================

[](#floor12yii2-single-content)

Yii2 Single Content Editor
--------------------------

[](#yii2-single-content-editor)

This is a simple content editor for Yii2. It allows you to create a lot of single content blocks for landing page or template parts and then edit it using textarea.

### Installation

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Add module to your project:

```
composer require floor12/yii2-single-content

```

Add module to your config file:

```
'modules' => [
      'single_content' => [
        'class' => 'floor12\single_content\Module',
        'administratorRoleName' => '@',
    ],
],
```

### Usage

[](#usage)

Then add a widget to your view file:

```
    echo SingleContentItemWidget::widget(['id' => 'example-landing-block-001']);
    echo SingleContentItemWidget::widget(['id' => 'one-more-block']);
```

If you are logged in as an administrator, you can click on the block and edit it using a textarea in the modal window.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

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

Total

3

Last Release

620d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8dc98d778cb18db41a1e5b9df722c56f65f655de44fe0d581484cd8dea31b928?d=identicon)[floor12](/maintainers/floor12)

---

Top Contributors

[![floor12](https://avatars.githubusercontent.com/u/8406969?v=4)](https://github.com/floor12 "floor12 (12 commits)")

---

Tags

contentyii2yiieditorfloor12yii2 module

### Embed Badge

![Health badge](/badges/floor12-yii2-single-content/health.svg)

```
[![Health](https://phpackages.com/badges/floor12-yii2-single-content/health.svg)](https://phpackages.com/packages/floor12-yii2-single-content)
```

###  Alternatives

[kartik-v/yii2-markdown

Advanced Markdown editing and conversion utilities for Yii Framework 2.0

88265.8k6](/packages/kartik-v-yii2-markdown)[floor12/yii2-module-files

Yii2 module to upload and manage files to your models.

1612.4k6](/packages/floor12-yii2-module-files)[brussens/yii2-maintenance-mode

Maintenance mode component for Yii framework 2.x.x version.

78256.3k5](/packages/brussens-yii2-maintenance-mode)[luyadev/luya-module-cms

The LUYA CMS module provides a full functional Content Management System for adding contents based on blocks.

32176.1k18](/packages/luyadev-luya-module-cms)

PHPackages © 2026

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