PHPackages                             evosoftcz/form-selectize - 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. evosoftcz/form-selectize

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

evosoftcz/form-selectize
========================

Form extension for Nette framework

3.1.0(2y ago)110.5k↓27.3%GPL-3.0JavaScriptPHP &gt;= 8.1

Since Aug 3Pushed 2y agoCompare

[ Source](https://github.com/evosoftcz/form-selectize)[ Packagist](https://packagist.org/packages/evosoftcz/form-selectize)[ Docs](https://github.com/evosoftcz/form-selectize)[ RSS](/packages/evosoftcz-form-selectize/feed)WikiDiscussions master Synced 1mo ago

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

form-selectize
==============

[](#form-selectize)

Form extension for Nette framework

More documentations
-------------------

[](#more-documentations)

- \[javascript settings\] ()
- \[ajax\] ()

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

[](#requirements)

- Nette 3.0
- PHP 7.2+
- jQuery 1.8+
- Selectize.js - included with more features

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

[](#installation)

The best way to install evosoftcz/form-selectize is using [Composer](http://getcomposer.org/):

```
    "repositories": [
		{
			"url": "https://github.com/evosoftcz/form-selectize.git",
			"type": "git"
		}
	],
    "require": {
		"evosoftcz/form-selectize": "^2.0"
	},
```

After installation server site, you have to install client site.

Link `selectize.init.js` from **client-side** and `selectize.js` and call somewhere function `selectize()`.

Last step is enable the extension using your neon config

```
extensions:
	selectize: Selectize\Form\Control\SelectizeExtension

```

Default configuration
---------------------

[](#default-configuration)

```
selectize:
	mode: full # second mode is `select` for selection just 1 option
	create: on
	maxItems: null
	delimiter: #/
	plugins:
		- remove_button
	valueField: id
	labelField: name
	searchField: name

```

Data in array for full mode
---------------------------

[](#data-in-array-for-full-mode)

```
array (2)
	0 => array (2)
		id => 1
		name => "First item"
	1 => array (2)
		id => 2
		name => "Second item"

```

id is set as valueField and name as labelField and searchField in config.neon. You can use whatever, have to just set in config.neon or in addSelectize method. For example:

```
valueField: slug

```

Data in array for select mode
-----------------------------

[](#data-in-array-for-select-mode)

Data for select mode are same as for SelectBox:

```
array (2)
	1 => "First item",
	2 => "Second item"

```

Using
-----

[](#using)

#### Default settings from config.neon

[](#default-settings-from-configneon)

```
$form->addSelectize('tags', 'štítky', $arrayData);
```

#### custome settings in method first way (array)

[](#custome-settings-in-method-first-way-array)

```
$form->addSelectize('tags', 'štítky', $arrayData, ['create' => false, 'maxItems' => 3]);
```

#### custome settings in method first way (method)

[](#custome-settings-in-method-first-way-method)

```
$form->addSelectize('tags', 'štítky', $arrayData)->setValueField('slug')->delimiter('_');
```

Output is:
----------

[](#output-is)

#### Select mode

[](#select-mode)

```
dump($form->values->tags); // return "1"

```

#### Full mode

[](#full-mode)

In full mode it will return array with valueField values. If you create some new tag, it will in sub array with plain text.

```
array (3)
	0 => "1"
	1 => "2"
	new => array (1)
		0 => "Third item"

```

#### Disabled items

[](#disabled-items)

In full mode it support disabled items at droplist

```
array (2)
    0 => array (3)
        'id' => 1
        'name' => "foo"
        'enabled' => true
    1 => array (3)
        'id' => 2
        'name' => "bar"
        'enabled' => false

```

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity76

Established project with proven stability

 Bus Factor1

Top contributor holds 79.2% 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 ~109 days

Recently: every ~167 days

Total

15

Last Release

861d ago

Major Versions

2.1.3 → 3.0.02022-08-05

PHP version history (3 changes)2.0PHP &gt;= 7.2.0

2.1.1PHP &gt;= 7.4

3.0.0PHP &gt;= 8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/0ef77e6b121e92cd0c710cda48e81aa45593327bc08f01d49476e7b29fa93f4d?d=identicon)[Domm98CZ](/maintainers/Domm98CZ)

![](https://www.gravatar.com/avatar/671b0eb114d59a1b78791aec0e286f45885d4cd8342bb19587f29442ffe7ee70?d=identicon)[ondrasoch](/maintainers/ondrasoch)

---

Top Contributors

[![Olicek](https://avatars.githubusercontent.com/u/2891953?v=4)](https://github.com/Olicek "Olicek (42 commits)")[![BigOHenry](https://avatars.githubusercontent.com/u/15823552?v=4)](https://github.com/BigOHenry "BigOHenry (3 commits)")[![Tomas2D](https://avatars.githubusercontent.com/u/15633909?v=4)](https://github.com/Tomas2D "Tomas2D (3 commits)")[![adaamz](https://avatars.githubusercontent.com/u/4347332?v=4)](https://github.com/adaamz "adaamz (2 commits)")[![nechutny](https://avatars.githubusercontent.com/u/5719315?v=4)](https://github.com/nechutny "nechutny (1 commits)")[![mlazovla](https://avatars.githubusercontent.com/u/2652944?v=4)](https://github.com/mlazovla "mlazovla (1 commits)")[![temistokles](https://avatars.githubusercontent.com/u/1108659?v=4)](https://github.com/temistokles "temistokles (1 commits)")

### Embed Badge

![Health badge](/badges/evosoftcz-form-selectize/health.svg)

```
[![Health](https://phpackages.com/badges/evosoftcz-form-selectize/health.svg)](https://phpackages.com/packages/evosoftcz-form-selectize)
```

###  Alternatives

[nette/php-generator

🐘 Nette PHP Generator: generates neat PHP code for you. Supports new PHP 8.5 features.

2.3k64.2M576](/packages/nette-php-generator)[radekdostal/nette-datetimepicker

DatePicker and DateTimePicker input controls for Nette Framework

13272.2k3](/packages/radekdostal-nette-datetimepicker)[olicek/form-selectize

Form extension for Nette framework

124.1k](/packages/olicek-form-selectize)

PHPackages © 2026

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