PHPackages                             sunnysideup/add-casted-variables - 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. sunnysideup/add-casted-variables

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

sunnysideup/add-casted-variables
================================

This module allows you to add a list of values to the CMS Fields for a record based around the casting (casted) methods / variables so that you get more information abohe record

1.0.1(8mo ago)0631BSD-3-ClausePHP

Since May 2Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/sunnysideup/silverstripe-add-casted-variables)[ Packagist](https://packagist.org/packages/sunnysideup/add-casted-variables)[ RSS](/packages/sunnysideup-add-casted-variables/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (8)Versions (4)Used By (1)

Silverstripe Module to add Casted (casting) Variables to the CMS Fields
=======================================================================

[](#silverstripe-module-to-add-casted-casting-variables-to-the-cms-fields)

[![Build Status](https://camo.githubusercontent.com/334e886f9fe28a2e5377e024511a8895ada66ef44597ea5fec7368ddfd352ddb/68747470733a2f2f7472617669732d63692e6f72672f73756e6e797369646575702f73696c7665727374726970652d6164642d6361737465642d7661726961626c65732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/sunnysideup/silverstripe-add-casted-variables)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/2ac7cbefcac90bc3e700d6e4368caec6339d55cbd0b180524a7daa4d8a3b3640/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f73756e6e797369646575702f73696c7665727374726970652d6164642d6361737465642d7661726961626c65732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/sunnysideup/silverstripe-add-casted-variables/?branch=master)[![codecov.io](https://camo.githubusercontent.com/fd46efd25b5c4d6a5d1474dcd30bfc341ef7143a18bd64da8eb2079ebe469b77/68747470733a2f2f636f6465636f762e696f2f6769746875622f73756e6e797369646575702f73696c7665727374726970652d6164642d6361737465642d7661726961626c65732f636f7665726167652e7376673f6272616e63683d6d6173746572)](https://codecov.io/github/sunnysideup/silverstripe-add-casted-variables?branch=master)

[![Latest Stable Version](https://camo.githubusercontent.com/bc54186077bd6bafcda525b16c5b4c0e48ffcad6a4cbc796a81ef1d2250cb605/68747470733a2f2f706f7365722e707567782e6f72672f73756e6e797369646575702f6164642d6361737465642d7661726961626c65732f76657273696f6e)](https://packagist.org/packages/sunnysideup/add-casted-variables)[![License](https://camo.githubusercontent.com/55c94e2222bfc85f07943ced7891040aa518dad49da6d3418853108c97270b2e/68747470733a2f2f706f7365722e707567782e6f72672f73756e6e797369646575702f6164642d6361737465642d7661726961626c65732f6c6963656e7365)](https://packagist.org/packages/sunnysideup/add-casted-variables)[![Monthly Downloads](https://camo.githubusercontent.com/86c23e2ee687c0da0e2dfe62410a79d9e51737bd013af090c34cfbd174fadf21/68747470733a2f2f706f7365722e707567782e6f72672f73756e6e797369646575702f6164642d6361737465642d7661726961626c65732f642f6d6f6e74686c79)](https://packagist.org/packages/sunnysideup/add-casted-variables)

Documentation
-------------

[](#documentation)

- [Developer Docs](docs/en/INDEX.md)
- [User Guide](docs/en/userguide.md)
- [API Docs](http://docs.ssmods.com/sunnysideup/add-casted-variables/classes.xhtml)

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

[](#requirements)

See [composer.json](composer.json) for details.

### Suggested modules

[](#suggested-modules)

See [composer.json](composer.json) for details.

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

[](#installation)

```
composer require sunnysideup/add-casted-variables
```

### Configuration

[](#configuration)

In the `_config` folder you will find the `add-casted-variables.yml.example`file that shows options for the configuration of this module.

We recommend that you:

1. copy these `add-casted-variables.yml.example` files into your `app/_config` folder (where available - otherwise search for `private static $` in the module to see what can be configured)
2. remove the .example extension,
3. delete the lines you do not care about, and
4. adjust the configurations that you would like to use.

Contributing
------------

[](#contributing)

We welcome any contributions. See [CONTRIBUTING.md](CONTRIBUTING.md) for more details.

Paid assistance
---------------

[](#paid-assistance)

You can pay us to create an improved / adapted version of this module for your own projects. Please contact us if you like to find out more: [www.sunnysideup.co.nz](https://www.sunnysideup.co.nz). For example, we can write tests for this module.

Author
------

[](#author)

Sunny Side Up Ltd.

Looking for Silverstripe Modules?
---------------------------------

[](#looking-for-silverstripe-modules)

To find other modules, please visit [ssmods.com](https://ssmods.com/).

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance79

Regular maintenance activity

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity39

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.

###  Release Activity

Cadence

Every ~89 days

Total

3

Last Release

197d ago

Major Versions

1.0.1 → 5.x-dev2025-10-27

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/167154?v=4)[Sunny Side Up](/maintainers/sunnysideup)[@sunnysideup](https://github.com/sunnysideup)

---

Top Contributors

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

---

Tags

debuggingcastingcreatedcms fieldslasteditedcastedCMSFieldsMore IntelAbout this RecordCMS Experience

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/sunnysideup-add-casted-variables/health.svg)

```
[![Health](https://phpackages.com/badges/sunnysideup-add-casted-variables/health.svg)](https://phpackages.com/packages/sunnysideup-add-casted-variables)
```

###  Alternatives

[silverstripe/subsites

Run multiple sites from a single SilverStripe install.

65392.9k20](/packages/silverstripe-subsites)[symbiote/silverstripe-advancedworkflow

Adds configurable workflow support to the CMS, with a GUI for creating custom workflow definitions.

46295.2k7](/packages/symbiote-silverstripe-advancedworkflow)[silverstripe/taxonomy

Provide extra taxonomy for cataloguing the data.

10481.5k19](/packages/silverstripe-taxonomy)[wedevelopnl/silverstripe-elemental-grid

Elemental grid module

1014.1k2](/packages/wedevelopnl-silverstripe-elemental-grid)

PHPackages © 2026

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