PHPackages                             timkelty/craft-elementoptions - 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. timkelty/craft-elementoptions

AbandonedCraft-plugin

timkelty/craft-elementoptions
=============================

This is a generic Craft CMS plugin

1.0.3(9y ago)352102[1 issues](https://github.com/timkelty/craft-elementoptions/issues)PHP

Since Apr 12Pushed 8y ago3 watchersCompare

[ Source](https://github.com/timkelty/craft-elementoptions)[ Packagist](https://packagist.org/packages/timkelty/craft-elementoptions)[ RSS](/packages/timkelty-craft-elementoptions/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (6)Used By (0)

ElementOptions plugin for Craft CMS
===================================

[](#elementoptions-plugin-for-craft-cms)

ElementOptions fieldtypes function similar to the native [Checkboxes](https://craftcms.com/docs/checkboxes-fields) fieldtypes, with the addition of a selected element to each option. Each element type is supported with it's own fieldtype: Assets, Users, Entries, and Categories.

[![Screenshot](resources/img/screenshots/field-input.png)](resources/img/screenshots/field-input.png)

Why
---

[](#why)

The intital need for this plugin was to create a "layout selection" field. While a [radio buttons](https://craftcms.com/docs/radio-buttons-fields) field would do the trick, we wanted to be able to show a selectable image instead of a checkbox and text.

The most applicable element type is Assets, as it allows you to create a field where users can select from a pre-defined set of Assets.

[![Screenshot](resources/img/screenshots/field-input-2.png)](resources/img/screenshots/field-input-2.png)

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

[](#installation)

- Via Composer: `composer require timkelty/craft-elementoptions`
- Git: `git clone https://github.com/timkelty/craft-elementoptions.git craft/plugins/elementoptions`
- Download &amp; unzip the into `craft/plugins/elementoptions` directory

ElementOptions works on Craft 2.4.x and Craft 2.5.x.

Settings
--------

[](#settings)

[![Screenshot](resources/img/screenshots/field-settings.png)](resources/img/screenshots/field-settings.png)

See [Craft Docs for Checkboxes Fields / Settings](https://craftcms.com/docs/checkboxes-fields#settings).

- Limit the number of selectable options
- Select an element for each option, and how that element will be displayed (thumbnails, label, checkbox)
- **Option Label** and **Value** may contain tags that reference the selected entry, such as `{title}` or `{slug}`. This can be useful if you want the label/value to change with element, and vice-versa.

### Templating

[](#templating)

See [Craft Docs for Checkboxes Fields / Templating](https://craftcms.com/docs/checkboxes-fields#templating).

- `option.element` is available. It will return an `ElementCriteriaModel`.

```

    {% for option in entry.elementOptionsFieldHandle %}
        {{ option.element.first().title }}
    {% endfor %}

```

###  Health Score

33

—

LowBetter than 74% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity67

Established project with proven stability

 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 ~14 days

Total

4

Last Release

3637d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f17a828989c32b4dc355214677bca83beeb894450f4ddb3c2b7fa4897712457c?d=identicon)[timkelty](/maintainers/timkelty)

---

Top Contributors

[![timkelty](https://avatars.githubusercontent.com/u/18329?v=4)](https://github.com/timkelty "timkelty (5 commits)")

### Embed Badge

![Health badge](/badges/timkelty-craft-elementoptions/health.svg)

```
[![Health](https://phpackages.com/badges/timkelty-craft-elementoptions/health.svg)](https://phpackages.com/packages/timkelty-craft-elementoptions)
```

###  Alternatives

[elgg/elgg

Elgg is an award-winning social networking engine, delivering the building blocks that enable businesses, schools, universities and associations to create their own fully-featured social networks and applications.

1.7k15.7k3](/packages/elgg-elgg)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

44643.1k1](/packages/pressbooks-pressbooks)[johnbillion/user-switching

Instant switching between user accounts in WordPress and WooCommerce.

19768.3k2](/packages/johnbillion-user-switching)[rainlab/blog-plugin

Blog plugin for October CMS

17257.7k](/packages/rainlab-blog-plugin)[rainlab/user-plugin

User plugin for October CMS

11954.3k13](/packages/rainlab-user-plugin)[starcitizentools/citizen-skin

A beautiful, usable, responsive MediaWiki skin with in-depth extension support. Originally developed for the Star Citizen Wiki.

3164.5k](/packages/starcitizentools-citizen-skin)

PHPackages © 2026

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