PHPackages                             mediawiki/semantic-forms-select - 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. mediawiki/semantic-forms-select

ActiveMediawiki-extension[Utility &amp; Helpers](/categories/utility)

mediawiki/semantic-forms-select
===============================

Allows to generate a select field in a form whose values are retrieved from a query

5.0.0(3w ago)716.4k14[7 issues](https://github.com/SemanticMediaWiki/SemanticFormsSelect/issues)[2 PRs](https://github.com/SemanticMediaWiki/SemanticFormsSelect/pulls)1GPL-2.0-or-laterPHPPHP &gt;=8.1CI failing

Since Sep 10Pushed 1w ago11 watchersCompare

[ Source](https://github.com/SemanticMediaWiki/SemanticFormsSelect)[ Packagist](https://packagist.org/packages/mediawiki/semantic-forms-select)[ Docs](https://www.mediawiki.org/wiki/Extension:SemanticFormsSelect)[ Fund](https://www.semantic-mediawiki.org/wiki/Sponsorship)[ Fund](https://opencollective.com/smw)[ RSS](/packages/mediawiki-semantic-forms-select/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (9)Versions (18)Used By (1)

Semantic Forms Select
=====================

[](#semantic-forms-select)

[![CI](https://github.com/SemanticMediaWiki/SemanticFormsSelect/actions/workflows/ci.yml/badge.svg)](https://github.com/SemanticMediaWiki/SemanticFormsSelect/actions/workflows/ci.yml)[![codecov](https://camo.githubusercontent.com/373c2989bf632083219f8213a060fdd433f54f9ae307daab11aa51e45147afb6/68747470733a2f2f636f6465636f762e696f2f67682f53656d616e7469634d6564696157696b692f53656d616e746963466f726d7353656c6563742f6272616e63682f6d61737465722f67726170682f62616467652e7376673f746f6b656e3d73536a586c7a55445849)](https://codecov.io/gh/SemanticMediaWiki/SemanticFormsSelect)

Semantic Forms Select (a.k.a. SFS) can generate a select form element with values retrieved from a `#ask` query or a parser function.

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

[](#requirements)

- PHP 8.1 or later
- MediaWiki 1.43 or later
- [Semantic MediaWiki](https://github.com/SemanticMediaWiki/SemanticMediaWiki) 7.0 or later
- [Page Forms](https://www.mediawiki.org/wiki/Extension:Page_Forms) 6.0.6 or later

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

[](#installation)

The recommended way to install Semantic Forms Select is using [Composer](http://getcomposer.org) with [MediaWiki's built-in support for Composer](https://www.mediawiki.org/wiki/Composer).

Note that the required extensions Semantic MediaWiki and Page Forms must be installed first according to the installation instructions provided for them.

### Step 1

[](#step-1)

Change to the base directory of your MediaWiki installation. This is where the "LocalSettings.php" file is located. If you have not yet installed Composer do it now by running the following command in your shell:

```
wget https://getcomposer.org/composer.phar

```

### Step 2

[](#step-2)

If you do not have a "composer.local.json" file yet, create one and add the following content to it:

```
{
	"require": {
		"mediawiki/semantic-forms-select": "~5.0"
	}
}

```

If you already have a "composer.local.json" file add the following line to the end of the "require" section in your file:

```
"mediawiki/semantic-forms-select": "~5.0"

```

Remember to add a comma to the end of the preceding line in this section.

### Step 3

[](#step-3)

Run the following command in your shell:

```
php composer.phar update --no-dev

```

Note if you have Git installed on your system add the `--prefer-source` flag to the above command. Also note that it may be necessary to run this command twice. If unsure do it twice right away.

### Step 4

[](#step-4)

Add the following line to the end of your "LocalSettings.php" file:

```
wfLoadExtension( 'SemanticFormsSelect' );

```

### Verify installation success

[](#verify-installation-success)

As final step, you can verify SFS got installed by looking at the "Special:Version" page on your wiki and check that it is listed in the semantic extensions section.

Usage
-----

[](#usage)

Please consult the [help](https://www.mediawiki.org/wiki/Extension:SemanticFormsSelect) page for more information and examples.

Contribution and support
------------------------

[](#contribution-and-support)

If you want to contribute work to the project please subscribe to the developers mailing list and have a look at the contribution guideline.

- [File an issue](https://github.com/SemanticMediaWiki/SemanticFormsSelect/issues)
- [Submit a pull request](https://github.com/SemanticMediaWiki/SemanticFormsSelect/pulls)
- Ask a question on [the mailing list](https://www.semantic-mediawiki.org/wiki/Mailing_list)
- Ask a question on the #semantic-mediawiki IRC channel on Freenode.

Original code from

Tests
-----

[](#tests)

This extension provides PHP and JavaScript tests that are run by a continuous integration platform but can also be executed using `composer phpunit` and `npm ci && npm test` from the extension base directory.

License
-------

[](#license)

[GNU General Public License, version 2 or later](https://www.gnu.org/copyleft/gpl.html).

###  Health Score

58

—

FairBetter than 98% of packages

Maintenance77

Regular maintenance activity

Popularity33

Limited adoption so far

Community33

Small or concentrated contributor base

Maturity80

Battle-tested with a long release history

 Bus Factor3

3 contributors hold 50%+ of commits

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

Recently: every ~817 days

Total

10

Last Release

26d ago

Major Versions

1.3 → 2.0.02016-12-19

2.1.1 → 3.0.02018-10-05

3.0.0 → 4.0.0-beta2022-04-28

4.0.0 → 5.0.02026-06-08

PHP version history (5 changes)1.2PHP &gt;=5.3.0

2.0.0PHP &gt;=5.5

3.0.0PHP &gt;=5.6

4.0.0-betaPHP &gt;=7.3

4.0.0PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/451bd4039d530fed8f9c3da91bfa519233a397d2182cdfdcad700f6cfea19b7f?d=identicon)[Jeroen De Dauw](/maintainers/Jeroen%20De%20Dauw)

![](https://www.gravatar.com/avatar/5218ca0754245ef120fb4ebc1c520616cb8339e5e4f81301e4906893859d5404?d=identicon)[toniher](/maintainers/toniher)

![](https://avatars.githubusercontent.com/u/22235?v=4)[Stefan Wasilewski](/maintainers/SMW)[@smw](https://github.com/smw)

![](https://www.gravatar.com/avatar/372f9bc1233d5518b9522cb681210a8de2765a3a9bbde20138f6ad5332a411ca?d=identicon)[mwjames](/maintainers/mwjames)

![](https://avatars.githubusercontent.com/u/1104078?v=4)[Karsten Hoffmeyer](/maintainers/kghbln)[@kghbln](https://github.com/kghbln)

---

Top Contributors

[![toniher](https://avatars.githubusercontent.com/u/535539?v=4)](https://github.com/toniher "toniher (79 commits)")[![paladox](https://avatars.githubusercontent.com/u/5727000?v=4)](https://github.com/paladox "paladox (59 commits)")[![gesinn-it-gea](https://avatars.githubusercontent.com/u/10398316?v=4)](https://github.com/gesinn-it-gea "gesinn-it-gea (31 commits)")[![translatewiki](https://avatars.githubusercontent.com/u/24829418?v=4)](https://github.com/translatewiki "translatewiki (26 commits)")[![mwjames](https://avatars.githubusercontent.com/u/1245473?v=4)](https://github.com/mwjames "mwjames (23 commits)")[![kghbln](https://avatars.githubusercontent.com/u/1104078?v=4)](https://github.com/kghbln "kghbln (21 commits)")[![gesinn-it-evl](https://avatars.githubusercontent.com/u/137869039?v=4)](https://github.com/gesinn-it-evl "gesinn-it-evl (13 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (13 commits)")[![alistair3149](https://avatars.githubusercontent.com/u/9260542?v=4)](https://github.com/alistair3149 "alistair3149 (8 commits)")[![JeroenDeDauw](https://avatars.githubusercontent.com/u/146040?v=4)](https://github.com/JeroenDeDauw "JeroenDeDauw (8 commits)")[![gesinn-it-wam](https://avatars.githubusercontent.com/u/92986684?v=4)](https://github.com/gesinn-it-wam "gesinn-it-wam (5 commits)")[![Seb35](https://avatars.githubusercontent.com/u/772681?v=4)](https://github.com/Seb35 "Seb35 (5 commits)")[![Nikerabbit](https://avatars.githubusercontent.com/u/1109395?v=4)](https://github.com/Nikerabbit "Nikerabbit (5 commits)")[![jaideraf](https://avatars.githubusercontent.com/u/3636594?v=4)](https://github.com/jaideraf "jaideraf (4 commits)")[![JanBoehme](https://avatars.githubusercontent.com/u/704328?v=4)](https://github.com/JanBoehme "JanBoehme (3 commits)")[![gesinn-it-ilm](https://avatars.githubusercontent.com/u/169881483?v=4)](https://github.com/gesinn-it-ilm "gesinn-it-ilm (3 commits)")[![Rudloff](https://avatars.githubusercontent.com/u/840125?v=4)](https://github.com/Rudloff "Rudloff (2 commits)")[![krabina](https://avatars.githubusercontent.com/u/4318745?v=4)](https://github.com/krabina "krabina (2 commits)")[![cscott](https://avatars.githubusercontent.com/u/156080?v=4)](https://github.com/cscott "cscott (2 commits)")[![vedmaka](https://avatars.githubusercontent.com/u/592009?v=4)](https://github.com/vedmaka "vedmaka (2 commits)")

---

Tags

formsmediawikimwsemanticsemantic-mediawikisfssmwmediawikiSMWSemantic MediaWikiPage Forms

### Embed Badge

![Health badge](/badges/mediawiki-semantic-forms-select/health.svg)

```
[![Health](https://phpackages.com/badges/mediawiki-semantic-forms-select/health.svg)](https://phpackages.com/packages/mediawiki-semantic-forms-select)
```

###  Alternatives

[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.5k10](/packages/helsingborg-stad-municipio)[mediawiki/maps

Adds various mapping features to MediaWiki

84152.3k3](/packages/mediawiki-maps)[mediawiki/semantic-cite

A Semantic MediaWiki extension to manage citation resources.

2510.4k1](/packages/mediawiki-semantic-cite)[mediawiki/semantic-result-formats

Provides additional result formats for queries using Semantic MediaWiki

56188.7k1](/packages/mediawiki-semantic-result-formats)[mediawiki/semantic-extra-special-properties

Provides extra special properties for Semantic MediaWiki

3079.9k1](/packages/mediawiki-semantic-extra-special-properties)[mediawiki/semantic-breadcrumb-links

An extension to Semantic MediaWiki allowing to build breadcrumb links from an attributive property filter

2021.9k](/packages/mediawiki-semantic-breadcrumb-links)

PHPackages © 2026

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