PHPackages                             webfox/silverstripe-global-content - 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. webfox/silverstripe-global-content

AbandonedArchivedSilverstripe-module

webfox/silverstripe-global-content
==================================

Silverstripe SiteConfig like interface for global content that content-authors can access

v1.1.1(9y ago)44.4k3MITPHPPHP &gt;=5.4

Since Feb 23Pushed 9y ago2 watchersCompare

[ Source](https://github.com/webfox/silverstripe-global-content)[ Packagist](https://packagist.org/packages/webfox/silverstripe-global-content)[ RSS](/packages/webfox-silverstripe-global-content/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (5)Dependencies (1)Versions (6)Used By (0)

silverstripe-global-content
===========================

[](#silverstripe-global-content)

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

[](#installation)

This module only supports installation via composer.

Run the following to add this module as a requirement and install it via composer.

```
composer require "webfox/silverstripe-global-content"
```

then browse to /dev/build?flush=all

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

[](#requirements)

- SilverStripe 3.2+
- PHP 5.4+

Module Overview
---------------

[](#module-overview)

This module adds a convenient `SiteConfig` like interface for managing global content. Useful for when you want global content but don't want to give content-authors access to `SiteConfig`

Module Usage
------------

[](#module-usage)

Too add additional fields:

- Create a `DataExtension` that gets applied to `GlobalContent`
- The extension requires an `updateCMSFields(FieldList $fields)` method and any standard `DataExtension` properties

```
class GlobalContentExtension extends DataExtension
{

    protected static $db = [
        'MyFieldName' => 'Varchar'
    ];

    public function updateCMSFields(FieldList $fields)
    {

        $fields->addFieldToTab(
            'Root.Main',
            TextField::create('MyFieldName', 'My field name')
        );

    }

}
```

The use with permissions:

- Grant the user/role/group the `Access to 'Global Content' section` permission

To use in templates:

- `$GlobalContent.MyFieldName`
- ` {$MyFieldName} `
- `$GlobalContent('MyFieldName')`

To use in PHP:

- `GlobalContent::inst()->MyFieldName`

To alter the edit form directly:

- Create a new `LeftAndMainExtension` that gets applied to `GlobalContentAdmin`
- The extension can use the `updateEditForm($form)` method to update the form **before** data is loaded.
- The extension can use the `updateEditFormData($form)` method to update the form **after** data is loaded.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 71.4% 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 ~82 days

Total

5

Last Release

3403d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/89a3fc3149eeb34725cdbe81bee9adc4a9db23425ef3595a3a115a4f23c813ea?d=identicon)[foxbytehq](/maintainers/foxbytehq)

---

Top Contributors

[![hailwood](https://avatars.githubusercontent.com/u/709773?v=4)](https://github.com/hailwood "hailwood (5 commits)")[![spekulatius](https://avatars.githubusercontent.com/u/8433587?v=4)](https://github.com/spekulatius "spekulatius (1 commits)")[![zanderwar](https://avatars.githubusercontent.com/u/13566916?v=4)](https://github.com/zanderwar "zanderwar (1 commits)")

---

Tags

silverstripeglobalwebfox

### Embed Badge

![Health badge](/badges/webfox-silverstripe-global-content/health.svg)

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

###  Alternatives

[silvershop/core

Provides an ecommerce product catalog, shopping cart, and order management system

11340.0k42](/packages/silvershop-core)[silverstripe-terraformers/gridfield-rich-filter-header

Rich filter header component for GridField

1325.7k1](/packages/silverstripe-terraformers-gridfield-rich-filter-header)[sunnysideup/ecommerce

Silverstripe E-commerce Application

257.2k79](/packages/sunnysideup-ecommerce)

PHPackages © 2026

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