PHPackages                             sundflux/libvaloa - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. sundflux/libvaloa

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

sundflux/libvaloa
=================

Libvaloa is a small utility library for generating HTML user interfaces using XML+XSL.

3.0.2(6y ago)12543MITPHPPHP &gt;=7.2.19

Since May 12Pushed 6y ago1 watchersCompare

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

READMEChangelog (4)DependenciesVersions (16)Used By (0)

libvaloa
========

[](#libvaloa)

[![webvaloa](https://github.com/sundflux/libvaloa/raw/master/.vendor.png)](https://github.com/sundflux/libvaloa/blob/master/.vendor.png)

Libvaloa is a small utility library for generating HTML user interfaces using XML+XSL, mainly developed for Webvaloa.

In addition to reference XSL+XML implementation, the UI Interface can be hooked to alternative template engines.

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

[](#installation)

Install the latest version with `composer require sundflux/libvaloa`

or include libvaloa in your composer.json

```
{
    "require": {
        "sundflux/libvaloa": "^3.0.0"
    }
}
```

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

[](#requirements)

- PHP 7.2 or newer.
- XSL support enabled (php7.2-xsl)

Features
--------

[](#features)

- XSL/XML/DOM/SimpleXML/PHP Object conversion library.
- Generic UI interface for hooking template engines.
- Reference UI interface implementation using XSL+XML.
- Debugging helpers, including DOM debugger.
- Standards-compatible: PRS-1, PRS-2, PRS-4, verified and fixed with php-cs-fixer.

Copyright and license
---------------------

[](#copyright-and-license)

Copyright (C) 2019 Tarmo Alexander Sundström &amp; contributors.

Libvaloa is licensed under the MIT License - see the LICENSE file for details.

Contact
-------

[](#contact)

-
-

Change Log
----------

[](#change-log)

All notable changes to this project will be documented in this file.

This project adheres to [Semantic Versioning](http://semver.org/).

Changes are grouped by added, fixed or changed feature.

### \[3.0.2\] - 2019-08-25

[](#302---2019-08-25)

- Set minimum PHP requirement to 7.2.19

### \[3.0.1\] - 2019-04-19

[](#301---2019-04-19)

- More refactoring and fixes to Ui\\Xml.

### \[3.0.0\] - 2019-04-13

[](#300---2019-04-13)

- Bumped version requirement to PHP 7.2.
- Db package is now separated to its own component, Libvaloa-db. Libvaloa will only concentrate on XSL UI and related utilities.
- Remove I18n package completely. There are better translation libs out there, so it doesn't really bring any value to Libvaloa.
- Move all debug classes under Debug package. Effectively: Debug -&gt; Debug\\Debug, Debugtimer -&gt; Debug\\Debugtimer, Xml\\DomDebug -&gt; Debug\\DomDebug.
- Deprecate and remove Xml\\Xml and fully concentrate on maintaining Xml\\Conversion. Conversion is little more resource heavy than Xml\\Xml, but basically Xml\\Xml is redurant and doesn't do anything Conversion doesn't do.
- Add return type declarations where acceptable.

### \[2.0.0\] - 2018-06-04

[](#200---2018-06-04)

#### Added

[](#added)

- Rename Db\\Object as Db\\Item, this is necessary for PHP 7.2 compatibility (Object is now reserved word).

### \[1.3.0\] - 2018-03-22

[](#130---2018-03-22)

#### Added

[](#added-1)

- Set and bind in Db\\ResultSet now allow PDO type constants to be passed as a parameter.

### \[1.2.3\] - 2018-03-21

[](#123---2018-03-21)

#### Fixed

[](#fixed)

- Readme fix.

### \[1.2.2\] - 2018-03-21

[](#122---2018-03-21)

#### Fixed

[](#fixed-1)

- Gettext now returns original string if translation is not found.

### \[1.2.1\] - 2018-03-13

[](#121---2018-03-13)

#### Fixed

[](#fixed-2)

- Gettext was always forced as default translator backend, oops.

### \[1.2.0\] - 2018-02-27

[](#120---2018-02-27)

#### Added

[](#added-2)

- Gettext translation support, \\I18n\\Translate\\Gettext.
- Composer dependency to Gettext/gettext.
- More inline documentation.

#### Changed

[](#changed)

- Separated Db\\ResultSet to its own file.

### \[1.1.2\] - 2018-02-23

[](#112---2018-02-23)

- Fixes illegal string offset/missing array initializing in Db/Object.

### \[1.1.1\] - 2017-09-05

[](#111---2017-09-05)

- Fixes Array to string crash in Xml/Conversion.php.

### \[1.1.0\] - 2017-07-05

[](#110---2017-07-05)

#### Fixed

[](#fixed-3)

- Updated project urls.
- Code cleanups for Xml/Conversion.

#### Added

[](#added-3)

- Xml/Conversion now exposes more private methods as public.
- Xml/Xsl now uses Xml/Conversion instead of doing direct transformation
- Xml/Xml now uses Xml/Conversion when including view data with addObject.
- Attributes are now possible from the UI since we use Xml/Conversion
- Updated PHP requirement to 5.6 to simplify maintainance.
- Memory requirements are slightly higher after Xml/Conversion migration.

### \[1.0.1\] - 2015-05-14

[](#101---2015-05-14)

#### Fixed

[](#fixed-4)

- Libvaloa\\Debug: Debug prints should output only when error level is E\_ALL.
- Libvaloa\\Ui\\Xml: Fix session\_status() check in addMessage().

### \[1.0.0\] - 2015-05-12

[](#100---2015-05-12)

#### Added

[](#added-4)

- Initial release with stable API.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 95.8% 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 ~120 days

Recently: every ~130 days

Total

14

Last Release

2459d ago

Major Versions

1.3.0 → 2.0.02018-06-04

2.0.0 → 3.0.02019-04-13

PHP version history (4 changes)1.0.0PHP &gt;=5.4.0

1.1.0PHP &gt;=5.6.0

3.0.0PHP &gt;=7.2.0

3.0.2PHP &gt;=7.2.19

### Community

Maintainers

![](https://www.gravatar.com/avatar/75f88c88fcff0cc752dd0e5f1a0e39ee09c47317fabf6ea349c589018ee0d1de?d=identicon)[sundflux](/maintainers/sundflux)

---

Top Contributors

[![sundflux](https://avatars.githubusercontent.com/u/6561057?v=4)](https://github.com/sundflux "sundflux (69 commits)")[![lahdekorpi](https://avatars.githubusercontent.com/u/570545?v=4)](https://github.com/lahdekorpi "lahdekorpi (3 commits)")

---

Tags

xmlxsllibvaloawebvaloa

### Embed Badge

![Health badge](/badges/sundflux-libvaloa/health.svg)

```
[![Health](https://phpackages.com/badges/sundflux-libvaloa/health.svg)](https://phpackages.com/packages/sundflux-libvaloa)
```

###  Alternatives

[masterminds/html5

An HTML5 parser and serializer.

1.8k242.8M229](/packages/masterminds-html5)[jms/serializer

Library for (de-)serializing data of any complexity; supports XML, and JSON.

2.3k135.8M851](/packages/jms-serializer)[jms/metadata

Class/method/property metadata management in PHP

1.8k152.8M88](/packages/jms-metadata)[jms/serializer-bundle

Allows you to easily serialize, and deserialize data of any complexity

1.8k89.3M627](/packages/jms-serializer-bundle)[sabre/xml

sabre/xml is an XML library that you may not hate.

52832.2M131](/packages/sabre-xml)[presta/sitemap-bundle

A Symfony bundle that provides tools to build your application sitemap.

3929.4M28](/packages/presta-sitemap-bundle)

PHPackages © 2026

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