Download the PHP package milkyway-multimedia/ss-behaviours without Composer
On this page you can find all versions of the php package milkyway-multimedia/ss-behaviours. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download milkyway-multimedia/ss-behaviours
More information about milkyway-multimedia/ss-behaviours
Files in milkyway-multimedia/ss-behaviours
Download milkyway-multimedia/ss-behaviours
More information about milkyway-multimedia/ss-behaviours
Files in milkyway-multimedia/ss-behaviours
Vendor milkyway-multimedia
Package ss-behaviours
Short Description Add a hash to any DataObject in Silverstripe
License
Package ss-behaviours
Short Description Add a hash to any DataObject in Silverstripe
License
Please rate this library. Is it a good library?
Informations about the package ss-behaviours
Behaviours
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.
Install
Add the following to your composer.json file
Add the following in your YAML config for objects you would like to hash/slug
License
- MIT
Version
- 0.2 (Alpha)
Contact
Milkyway Multimedia
- Homepage: http://milkywaymultimedia.com.au
- E-mail: mell@milkywaymultimedia.com.au
- Twitter: @mwmdesign
All versions of ss-behaviours with dependencies
PHP Build Version
Package Version
Requires
hashids/hashids Version
1.0.0
The package milkyway-multimedia/ss-behaviours contains the following files
Loading the files please wait ....