PHPackages                             cakemanager/cakephp-textblocks - 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. [Framework](/categories/framework)
4. /
5. cakemanager/cakephp-textblocks

ActiveCakephp-plugin[Framework](/categories/framework)

cakemanager/cakephp-textblocks
==============================

TextBlocks plugin for CakePHP

1251PHP

Since Jun 24Pushed 10y ago2 watchersCompare

[ Source](https://github.com/cakemanager/cakephp-textblocks)[ Packagist](https://packagist.org/packages/cakemanager/cakephp-textblocks)[ RSS](/packages/cakemanager-cakephp-textblocks/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

TextBlocks plugin for CakePHP
=============================

[](#textblocks-plugin-for-cakephp)

> Note: This is a non-stable plugin for CakePHP 3.x at this time. It is currently under development and should be considered experimental.

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

[](#installation)

You can install this plugin into your CakePHP application using composer.

The recommended way to install composer packages is:

```
composer require cakemanager/cakephp-textblocks

```

Now load the plugin with the command:

```
$ bin/cake plugin load -r -b TextBlocks

```

Run the database migrations with:

```
$ bin/cake migrations migrate --plugin TextBlocks

```

Usage
-----

[](#usage)

### Register

[](#register)

Register new blocks with:

```
Blox::register('my_block');

```

### Getting Content

[](#getting-content)

You can get 2 types of contents: Title and Body. Get your title this way...

```
Blox::title('my_block');

```

And get your body this way:

```
Blox::body('my_block');

```

Variables can be passed on both of the getters:

```
// Imagine that the body of 'my_block' is: "Good morning, :name"

Blox::body('my_block', [
    'name' => 'Leonardo'
]);

// Output will be: "Good morning, Leonardo"

```

### Management

[](#management)

The Blocks can be managed by the [CakeAdmin](https://github.com/cakemanager/cakephp-cakeadmin) plugin, or you can create CRUD yourself.

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

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.

### Community

Maintainers

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

---

Top Contributors

[![bobmulder](https://avatars.githubusercontent.com/u/5465074?v=4)](https://github.com/bobmulder "bobmulder (6 commits)")

### Embed Badge

![Health badge](/badges/cakemanager-cakephp-textblocks/health.svg)

```
[![Health](https://phpackages.com/badges/cakemanager-cakephp-textblocks/health.svg)](https://phpackages.com/packages/cakemanager-cakephp-textblocks)
```

###  Alternatives

[laravel/passport

Laravel Passport provides OAuth2 server support to Laravel.

3.4k85.0M532](/packages/laravel-passport)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M259](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

712181.8M596](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)[laravel/pail

Easily delve into your Laravel application's log files directly from the command line.

91545.3M590](/packages/laravel-pail)

PHPackages © 2026

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