PHPackages                             philipnewcomer/acf-unique-id-field - 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. philipnewcomer/acf-unique-id-field

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

philipnewcomer/acf-unique-id-field
==================================

An ACF field which generates a unique ID value, intended for use in ACF Repeaters

2.0.0(6y ago)4726.7k↑16.7%13[3 issues](https://github.com/philipnewcomer/ACF-Unique-ID-Field/issues)[2 PRs](https://github.com/philipnewcomer/ACF-Unique-ID-Field/pulls)GPL-2.0-or-laterPHP

Since Aug 7Pushed 1y ago3 watchersCompare

[ Source](https://github.com/philipnewcomer/ACF-Unique-ID-Field)[ Packagist](https://packagist.org/packages/philipnewcomer/acf-unique-id-field)[ RSS](/packages/philipnewcomer-acf-unique-id-field/feed)WikiDiscussions master Synced 1mo ago

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

ACF Unique ID Field
===================

[](#acf-unique-id-field)

An [Advanced Custom Fields](https://www.advancedcustomfields.com/) field which generates a unique ID value.

While this library was originally developer for use in repeaters where each field in a repeater block needs to be given a persistent unique ID, it can be used anywhere an automatically-generated unique ID is required.

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

[](#installation)

```
composer require philipnewcomer/acf-unique-id-field

```

Usage
-----

[](#usage)

Call the `ACF_Field_Unique_ID` static method `init()` to activate it.

```
PhilipNewcomer\ACF_Unique_ID_Field\ACF_Field_Unique_ID::init();
```

Select the "Unique ID" field type when using the ACF GUI.

When editing a post, unique IDs will be generated on the initial save.

Notes
-----

[](#notes)

IDs will be generated in the following format:

```
59885be6f2289

```

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance26

Infrequent updates — may be unmaintained

Popularity41

Moderate usage in the ecosystem

Community12

Small or concentrated contributor base

Maturity64

Established project with proven stability

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

Total

2

Last Release

2517d ago

Major Versions

1.0.0 → 2.0.02019-06-28

### Community

Maintainers

![](https://www.gravatar.com/avatar/12f960edc40ea879fb20f1e250fcf74f951f231796423782a8aefd65fba4e5eb?d=identicon)[philipnewcomer](/maintainers/philipnewcomer)

---

Top Contributors

[![philipnewcomer](https://avatars.githubusercontent.com/u/1446874?v=4)](https://github.com/philipnewcomer "philipnewcomer (8 commits)")

---

Tags

acf-addonacf-fieldacf-groupsacf-repeateracf-repeatersadvanced-custom-fields

### Embed Badge

![Health badge](/badges/philipnewcomer-acf-unique-id-field/health.svg)

```
[![Health](https://phpackages.com/badges/philipnewcomer-acf-unique-id-field/health.svg)](https://phpackages.com/packages/philipnewcomer-acf-unique-id-field)
```

###  Alternatives

[phpdocumentor/reflection-docblock

With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.

9.4k722.2M1.2k](/packages/phpdocumentor-reflection-docblock)[beste/json

A simple JSON helper to decode and encode JSON

4222.7M3](/packages/beste-json)

PHPackages © 2026

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