PHPackages                             cloakwp/acf-abstractions - 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. cloakwp/acf-abstractions

ActiveWordpress-plugin[Utility &amp; Helpers](/categories/utility)

cloakwp/acf-abstractions
========================

A set of OOP abstractions around ACF to improve developer experience.

0.0.19(5mo ago)273↓100%LGPL-3.0-onlyPHP

Since Sep 11Pushed 5mo agoCompare

[ Source](https://github.com/cloak-labs/acf-abstractions)[ Packagist](https://packagist.org/packages/cloakwp/acf-abstractions)[ RSS](/packages/cloakwp-acf-abstractions/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (3)Versions (20)Used By (0)

CloakWP - ACF Abstractions
==========================

[](#cloakwp---acf-abstractions)

A set of OOP abstractions around ACF to improve developer experience.

This package is meant to be used alongside the wonderful [`vinkla/extended-acf`](https://github.com/vinkla/extended-acf/) package, which provides OOP abstractions for registering fields. This package simply extends that package with some useful extras:

- Register ACF Groups with the `FieldGroup` class (a wrapper around `vinkla/extended-acf`'s `register_extended_field_group` function)
- Register ACF Blocks with the `Block` class (all registered block instances become accessible via the `BlockRegistry` singleton)
- Register ACF Options Pages with the `OptionsPage` class
- Some useful, special fields that extend ACF's built-in field types:
    - `InnerBlocks` - An auto-populated ACF `Flexible Content` field enabling you to select/arrange ACF blocks (assuming you register your ACF blocks via this package's `Block` class). Assigning `InnerBlocks` as a field of an ACF block enables nesting blocks within each other for powerful block composability. You can control which blocks are available for selection on a per-instance basis via the `includes` and `excludes` methods.
    - `HorizontalAlignment` - An auto-populated ACF `Button Group` field with options for `left`, `center`, `right`, and `justify` (displayed as icons). You can control which of those 4 options are available on a per-instance basis.
    - `VerticalAlignment` - An auto-populated ACF `Button Group` field with options for `top`, `center`, and `bottom` (displayed as icons). You can control which of those 3 options are available on a per-instance basis.
    - `MenuSelect` - An auto-populated ACF `Select` field allowing you to select a registered WordPress menu.
    - `PostTypeSelect` - An auto-populated ACF `Select` field allowing you to select a registered WordPress post type.
    - `ThemeColorPicker` - An auto-populated ACF `Radio Button` field allowing you to select a color from the active theme's `theme.json` color palette, with special CSS styling to mimic the built-in Gutenberg color picker.
    - `ResponsiveField` - Enable screen breakpoint-specific values for any ACF field by simply wrapping it in a `ResponsiveField` instance (eg. `ResponsiveField::make(Number::make('Gap'))`). Under-the-hood, it uses a `Group` and set of `Tab` fields, and duplicates the provided field for each breakpoint tab. The resulting value output is `your_field_name: { mobile: '1', tablet: '2', tablet_wide: '3', laptop: '4', desktop: '5', desktop_wide: '6' }`. You can define which breakpoints are available on a per-instance basis.

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

[](#installation)

```
composer require cloakwp/acf-abstractions
```

Usage
-----

[](#usage)

Docs coming soon -- for now, see the source code of this package's `src` directory; it's mostly self-documenting.

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance74

Regular maintenance activity

Popularity12

Limited adoption so far

Community6

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

Recently: every ~37 days

Total

19

Last Release

177d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6029133664b39b787817bddb9c1840cfdb8fac3b0ee8dee66edc10a6b9391f80?d=identicon)[kaelan](/maintainers/kaelan)

---

Top Contributors

[![kaelansmith](https://avatars.githubusercontent.com/u/60372141?v=4)](https://github.com/kaelansmith "kaelansmith (84 commits)")

### Embed Badge

![Health badge](/badges/cloakwp-acf-abstractions/health.svg)

```
[![Health](https://phpackages.com/badges/cloakwp-acf-abstractions/health.svg)](https://phpackages.com/packages/cloakwp-acf-abstractions)
```

###  Alternatives

[rainlab/blog-plugin

Blog plugin for October CMS

17257.7k](/packages/rainlab-blog-plugin)[rainlab/builder-plugin

Builder plugin for October CMS

17147.2k1](/packages/rainlab-builder-plugin)[pfefferle/wordpress-activitypub

The ActivityPub protocol is a decentralized social networking protocol based upon the ActivityStreams 2.0 data format.

5671.4k1](/packages/pfefferle-wordpress-activitypub)[civicrm/civicrm-drupal-8

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

18238.1k2](/packages/civicrm-civicrm-drupal-8)[mediawiki/semantic-glossary

A terminology markup extension with a Semantic MediaWiki back-end

1352.4k](/packages/mediawiki-semantic-glossary)[humanmade/lottie-lite

A lightweight Lottie Animations Extension for WordPress

374.3k](/packages/humanmade-lottie-lite)

PHPackages © 2026

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