PHPackages                             anomaly/blocks-module - 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. anomaly/blocks-module

ActiveStreams-addon[Utility &amp; Helpers](/categories/utility)

anomaly/blocks-module
=====================

Manage sections of content.

v1.5.0(5mo ago)02.3k6[13 PRs](https://github.com/anomalylabs/blocks-module/pulls)9MITPHP

Since Mar 22Pushed 5mo ago1 watchersCompare

[ Source](https://github.com/anomalylabs/blocks-module)[ Packagist](https://packagist.org/packages/anomaly/blocks-module)[ Docs](http://pyrocms.com/addons/anomaly/blocks-module)[ RSS](/packages/anomaly-blocks-module/feed)WikiDiscussions 1.5 Synced 1mo ago

READMEChangelogDependencies (3)Versions (91)Used By (9)

Blocks Module
=============

[](#blocks-module)

*anomaly.module.blocks*

#### Manage sections of content.

[](#manage-sections-of-content)

The Blocks Module provides a powerful way to create and manage reusable content blocks with field-based configuration.

Features
--------

[](#features)

- Field-based block content
- Area-based block organization
- Multiple instance support
- Control panel management
- Template integration
- Block caching

Usage
-----

[](#usage)

### Defining Block Areas

[](#defining-block-areas)

```
// In your addon service provider
protected $blocks = [
    'sidebar' => [
        'description' => 'Sidebar content blocks'
    ],
    'footer' => [
        'description' => 'Footer content blocks'
    ]
];
```

### Rendering Blocks

[](#rendering-blocks)

```
{# Render all blocks in an area #}
{% for block in blocks('sidebar') %}
    {{ block.content|raw }}
{% endfor %}

{# Get specific block #}
{% set block = block('contact_info') %}
{% if block %}
    {{ block.content|raw }}
{% endif %}
```

### Creating Blocks

[](#creating-blocks)

Navigate to **Content &gt; Blocks** in the control panel to create and manage blocks.

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

[](#requirements)

- Streams Platform ^1.10
- PyroCMS 3.10+
- Configuration Module ^2.1+
- Settings Module ^2.1+

License
-------

[](#license)

The Blocks Module is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).

###  Health Score

51

—

FairBetter than 96% of packages

Maintenance70

Regular maintenance activity

Popularity19

Limited adoption so far

Community25

Small or concentrated contributor base

Maturity79

Established project with proven stability

 Bus Factor1

Top contributor holds 88.6% 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 ~37 days

Recently: every ~466 days

Total

77

Last Release

166d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3dc718dba9317e897b74dcb30e5c06bd106e1ad72b2df5242b66bcc28053fbf3?d=identicon)[anomaly](/maintainers/anomaly)

---

Top Contributors

[![RyanThompson](https://avatars.githubusercontent.com/u/1099967?v=4)](https://github.com/RyanThompson "RyanThompson (93 commits)")[![Pixney-William](https://avatars.githubusercontent.com/u/31292231?v=4)](https://github.com/Pixney-William "Pixney-William (3 commits)")[![edster](https://avatars.githubusercontent.com/u/656313?v=4)](https://github.com/edster "edster (2 commits)")[![aidanwatt](https://avatars.githubusercontent.com/u/3669142?v=4)](https://github.com/aidanwatt "aidanwatt (2 commits)")[![bloveless](https://avatars.githubusercontent.com/u/535135?v=4)](https://github.com/bloveless "bloveless (2 commits)")[![MarceauKa](https://avatars.githubusercontent.com/u/1665333?v=4)](https://github.com/MarceauKa "MarceauKa (1 commits)")[![JoelESvensson](https://avatars.githubusercontent.com/u/6786740?v=4)](https://github.com/JoelESvensson "JoelESvensson (1 commits)")[![Eighke](https://avatars.githubusercontent.com/u/2734125?v=4)](https://github.com/Eighke "Eighke (1 commits)")

---

Tags

block content

### Embed Badge

![Health badge](/badges/anomaly-blocks-module/health.svg)

```
[![Health](https://phpackages.com/badges/anomaly-blocks-module/health.svg)](https://phpackages.com/packages/anomaly-blocks-module)
```

PHPackages © 2026

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