PHPackages                             huubl/silverstripe-elemental-base - 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. huubl/silverstripe-elemental-base

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

huubl/silverstripe-elemental-base
=================================

add more options to the base element

023PHP

Since Apr 9Pushed 7y agoCompare

[ Source](https://github.com/huubl/silverstripe-elemental-base)[ Packagist](https://packagist.org/packages/huubl/silverstripe-elemental-base)[ RSS](/packages/huubl-silverstripe-elemental-base/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

silverstripe-elemental-base
===========================

[](#silverstripe-elemental-base)

Silverstripe Elemental Alternate Base

Usage
=====

[](#usage)

elements.yml:

```
---
Name: myelements
After: silverstripe-elemental-textimage
---
Page:
  extensions:
  - ATW\ElementalBase\Extensions\ElementalPageExtension
  ATW\ElementalTextImage\Models\ElementTextImage:
    variants:
      section--imageleft: 'Image Left'
      section--imageright: 'Image Right'
    variants_name: 'Image direction'
  ATW\ElementalBase\Models\ElementText:
    options:
      section--highlight: 'Highlight'
    options_name: 'Options'
ATW\ElementalBase\Models\BaseElement:
  use_submenu: false

```

Options and Variants
====================

[](#options-and-variants)

Variants and options can be defined in the config. They are displayed in the CMS as dropdown (Variants) and checkboxes (Options).

They can be included in the template.

ElementTextImage.ss:

```

            $Title

                $Text

                $Image

```

Submenu
=======

[](#submenu)

For the generation of anchor menus:

```
ATW\ElementalBase\Models\BaseElement:
  use_submenu: true

```

Displays title and option for the submenu in the CMS.

In the template:

```

    $Title

```

Menu Extension
==============

[](#menu-extension)

Not really related:

```
Page:
  extensions:
  - ATW\ElementalBase\Extensions\MenuPageExtension
  menus:
    main: "Main menu"
    footer: "Footer menu"
PageController:
  extensions:
  - ATW\ElementalBase\Extensions\MenuContentControllerExtension

```

In the template:

```

$MenuTitle

```

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity37

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/4d26917b10f8c7a75c2aee51c98329366bfe6f62eb75fd0f4d49c4bbcffe6dc4?d=identicon)[huubl](/maintainers/huubl)

---

Top Contributors

[![huub-l](https://avatars.githubusercontent.com/u/21224531?v=4)](https://github.com/huub-l "huub-l (1 commits)")

### Embed Badge

![Health badge](/badges/huubl-silverstripe-elemental-base/health.svg)

```
[![Health](https://phpackages.com/badges/huubl-silverstripe-elemental-base/health.svg)](https://phpackages.com/packages/huubl-silverstripe-elemental-base)
```

PHPackages © 2026

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