There is no license information available for the latest version (0.1.0) of this package.

Add a hash or slug to any DataObject in Silverstripe

Installs: 107

Dependents: 2

Suggesters: 0

Security: 0

Stars: 4

Watchers: 3

Forks: 1

Open Issues: 2


0.1.0 2014-09-12 04:13 UTC

This package is not auto-updated.

Last update: 2024-04-10 20:42:17 UTC


Build Status

Behaviours is a set of common DataExtensions and Traits to use with Silverstripe

  • Hashable: This creates a unique hash for your DataObject. This cannot be decoded, but does not rely on any field on the original DataObject. This is used mainly as a replacement for ID if you want to hide the ID from the front-end, or in the case of not needing a unique value it can be a reference to differentiate records by certain attributes (such as product options - same size, colour, etc)
  • Sluggable: This creates a slug for the DataObject. This can be decoded back to its original state. Usually used as a replacement for ID with URLs.


Add the following to your composer.json file

    "require"          : {
		"milkyway-multimedia/ss-behaviors": "dev-master"

Add the following in your YAML config for objects you would like to hash/slug

    - Milkyway\SS\Behaviours\Extensions\Hashable


  • MIT


  • 0.2 (Alpha)


Milkyway Multimedia