PHPackages                             codein/ibexa-color-picker - 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. codein/ibexa-color-picker

ActiveEzplatform-bundle[Utility &amp; Helpers](/categories/utility)

codein/ibexa-color-picker
=========================

Ibexa Platform color picker field type

4.0.0(11mo ago)52.3k↓25%5[6 issues](https://github.com/Codein-Labs/ibexa-color-picker/issues)MITPHPPHP ^7.4 || ^8.0

Since Sep 23Pushed 11mo ago2 watchersCompare

[ Source](https://github.com/Codein-Labs/ibexa-color-picker)[ Packagist](https://packagist.org/packages/codein/ibexa-color-picker)[ RSS](/packages/codein-ibexa-color-picker/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (3)Versions (8)Used By (0)

Codein IbexaColorPicker
=======================

[](#codein-ibexacolorpicker)

Symfony bundle that adds color management to Ibexa Platform.

(If you want an eZ Platform 2.5 compatible version of this bundle, check this repository instead : )

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

[](#installation)

```
composer require codein/ibexa-color-picker

```

Activate the bundle in bundles.php

```
Codein\eZColorPicker\eZColorPickerBundle::class => ['all' => true],

```

Compile the assets for the admin UI

```
./bin/console ezplatform:encore:compile

```

Usage
-----

[](#usage)

### Default value

[](#default-value)

You can set a default color for your field. The default color will be proposed to the user if no color is already set. If the field is required, the default color is assigned as default. If not, no color is assigned.

### Twig

[](#twig)

The default color format rendered in Twig is RGBa. You can pass extra options to ez\_render\_field.

- format: RGBa, HEXa, HSVa, RGB, HEX
- default: default value returned if field is empty. If not set ez\_render\_field will return an empty string

```
{{ ez_render_field(content, 'color2', {'parameters': {'format': 'HEX', 'default': 'none'}}) }}
```

### Migration

[](#migration)

The method \\Codein\\eZColorPicker\\FieldType\\ColorPicker\\Type::acceptValue will accept a single string and convert it into a color. Following formats are converted into a valid value object :

```
HSVa: hsva(0, 86%, 69%, 0.69)
RGBa: rgba(176, 25, 25, 0.69)
HEXa: #B01919B0
RGB: rgb(176, 25, 25)
HEX: #B01919

```

You can use this feature when writing migrations.

We also provide a color converter service for your needs [here](lib/ColorConverter/ColorConverter.php).

### Acknowledgement

[](#acknowledgement)

This bundle uses Pickr () under the MIT Licence.

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance30

Infrequent updates — may be unmaintained

Popularity27

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 52.1% 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 ~341 days

Recently: every ~409 days

Total

6

Last Release

355d ago

Major Versions

1.0.2 → 2.0.02021-07-12

2.0.0 → 3.0.02023-06-16

3.0.1 → 4.0.02025-05-28

PHP version history (3 changes)1.0.1PHP ^7.3

3.0.1PHP ^7.3 || ^8.0

4.0.0PHP ^7.4 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/3d227a06d2b471d9decd487a1d3141216adba1fb1cc5d7df5785d6ee28242bd4?d=identicon)[codein](/maintainers/codein)

---

Top Contributors

[![mrk-te](https://avatars.githubusercontent.com/u/492404?v=4)](https://github.com/mrk-te "mrk-te (38 commits)")[![axelveber](https://avatars.githubusercontent.com/u/11234843?v=4)](https://github.com/axelveber "axelveber (22 commits)")[![Csniadach-codein](https://avatars.githubusercontent.com/u/71335604?v=4)](https://github.com/Csniadach-codein "Csniadach-codein (5 commits)")[![axel-veber-beclood](https://avatars.githubusercontent.com/u/25744147?v=4)](https://github.com/axel-veber-beclood "axel-veber-beclood (4 commits)")[![jlecocq-kaliop](https://avatars.githubusercontent.com/u/11440803?v=4)](https://github.com/jlecocq-kaliop "jlecocq-kaliop (2 commits)")[![simonjenncodein](https://avatars.githubusercontent.com/u/10127815?v=4)](https://github.com/simonjenncodein "simonjenncodein (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/codein-ibexa-color-picker/health.svg)

```
[![Health](https://phpackages.com/badges/codein-ibexa-color-picker/health.svg)](https://phpackages.com/packages/codein-ibexa-color-picker)
```

###  Alternatives

[novactive/ezseobundle

Novactive eZ SEO Bundle is an Ibexa Platform bundle for SEO simplications. metas, sitemaps, robots.txt, etc.

26252.0k2](/packages/novactive-ezseobundle)[netgen/tagsbundle

Netgen Tags Bundle is an Ibexa DXP bundle for taxonomy management and easier classification of content, providing more functionality for tagging content than ibexa\_keyword field type included in Ibexa core.

49456.8k21](/packages/netgen-tagsbundle)[lolautruche/ez-core-extra-bundle

Extra sugar for building Ibexa websites

27421.1k7](/packages/lolautruche-ez-core-extra-bundle)[netgen/richtext-datatype-bundle

Netgen RichText datatype bundle allows eZ Publish Legacy to work with rich text (ezrichtext) field type available in eZ Platform

1033.4k3](/packages/netgen-richtext-datatype-bundle)

PHPackages © 2026

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