PHPackages                             boboldehampsink/increment - 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. boboldehampsink/increment

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

boboldehampsink/increment
=========================

Increment Plugin for Craft CMS

0.3.4(9y ago)1011.4k4[1 issues](https://github.com/boboldehampsink/increment/issues)[1 PRs](https://github.com/boboldehampsink/increment/pulls)PHP

Since Jan 9Pushed 8y ago1 watchersCompare

[ Source](https://github.com/boboldehampsink/increment)[ Packagist](https://packagist.org/packages/boboldehampsink/increment)[ RSS](/packages/boboldehampsink-increment/feed)WikiDiscussions master Synced today

READMEChangelog (9)Dependencies (1)Versions (11)Used By (0)

DEPRECATED - Increment plugin for Craft CMS
===========================================

[](#deprecated---increment-plugin-for-craft-cms)

Plugin that automatically ups each increment field by one number.

Features:

- Able to output the value in the CP and in the Site (no other plugin has this feature)
- Ability to have the value prefixed with text or variables (like {id} or {{now.year}})
- Ability to reset increment yearly
- Ability to zero pad the value
- This plugin checks if the calculated next value is still unique on save

Important: The plugin's folder should be named "increment"

Credits: This plugin's idea is derived from the Sprout Incremental Plugin by Barrel Strength Design

Deprecated
==========

[](#deprecated)

With the release of Craft 3 on 4-4-2018, this plugin has been deprecated. You can still use this with Craft 2 but you are encouraged to use (and develop) a Craft 3 version. At this moment, I have no plans to do so.

Changelog
=========

[](#changelog)

### 0.3.4

[](#034)

- Fixed yearly reset for non-entry elements

### 0.3.3

[](#033)

- Fixed setting of postDate on fresh entries

### 0.3.2

[](#032)

- Fixed bug where yearly reset looked at the wrong date (dateCreated in stead of postDate)

### 0.3.1

[](#031)

- Fixed bug where padding was not a number (thanks to @steverowling)
- Fixed bug where postDate was assumed for all Element Types (thanks to @steverowling)

### 0.3.0

[](#030)

- Refactor to only recalculate numbers on save when entry is a new record
- Added the ability to reset increment yearly

### 0.2.2

[](#022)

- Added the ability to control number recalculation on save

### 0.2.1

[](#021)

- Added the ability to use the then yet non-existing postDate in prefix like in Craft's Live Preview

### 0.2

[](#02)

- Added the ability to add a prefix to each value, like {id} or {{now.year}}
- Added zero padding options
- Prevent duplicate values when elements are created at the same time.
- Many small improvements and code cleanups
- Added MIT License

### 0.1

[](#01)

- Initial push to GitHub

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% 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 ~106 days

Recently: every ~119 days

Total

9

Last Release

3342d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3dd0df0464b4919048281ee42a9210f4323e8f3a78d046067e550992e4a5fb7e?d=identicon)[boboldehampsink](/maintainers/boboldehampsink)

---

Top Contributors

[![bvangennep](https://avatars.githubusercontent.com/u/12080429?v=4)](https://github.com/bvangennep "bvangennep (4 commits)")[![steverowling](https://avatars.githubusercontent.com/u/4478560?v=4)](https://github.com/steverowling "steverowling (2 commits)")

### Embed Badge

![Health badge](/badges/boboldehampsink-increment/health.svg)

```
[![Health](https://phpackages.com/badges/boboldehampsink-increment/health.svg)](https://phpackages.com/packages/boboldehampsink-increment)
```

###  Alternatives

[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.5k10](/packages/helsingborg-stad-municipio)[mediawiki/maps

Adds various mapping features to MediaWiki

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

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

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

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

19251.4k3](/packages/civicrm-civicrm-drupal-8)[altis/core

Core module for Altis

19228.0k3](/packages/altis-core)[pfefferle/wordpress-activitypub

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

5721.7k4](/packages/pfefferle-wordpress-activitypub)

PHPackages © 2026

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