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

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

se7enxweb/ezplatform-xmltext-fieldtype
======================================

XmlText field type implementation for eZ Platform

v2.0.3(1mo ago)2582GPL-2.0-onlyPHPPHP ^7.3 || ^8.0 || ^8.1 || ^8.2 || ^8.3 || ^8.4 || ^8.5

Since Oct 21Pushed 1mo agoCompare

[ Source](https://github.com/se7enxweb/ezplatform-xmltext-fieldtype)[ Packagist](https://packagist.org/packages/se7enxweb/ezplatform-xmltext-fieldtype)[ Fund](https://account.venmo.com/u/se7enxweb)[ Fund](https://cash.app/$7xweb)[ RSS](/packages/se7enxweb-ezplatform-xmltext-fieldtype/feed)WikiDiscussions 1.8 Synced 1mo ago

READMEChangelog (6)Dependencies (16)Versions (60)Used By (2)

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, 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 app/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

61

—

FairBetter than 99% of packages

Maintenance98

Actively maintained with recent releases

Popularity14

Limited adoption so far

Community25

Small or concentrated contributor base

Maturity95

Battle-tested with a long release history

 Bus Factor2

2 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 ~67 days

Recently: every ~8 days

Total

58

Last Release

34d ago

Major Versions

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

v1.9.2 → v2.0.02020-04-10

1.9.x-dev → v2.0.22021-03-30

1.9.4.1 → v2.0.32026-03-26

2.x-dev → 4.x-dev2026-04-04

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

v2.0.0-beta1PHP ^7.3

1.9.4.1PHP ^7.1 || ^8.0 || ^8.1 || ^8.2 || ^8.3 || ^8.4 || ^8.5

2.x-devPHP ^7.3 || ^8.0 || ^8.1 || ^8.2 || ^8.3 || ^8.4 || ^8.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/d2a5049c5b1e7a22c301a2472d09281be35f717da316873861c1a8ae785ada7a?d=identicon)[7x](/maintainers/7x)

---

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 (62 commits)")[![patrickallaert](https://avatars.githubusercontent.com/u/195277?v=4)](https://github.com/patrickallaert "patrickallaert (55 commits)")[![dpobel](https://avatars.githubusercontent.com/u/305563?v=4)](https://github.com/dpobel "dpobel (43 commits)")[![emodric](https://avatars.githubusercontent.com/u/362286?v=4)](https://github.com/emodric "emodric (14 commits)")[![andrerom](https://avatars.githubusercontent.com/u/289757?v=4)](https://github.com/andrerom "andrerom (13 commits)")[![se7enxweb](https://avatars.githubusercontent.com/u/51429274?v=4)](https://github.com/se7enxweb "se7enxweb (8 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)")[![mateuszbieniek](https://avatars.githubusercontent.com/u/38975612?v=4)](https://github.com/mateuszbieniek "mateuszbieniek (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)")

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

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

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

###  Alternatives

[ezsystems/ezplatform-richtext

eZ Platform RichText Extension, including the RichText FieldType.

32748.6k36](/packages/ezsystems-ezplatform-richtext)[ezsystems/ezplatform-xmltext-fieldtype

XmlText field type implementation for eZ Platform

16230.6k3](/packages/ezsystems-ezplatform-xmltext-fieldtype)[ezsystems/ezplatform

eZ Platform distribution

32941.1k](/packages/ezsystems-ezplatform)[ezsystems/ezplatform-matrix-fieldtype

Repository dedicated to Matrix Field Type for eZ Platform

25633.6k11](/packages/ezsystems-ezplatform-matrix-fieldtype)[ezsystems/ezplatform-admin-ui

eZ Platform Admin v2

54805.4k61](/packages/ezsystems-ezplatform-admin-ui)[ezsystems/ez-support-tools

Providing information about the system eZ Platform/Enterprise/Commerce is running on, and eZ install itself

44979.6k18](/packages/ezsystems-ez-support-tools)

PHPackages © 2026

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