PHPackages                             undefinedoffset/silverstripe-advancedwidgeteditor - 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. undefinedoffset/silverstripe-advancedwidgeteditor

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

undefinedoffset/silverstripe-advancedwidgeteditor
=================================================

Replaces the Widget Editor to enable support for advanced form fields such as UploadField

2.0.4(1y ago)101.3k1BSD-3-ClausePHP

Since Mar 6Pushed 1y ago1 watchersCompare

[ Source](https://github.com/UndefinedOffset/silverstripe-advancedwidgeteditor)[ Packagist](https://packagist.org/packages/undefinedoffset/silverstripe-advancedwidgeteditor)[ RSS](/packages/undefinedoffset-silverstripe-advancedwidgeteditor/feed)WikiDiscussions master Synced 5d ago

READMEChangelogDependencies (4)Versions (23)Used By (0)

Advanced Widget Editor
======================

[](#advanced-widget-editor)

[![CI](https://github.com/UndefinedOffset/silverstripe-advancedwidgeteditor/actions/workflows/ci.yml/badge.svg)](https://github.com/UndefinedOffset/silverstripe-advancedwidgeteditor/actions/workflows/ci.yml)

Replaces the Widget Editor to enable support for advanced form fields such as `SilverStripe\AssetAdmin\Forms\UploadField`

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

[](#requirements)

- SilverStripe ~4.6 | ~5.0
- [SilverStripe Widgets ~2.0 | ~3.0](https://github.com/silverstripe/silverstripe-widgets/)

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

[](#installation)

```
composer require undefinedoffset/silverstripe-advancedwidgeteditor

```

Usage
-----

[](#usage)

To use advanced widget editor over the default SilverStripe widgets editor you need to change your extension from WidgetPageExtension to use AdvancedWidgetPageExtension instead.

```
Page:
  extensions:
    - 'UndefinedOffset\AdvancedWidgetEditor\Extensions\AdvancedWidgetPageExtension'
```

Controlling Available Widgets per-class
---------------------------------------

[](#controlling-available-widgets-per-class)

To control widgets on a per-class host class (class which the Advanced Widget Editor is controlling the widget area for), you can use the config property available\_widgets for example:

```
Page:
    available_widgets:
        - "RSSWidget"
        - "MyExampleWidget"

SilverStripe\Blog\Model\Blog:
    available_widgets:
        - 'SilverStripe\Blog\Widgets\BlogArchiveWidget'
        - 'SilverStripe\Blog\Widgets\BlogCategoriesWidget'
        - 'SilverStripe\Blog\Widgets\BlogTagsCloudWidget'
        - 'SilverStripe\Blog\Widgets\BlogRecentPostsWidget'
```

In the case of the above example the `Page` class and it's decedent classes will have the `RSSWidget` and `MyExampleWidget` available. Where the `SilverStripe\Blog\Model\Blog` class and it's decendent classes will also have ArchiveWidget, BlogManagementWidget, etc along side the `RSSWidget` and `MyExampleWidget`.

You can also restrict widgets from decedent classes using the example above say we want to restrict the `SilverStripe\Blog\Model\Blog` class to not have access to the `RSSWidget` but still have `Page` be allowed to use that widget, for example you can use the bellow:

```
SilverStripe\Blog\Model\Blog:
    restricted_widgets:
        - "RSSWidget"
```

Reporting an issue
------------------

[](#reporting-an-issue)

When you're reporting an issue please ensure you specify what version of SilverStripe you are using. Also be sure to include any JavaScript or PHP errors you receive, for PHP errors please ensure you include the full stack trace. Also please include how you produced the issue. You may also be asked to provide some of the classes to aid in re-producing the issue. Stick with the issue, remember that you seen the issue not the maintainer of the module so it may take allot of questions to arrive at a fix or answer.

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor1

Top contributor holds 98.7% 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 ~177 days

Recently: every ~275 days

Total

22

Last Release

728d ago

Major Versions

0.4.0 → 1.0.02017-08-17

1.x-dev → 2.0.02021-05-11

### Community

Maintainers

![](https://www.gravatar.com/avatar/60d2d4134f2e196b585f3320d1d7245c03df87a521bc3e17184d16e7ba02f0ee?d=identicon)[UndefinedOffset](/maintainers/UndefinedOffset)

---

Top Contributors

[![UndefinedOffset](https://avatars.githubusercontent.com/u/1391558?v=4)](https://github.com/UndefinedOffset "UndefinedOffset (75 commits)")[![rsmclaren](https://avatars.githubusercontent.com/u/1579625?v=4)](https://github.com/rsmclaren "rsmclaren (1 commits)")

---

Tags

silverstripeblogwidgets

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/undefinedoffset-silverstripe-advancedwidgeteditor/health.svg)

```
[![Health](https://phpackages.com/badges/undefinedoffset-silverstripe-advancedwidgeteditor/health.svg)](https://phpackages.com/packages/undefinedoffset-silverstripe-advancedwidgeteditor)
```

###  Alternatives

[silverstripe/blog

A fresh take on blogging in Silverstripe set out to tackle the issue of a cluttered Site Tree.

104739.2k31](/packages/silverstripe-blog)[silverstripe/widgets

Widgets are small pieces of functionality such as showing the latest Comments or Flickr Photos. They normally display on the sidebar of your website.

39411.8k20](/packages/silverstripe-widgets)

PHPackages © 2026

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