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

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

ezsystems/ezplatform-xmltext-fieldtype
======================================

XmlText field type implementation for eZ Platform

v2.0.2(5y ago)16231.8k↓34.5%30[1 issues](https://github.com/ezsystems/ezplatform-xmltext-fieldtype/issues)[3 PRs](https://github.com/ezsystems/ezplatform-xmltext-fieldtype/pulls)4GPL-2.0-onlyPHPPHP ^7.3CI failing

Since Oct 21Pushed 5y ago24 watchersCompare

[ Source](https://github.com/ezsystems/ezplatform-xmltext-fieldtype)[ Packagist](https://packagist.org/packages/ezsystems/ezplatform-xmltext-fieldtype)[ RSS](/packages/ezsystems-ezplatform-xmltext-fieldtype/feed)WikiDiscussions master Synced today

READMEChangelog (10)Dependencies (8)Versions (50)Used By (4)

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/ezplatform-richtext) field type.

### Support limitations

[](#support-limitations)

- 2.x: For eZ Platform v3, this bundle is **only** supported for the purpose of migrating content from XmlText to RichText field type
- 1.x: For eZ Platform v1 &amp; v2, this bundle is supported for two use cases: Migration to Richtext, &amp; rendering via Platform frontend\*.

*\* While it does support editing via Platform Admin UI it is only editable as raw xmltext in a textbox, so supported use as of this field type is for temprary upgrde scenarios where legacy admin interface is used, and frontend code is being developed/migrated to eZ Platform stack (including to Symfony).*

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

44

—

FairBetter than 90% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity43

Moderate usage in the ecosystem

Community36

Small or concentrated contributor base

Maturity71

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

Recently: every ~0 days

Total

48

Last Release

1921d ago

Major Versions

0.1.0 → 1.0.0-beta12015-10-21

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

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

v2.0.0-beta1PHP ^7.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/235928?v=4)[Bertrand Dunogier](/maintainers/bdunogier)[@bdunogier](https://github.com/bdunogier)

---

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)")[![emodric](https://avatars.githubusercontent.com/u/362286?v=4)](https://github.com/emodric "emodric (59 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)")[![andrerom](https://avatars.githubusercontent.com/u/289757?v=4)](https://github.com/andrerom "andrerom (14 commits)")[![mateuszbieniek](https://avatars.githubusercontent.com/u/38975612?v=4)](https://github.com/mateuszbieniek "mateuszbieniek (13 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)")[![SerheyDolgushev](https://avatars.githubusercontent.com/u/166894?v=4)](https://github.com/SerheyDolgushev "SerheyDolgushev (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/ezsystems-ezplatform-xmltext-fieldtype/health.svg)

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

###  Alternatives

[ezsystems/ezplatform-richtext

eZ Platform RichText Extension, including the RichText FieldType.

32757.3k35](/packages/ezsystems-ezplatform-richtext)[ezsystems/ezplatform

eZ Platform distribution

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

Repository dedicated to Matrix Field Type for eZ Platform

25641.4k10](/packages/ezsystems-ezplatform-matrix-fieldtype)[ezsystems/ezplatform-admin-ui

eZ Platform Admin v2

54813.8k60](/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

44989.1k17](/packages/ezsystems-ez-support-tools)[ezsystems/ezplatform-design-engine

Design fallback mechanism for eZ Platform

44910.2k16](/packages/ezsystems-ezplatform-design-engine)

PHPackages © 2026

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