Search by

christopherdarling / silverstripe-dataobjecturlsegment

christopherdarling

Extension + field to add URLSegment to DataObjects

Package info

github.com/christopherdarling/silverstripe-dataobjecturlsegment

Homepage

Issues

pkg:composer/christopherdarling/silverstripe-dataobjecturlsegment

Statistics

Installs: 22

Dependents: 0

Suggesters: 0

Stars: 0

1.1 2026-09-08 11:09 UTC

This package is auto-updated.

Last update: 2026-09-08 11:10:49 UTC


README

Example usage

class YourDataObject extends DataObject
{
    private static $extensions = [
        DataObjectExtension::class,
    ];
}

Optionally add Versioned extension and you can use the ArchivedURLSegmentRecordFinder to find a matching record or look up against the versioned table and get a redirect response.