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

AbandonedArchivedCraft-plugin

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

Increment Plugin for Craft CMS

0.3.4(9y ago)911.4k4[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 1mo ago

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 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity27

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

3288d 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

[elgg/elgg

Elgg is an award-winning social networking engine, delivering the building blocks that enable businesses, schools, universities and associations to create their own fully-featured social networks and applications.

1.7k15.7k4](/packages/elgg-elgg)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

44643.1k1](/packages/pressbooks-pressbooks)[johnbillion/user-switching

Instant switching between user accounts in WordPress and WooCommerce.

19768.3k2](/packages/johnbillion-user-switching)[rainlab/blog-plugin

Blog plugin for October CMS

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

User plugin for October CMS

11954.3k13](/packages/rainlab-user-plugin)[starcitizentools/citizen-skin

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

3164.5k](/packages/starcitizentools-citizen-skin)

PHPackages © 2026

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