PHPackages                             hanamura/acf-util - 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. hanamura/acf-util

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

hanamura/acf-util
=================

Utilities for Advanced Custom Fields

1.0.1(11y ago)02.0kMITPHPPHP &gt;=5.3.0

Since Oct 15Pushed 11y ago1 watchersCompare

[ Source](https://github.com/hanamura/acf-util)[ Packagist](https://packagist.org/packages/hanamura/acf-util)[ RSS](/packages/hanamura-acf-util/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (3)Used By (0)

acf-util
========

[](#acf-util)

Utilities for Advanced Custom Fields.

Sample
------

[](#sample)

`AcfUtil\AcfValue` provides simple access to field objects of Advanced Custom Fields.

```
// initialize AcfValue with field objects for specific post
// note: `get_field_objects()` is a buildin function of Advanced Custom Fields
$acf_value = new AcfUtil\AcfValue(get_field_objects($id));

// access field
$value = $acf_value->field_name;

// access repeater field
$value = $acf_value->repeater_field_name;

foreach (var $acf_value->repeater_field_name as $repeater_field) {

  // child field is also AcfValue object
  $value = $repeater_field->field_name;

  // deeper repeater fields are accessible
  foreach (var $repeater_field->deeper_repeater_field_name as $deeper_repeater_field) {

    // this is also AcfValue object
    $value = $deeper_repeater_field->field_name;
  }
}
```

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

[](#requirements)

WordPress and Advanced Custom Fields plugin.

License
-------

[](#license)

MIT

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

Total

2

Last Release

4242d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9d496755b253bc4bc9d08d4a0cd28f6d00ab8d86dfccf907cb4a42f1850c8fd4?d=identicon)[hanamura](/maintainers/hanamura)

---

Top Contributors

[![hanamura](https://avatars.githubusercontent.com/u/20524?v=4)](https://github.com/hanamura "hanamura (6 commits)")

### Embed Badge

![Health badge](/badges/hanamura-acf-util/health.svg)

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

###  Alternatives

[creatuity/magento2-interceptors

Creatuity Compiled Interceptors Module

137138.3k1](/packages/creatuity-magento2-interceptors)[humanmade/page-for-post-type

Allows you to set pages for any custom post type archive

18810.2k](/packages/humanmade-page-for-post-type)[mmikkel/incognito-field

PlainText drop-in replacement that can be set to disabled, hidden or readonly.

11198.6k](/packages/mmikkel-incognito-field)

PHPackages © 2026

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