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.23(yesterday)289LGPL-3.0-onlyPHP

Since Sep 11Pushed 2mo 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 today

READMEChangelogDependencies (9)Versions (24)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

40

—

FairBetter than 86% of packages

Maintenance91

Actively maintained with recent releases

Popularity13

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity40

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

Every ~31 days

Recently: every ~66 days

Total

23

Last Release

1d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5499718?v=4)[kaelan](/maintainers/kaelan)[@kaelan](https://github.com/kaelan)

---

Top Contributors

[![kaelansmith](https://avatars.githubusercontent.com/u/60372141?v=4)](https://github.com/kaelansmith "kaelansmith (92 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

[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.6k10](/packages/helsingborg-stad-municipio)[mautic/core

Mautic Open Source Distribution

10.3k2.7k9](/packages/mautic-core)[mediawiki/maps

Adds various mapping features to MediaWiki

85155.1k3](/packages/mediawiki-maps)[starcitizentools/citizen-skin

A beautiful, usable, responsive MediaWiki skin with in-depth extension support. Originally developed for the Star Citizen Wiki.

3407.6k](/packages/starcitizentools-citizen-skin)[civicrm/civicrm-drupal-8

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

19256.6k4](/packages/civicrm-civicrm-drupal-8)[altis/core

Core module for Altis

19233.0k4](/packages/altis-core)

PHPackages © 2026

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