PHPackages                             creode/wordpress-blocks - 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. creode/wordpress-blocks

Abandoned → [creode-mosaic/blocks](/?search=creode-mosaic%2Fblocks)ArchivedWordpress-muplugin

creode/wordpress-blocks
=======================

Block library and block development framework for WordPress blocks.

3.0.0(4mo ago)11.8k↓100%[1 issues](https://github.com/creode/wordpress-blocks/issues)PHPCI passing

Since Jul 11Pushed 4mo agoCompare

[ Source](https://github.com/creode/wordpress-blocks)[ Packagist](https://packagist.org/packages/creode/wordpress-blocks)[ RSS](/packages/creode-wordpress-blocks/feed)WikiDiscussions 3.x Synced 1mo ago

READMEChangelog (10)Dependencies (1)Versions (137)Used By (0)

WordPress Blocks
================

[](#wordpress-blocks)

This is a WordPress plugin which contains a few blocks to assist in starting out a new project. The blocks are built using the WordPress ACF and the block editor. This module also contains infrastructure to assist in the creation of template based blocks.

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

[](#installation)

Installation of this can be done using composer: `composer require creode/wordpress-blocks`

Usage
-----

[](#usage)

This plugin once installed will be added to the mu-plugin folder so it is ready for it to be used in your project.

### Creating new blocks

[](#creating-new-blocks)

In order to create new blocks, you can add a new class to your theme or plugin and extend the `Creode_Blocks\Block` class.

If you are utilising WP\_CLI for your project, you can use the following command to create a new block class:

```
wp make-block "Creode Footer" --theme="creode"
```

This will create a newly configured block class and template file within your theme, inside the `blocks` directory. The theme argument is optional and will default to the current theme.

It will also output a couple of lines that can be copy and pasted into your `functions.php` file to include the block class and get started quickly.

### Creating child blocks

[](#creating-child-blocks)

Child blocks are defined within your block class inside the `child_blocks()` function. You can just need to return an array of new `Creode_Blocks\Child_Block` instances from it.

### Generating documentation locally

[](#generating-documentation-locally)

This package uses PHPDoc to generate documentation for the blocks. To generate the documentation for testing purposes, you can run the following docker command:

```
docker run --rm -v $(pwd):/data phpdoc/phpdoc
```

This will create a new build/docs folder so you can view the documentation locally.

Roadmap
-------

[](#roadmap)

- Ongoing: Continue to expand the base offering of block classes
- Implement a command to create new blocks in your theme using `WP_CLI`

###  Health Score

39

—

LowBetter than 85% of packages

Maintenance59

Moderate activity, may be stable

Popularity19

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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

Total

108

Last Release

143d ago

Major Versions

0.28.1 → 1.0.02025-06-02

0.x-dev → 1.0.12025-06-02

1.x-dev → 2.0.02025-08-14

2.x-dev → 3.0.02025-12-17

### Community

Maintainers

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

---

Top Contributors

[![ben-leonard](https://avatars.githubusercontent.com/u/18216469?v=4)](https://github.com/ben-leonard "ben-leonard (156 commits)")[![jaymeh](https://avatars.githubusercontent.com/u/18261676?v=4)](https://github.com/jaymeh "jaymeh (153 commits)")[![creode-dev](https://avatars.githubusercontent.com/u/19706903?v=4)](https://github.com/creode-dev "creode-dev (51 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")[![michall05](https://avatars.githubusercontent.com/u/6905148?v=4)](https://github.com/michall05 "michall05 (1 commits)")

---

Tags

wordpresswordpress-plugin

### Embed Badge

![Health badge](/badges/creode-wordpress-blocks/health.svg)

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

PHPackages © 2026

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