PHPackages                             taoceanz/silverstripe-instance-shortcodes - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. taoceanz/silverstripe-instance-shortcodes

ActiveSilverstripe-vendormodule[Utility &amp; Helpers](/categories/utility)

taoceanz/silverstripe-instance-shortcodes
=========================================

Facilitate using shortcodes, but rendered in instance context (rather than static) giving it access to the model data of the page.

22.9kPHP

Since Aug 11Pushed 6y ago1 watchersCompare

[ Source](https://github.com/taoceanz/silverstripe-instance-shortcodes)[ Packagist](https://packagist.org/packages/taoceanz/silverstripe-instance-shortcodes)[ RSS](/packages/taoceanz-silverstripe-instance-shortcodes/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

SilverStripe Instance Shortcodes
================================

[](#silverstripe-instance-shortcodes)

Description
-----------

[](#description)

This extension facilitates accessing properties on a class via a shortcode defined in the CMS, except the shortcode is rendered in instance context giving it access to the model data of the page. This allows defining functions and forms once then re-using them across multiple pages while defining page specific properties for that function or form. Page defined properties can be dynamically displayed in your page and will display when you add your instance shortcode in the CMS.

Example use case
----------------

[](#example-use-case)

Create a form for Page, then a `$db` property called `form_title`. The form is displays on multiple pages via a shortcode definition in the `$Content` section, but needs to use `$form_title` to display as a uniquee form title on the page the form displays. Displaying the form via a standard shortcode will not allow you to access `form_title` uniquely, but display this via an instance shortcode will.

Installation
------------

[](#installation)

`$ composer require taoceanz/silverstripe-instance-shortcodes`

Requirements
------------

[](#requirements)

- silverStripe ^4

Maintainers
-----------

[](#maintainers)

- Thomas Ocean

Issues and improvement
----------------------

[](#issues-and-improvement)

If you find an issue, please [log and issue](https://github.com/taoceanz/silverstripe-instance-shortcodes/issues)If you know of a way to improve this extension, please [create a pull request](https://github.com/taoceanz/silverstripe-instance-shortcodes/pulls)

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 Bus Factor1

Top contributor holds 100% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/8b57dcb92c51d94d754a40d7fee78e55e8f086712be9ff93d26ce01981b8d038?d=identicon)[taoceanz](/maintainers/taoceanz)

---

Top Contributors

[![taoceanz](https://avatars.githubusercontent.com/u/9561656?v=4)](https://github.com/taoceanz "taoceanz (4 commits)")

---

Tags

dataobjectextensionmodulepageshortcodesilverstripesilverstripe-4silverstripe-instance-shortcodesilverstripe-module

### Embed Badge

![Health badge](/badges/taoceanz-silverstripe-instance-shortcodes/health.svg)

```
[![Health](https://phpackages.com/badges/taoceanz-silverstripe-instance-shortcodes/health.svg)](https://phpackages.com/packages/taoceanz-silverstripe-instance-shortcodes)
```

PHPackages © 2026

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