PHPackages                             cuberis/wp-componify - 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. cuberis/wp-componify

ActiveLibrary

cuberis/wp-componify
====================

Components, our flexible content system.

0.1.0(7y ago)027[1 issues](https://github.com/cuberis/wp-componify/issues)GPL-2.0-or-laterPHPPHP &gt;=7

Since Mar 18Pushed 7y ago1 watchersCompare

[ Source](https://github.com/cuberis/wp-componify)[ Packagist](https://packagist.org/packages/cuberis/wp-componify)[ RSS](/packages/cuberis-wp-componify/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)DependenciesVersions (3)Used By (0)

Componify
=========

[](#componify)

[![Latest Version on Packagist](https://camo.githubusercontent.com/529f630208e99f268b710eb2dda816ea712a4320b14b2ee372aeb6a0864af6fa/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f637562657269732f77702d636f6d706f6e6966792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/cuberis/wp-componify)

Components, our flexible content system.

Installing
----------

[](#installing)

`composer require cuberis/wp-componify`.

Setup &amp; Examples
--------------------

[](#setup--examples)

1. Setup new template parts in `/templates/components/` to match against ACF Flexible Content layout slugs.
2. Instantiate new **Componify** class in your page template.
3. Sit back and enjoy!

```

```

Arguments
---------

[](#arguments)

- `prefix` (default: null) – Retrieve a prefixed set of component fields.

Filters
-------

[](#filters)

### `cuberis_set_component_html_attributes`

[](#cuberis_set_component_html_attributes)

```
/**
 * Example for modifying component wrapper attributes.
 *
 * @param array $attrs
 * @param string $slug
 * @return $attrs
 */
function cuberis_filter_component_html_attributes($attrs, $slug) {
  // Add a class modifier to just the text component.
  if ($slug === 'text') {
    $attrs['class'] .= ' component--example-modifier';
  }

  // Add a new attribute to all components.
  $attrs['data-id'] = uniqid();

  return $attrs;
}
add_filter('cuberis_set_component_html_attributes', 'cuberis_filter_component_html_attributes', 10, 2);
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

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

Unknown

Total

1

Last Release

2614d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/26b8b82c6c0336767ad8de1c9934950dbfdb4d03910d6b9de51061535155779a?d=identicon)[cuberis](/maintainers/cuberis)

---

Top Contributors

[![andrewmarino](https://avatars.githubusercontent.com/u/6686529?v=4)](https://github.com/andrewmarino "andrewmarino (1 commits)")

### Embed Badge

![Health badge](/badges/cuberis-wp-componify/health.svg)

```
[![Health](https://phpackages.com/badges/cuberis-wp-componify/health.svg)](https://phpackages.com/packages/cuberis-wp-componify)
```

PHPackages © 2026

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