PHPackages                             arillo/silverstripe-elements-global - 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. arillo/silverstripe-elements-global

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

arillo/silverstripe-elements-global
===================================

Global Elements

0.1.1(7y ago)21.6k↓91.4%1[5 issues](https://github.com/arillo/silverstripe-elements-global/issues)MITPHP

Since May 24Pushed 4mo ago6 watchersCompare

[ Source](https://github.com/arillo/silverstripe-elements-global)[ Packagist](https://packagist.org/packages/arillo/silverstripe-elements-global)[ Docs](https://github.com/arillo/silverstripe-elements-global)[ RSS](/packages/arillo-silverstripe-elements-global/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (12)Used By (0)

SilverStripe Elements global
============================

[](#silverstripe-elements-global)

[![Latest Stable Version](https://camo.githubusercontent.com/be2eb2b7d3e7463e0c864f6668583e57117282d44e106caac7e417f4272c25e3/68747470733a2f2f706f7365722e707567782e6f72672f6172696c6c6f2f73696c7665727374726970652d656c656d656e74732d676c6f62616c2f762f737461626c653f666f726d61743d666c6174)](https://packagist.org/packages/arillo/silverstripe-elements-global) [![Total Downloads](https://camo.githubusercontent.com/e94d401196f1babf62b2a0df025e52bc68dff7f238c604853ea0e65eed194245/68747470733a2f2f706f7365722e707567782e6f72672f6172696c6c6f2f73696c7665727374726970652d656c656d656e74732d676c6f62616c2f646f776e6c6f6164733f666f726d61743d666c6174)](https://packagist.org/packages/arillo/silverstripe-elements-global)

Elements-global will allow you to define specific elements as being global. Global elements can be added to pages by creating a VirtualElement that will work as a link/placeholder to the global element.

The elements that should be available globaly should implement the IElementsGlobal interface. When creating this elements via a ModelAdmin they will automatically get the flag Global set to true.

**You need to specify at least one Element that implements the IElementsGlobal interface.**

```
class HeroElement extends ElementBase implements IElementsGlobal
{
...
}
```

You can restrict the allowed elements to be referenced by a virtual element on a per pagetype basis on your config.yml via the virtual\_elements attribute.

```
HomePage:
  element_relations:
    Elements:
      - HeroElement
      - DownloadElement
      - TeaserElement
      - VirtualElement
    Sidebar:
      - HeroElement
      - VirtualElement
  virtual_elements:
    Elements:
      - HeroElement
```

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

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

###  Release Activity

Cadence

Every ~446 days

Recently: every ~670 days

Total

7

Last Release

133d ago

Major Versions

0.1.1 → 1.1.x-dev2018-10-20

0.1.0 → 1.x-dev2019-11-19

1.2.x-dev → 2.x-dev2025-07-17

2.x-dev → 6.x-dev2026-02-20

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/942981?v=4)[banglashi](/maintainers/banglashi)[@banglashi](https://github.com/banglashi)

---

Top Contributors

[![banglashi](https://avatars.githubusercontent.com/u/942981?v=4)](https://github.com/banglashi "banglashi (29 commits)")[![bumbus](https://avatars.githubusercontent.com/u/1391103?v=4)](https://github.com/bumbus "bumbus (4 commits)")

---

Tags

phpsilverstripesilverstripe-elementssilverstripeglobalelements

### Embed Badge

![Health badge](/badges/arillo-silverstripe-elements-global/health.svg)

```
[![Health](https://phpackages.com/badges/arillo-silverstripe-elements-global/health.svg)](https://phpackages.com/packages/arillo-silverstripe-elements-global)
```

###  Alternatives

[silverstripe/multi-domain

Allows multiple domains to access one CMS instance, mapping them to different sections of the hierarchy

141.6k](/packages/silverstripe-multi-domain)

PHPackages © 2026

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