PHPackages                             contextualcode/ezplatform-xmltext-fieldtype - 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. contextualcode/ezplatform-xmltext-fieldtype

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

contextualcode/ezplatform-xmltext-fieldtype
===========================================

XmlText field type implementation for eZ Platform

v1.9.1(6y ago)013GPL-2.0-onlyPHPPHP ^7.1

Since Oct 21Pushed 6y ago1 watchersCompare

[ Source](https://github.com/SerheyDolgushev/ezplatform-xmltext-fieldtype)[ Packagist](https://packagist.org/packages/contextualcode/ezplatform-xmltext-fieldtype)[ RSS](/packages/contextualcode-ezplatform-xmltext-fieldtype/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (7)Versions (55)Used By (0)

XmlText field type for eZ Platform
==================================

[](#xmltext-field-type-for-ez-platform)

[![Build Status](https://camo.githubusercontent.com/3c12a7872dbadf464bff740506987085dd2f104f30bb2fb70b53818a2abbcff1/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f657a73797374656d732f657a706c6174666f726d2d786d6c746578742d6669656c64747970652e7376673f7374796c653d666c61742d737175617265266272616e63683d6d6173746572)](https://travis-ci.org/ezsystems/ezplatform-xmltext-fieldtype)[![Downloads](https://camo.githubusercontent.com/a18bb76adb90a13ddb3abbcc2800b20d52a3dac0d9a6da3f715b4413d2ef4160/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f657a73797374656d732f657a706c6174666f726d2d786d6c746578742d6669656c64747970652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ezsystems/ezplatform-xmltext-fieldtype)[![Latest release](https://camo.githubusercontent.com/f8353f7ac564a0cd0664f4b2a1348e4ac5663a1228386fd39bbbada3ccb94be7/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f657a73797374656d732f657a706c6174666f726d2d786d6c746578742d6669656c64747970652e7376673f7374796c653d666c61742d737175617265)](https://github.com/ezsystems/ezplatform-xmltext-fieldtype/releases)[![License](https://camo.githubusercontent.com/8137eb64e209219cac93059c780e054ddc837ff370a32a73966446979e0708d3/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f657a73797374656d732f657a706c6174666f726d2d786d6c746578742d6669656c64747970652e7376673f7374796c653d666c61742d737175617265)](LICENSE)

This is the XmlText field type for eZ Platform. It was extracted from the eZ Publish / Platform 5.x as it has been suceeded by docbook based [RichText](https://github.com/ezsystems/ezpublish-kernel/tree/master/eZ/Publish/Core/FieldType/RichText) field type.

*Note: This Field Type supports editing via Platform UI v1 / Admin UI v2, however only as raw (simplified) xml. There has currently not been any attempts at getting Online Editor from legacy extension to work with within Platform UI, to do that among other things someone would need to port the custom html to xml handler from oe extension to this field type. So this Field Type is mainly meant for use for migrating to RichText, see below.*

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

[](#installation)

NOTE: This package comes already bundled with [Legacy Bridge](https://github.com/ezsystems/LegacyBridge). However if you would rather like to 1. migrate your content directly to eZ Platform to take full advantage of it, or 2. otherwise don't want to use legacy but need this field type for some legacy content usage within pure eZ Platform setup, then run the following:

```
composer require --update-with-all-dependencies "ezsystems/ezplatform-xmltext-fieldtype"

```

And lastly enable the bundle by adding `new EzSystems\EzPlatformXmlTextFieldTypeBundle\EzSystemsEzPlatformXmlTextFieldTypeBundle(),` to `app/AppKernel.php` list of bundles.

---

*Once you have migrated your content you can remove the bundle from both `app/AppKernel.php` and `composer.json`.*

Migrating from XmlText to RichText
----------------------------------

[](#migrating-from-xmltext-to-richtext)

**Warning: As of 1.6 this is now fully supported, but regardless of that always make a backup before using the migration tools.**

This package provides tools to migration existing XmlText fields to RichText, the enriched text format eZ Platform uses. The tool comes as a Symfony command, `ezxmltext:convert-to-richtext`.

It will do two things:

- convert `ezxmltext` field definitions to `ezrichtext` field definitions
- convert `ezxmltext` fields (content) to `ezrichtext`

We recommend that you do a test run first using something like:

```
php bin/console ezxmltext:convert-to-richtext -v --concurrency=2 --dry-run

```

The `-v` flag will output logs to the console, making it easy to track the conversion work that is being done. This is an example of a successful conversion log entry for one field:

```
[2016-02-03 15:25:52] app.INFO: Converted ezxmltext field #745 to richtext {"original":"\n\n","converted":"\n\n"}

```

It contains, in a JSON structure, the `original` (ezxmltext) value, and the `converted` (ezrichtext) value that has been written to the database.

Once you are ready to convert, drop `-v` and `--dry-run`.

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community22

Small or concentrated contributor base

Maturity72

Established project with proven stability

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

Recently: every ~112 days

Total

37

Last Release

2310d ago

Major Versions

0.1.0 → 1.0.0-beta12015-10-21

v1.9.1 → v2.0.0-beta12020-03-06

PHP version history (2 changes)v1.9.0PHP ^7.1

v2.0.0-beta1PHP ^7.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/164ba466d4ade219aaf2fa0b4559086c737e59ae64928746c183082dea15c240?d=identicon)[Sergii Dolgushev](/maintainers/Sergii%20Dolgushev)

![](https://avatars.githubusercontent.com/u/10664485?v=4)[Chris](/maintainers/chrismoutsos)[@ChrisMoutsos](https://github.com/ChrisMoutsos)

![](https://avatars.githubusercontent.com/u/432745?v=4)[dbroadfoot](/maintainers/dbroadfoot)[@dbroadfoot](https://github.com/dbroadfoot)

---

Top Contributors

[![lolautruche](https://avatars.githubusercontent.com/u/313528?v=4)](https://github.com/lolautruche "lolautruche (143 commits)")[![pspanja](https://avatars.githubusercontent.com/u/1135425?v=4)](https://github.com/pspanja "pspanja (122 commits)")[![vidarl](https://avatars.githubusercontent.com/u/289778?v=4)](https://github.com/vidarl "vidarl (64 commits)")[![patrickallaert](https://avatars.githubusercontent.com/u/195277?v=4)](https://github.com/patrickallaert "patrickallaert (55 commits)")[![emodric](https://avatars.githubusercontent.com/u/362286?v=4)](https://github.com/emodric "emodric (54 commits)")[![dpobel](https://avatars.githubusercontent.com/u/305563?v=4)](https://github.com/dpobel "dpobel (43 commits)")[![andrerom](https://avatars.githubusercontent.com/u/289757?v=4)](https://github.com/andrerom "andrerom (14 commits)")[![SerheyDolgushev](https://avatars.githubusercontent.com/u/166894?v=4)](https://github.com/SerheyDolgushev "SerheyDolgushev (7 commits)")[![bdunogier](https://avatars.githubusercontent.com/u/235928?v=4)](https://github.com/bdunogier "bdunogier (6 commits)")[![tobyS](https://avatars.githubusercontent.com/u/187140?v=4)](https://github.com/tobyS "tobyS (5 commits)")[![StephaneDiot](https://avatars.githubusercontent.com/u/5558766?v=4)](https://github.com/StephaneDiot "StephaneDiot (5 commits)")[![crevillo](https://avatars.githubusercontent.com/u/306215?v=4)](https://github.com/crevillo "crevillo (4 commits)")[![yannickroger](https://avatars.githubusercontent.com/u/4035241?v=4)](https://github.com/yannickroger "yannickroger (3 commits)")[![bchoquet-heliopsis](https://avatars.githubusercontent.com/u/465757?v=4)](https://github.com/bchoquet-heliopsis "bchoquet-heliopsis (3 commits)")[![blankse](https://avatars.githubusercontent.com/u/998558?v=4)](https://github.com/blankse "blankse (3 commits)")[![joekepley](https://avatars.githubusercontent.com/u/29961?v=4)](https://github.com/joekepley "joekepley (3 commits)")[![MarioBlazek](https://avatars.githubusercontent.com/u/6605175?v=4)](https://github.com/MarioBlazek "MarioBlazek (3 commits)")[![beberlei](https://avatars.githubusercontent.com/u/26936?v=4)](https://github.com/beberlei "beberlei (2 commits)")[![Nattfarinn](https://avatars.githubusercontent.com/u/5822569?v=4)](https://github.com/Nattfarinn "Nattfarinn (2 commits)")[![pborreli](https://avatars.githubusercontent.com/u/77759?v=4)](https://github.com/pborreli "pborreli (2 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/contextualcode-ezplatform-xmltext-fieldtype/health.svg)

```
[![Health](https://phpackages.com/badges/contextualcode-ezplatform-xmltext-fieldtype/health.svg)](https://phpackages.com/packages/contextualcode-ezplatform-xmltext-fieldtype)
```

###  Alternatives

[ezsystems/ezplatform-xmltext-fieldtype

XmlText field type implementation for eZ Platform

16231.8k4](/packages/ezsystems-ezplatform-xmltext-fieldtype)[ezsystems/legacy-bridge

eZ Platform bridge to eZ Publish Legacy

17118.9k5](/packages/ezsystems-legacy-bridge)[netgen/information-collection-bundle

Information collection alike feature for Ibexa Platform

1945.8k11](/packages/netgen-information-collection-bundle)[netgen/remote-media-bundle

Remote media field type implementation

189.6k6](/packages/netgen-remote-media-bundle)[codein/ibexa-seo-toolkit

Ibexa Toolkit to advise users on best SEO practices.

112.5k](/packages/codein-ibexa-seo-toolkit)

PHPackages © 2026

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