This package is abandoned and no longer maintained. No replacement package was suggested.
There is no license information available for the latest version (0.3.4) of this package.

Increment Plugin for Craft CMS

Installs: 11 358

Dependents: 0

Suggesters: 0

Security: 0

Stars: 10

Watchers: 1

Forks: 5

Open Issues: 2


0.3.4 2017-05-09 13:22 UTC

This package is not auto-updated.

Last update: 2019-02-20 18:23:07 UTC


Plugin that automatically ups each increment field by one number.


  • 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


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.



  • Fixed yearly reset for non-entry elements


  • Fixed setting of postDate on fresh entries


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


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


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


  • Added the ability to control number recalculation on save


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


  • 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


  • Initial push to GitHub