PHPackages                             theseer/fxsl - 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. theseer/fxsl

AbandonedArchivedLibrary[Utility &amp; Helpers](/categories/utility)

theseer/fxsl
============

An XSL wrapper / extension to the PHP 5.x XSLTProcessor with Exception and extended Callback support

1.1.1(11y ago)172.5M—6.4%7[1 PRs](https://github.com/theseer/fXSL/pulls)2BSD-2-ClausePHPPHP &gt;=5.3.3

Since Feb 5Pushed 8y ago1 watchersCompare

[ Source](https://github.com/theseer/fXSL)[ Packagist](https://packagist.org/packages/theseer/fxsl)[ RSS](/packages/theseer-fxsl/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (3)Used By (2)

fXSL
====

[](#fxsl)

The classes contained within this repository extend the standard XSLTProcessor to use exceptions at all occasions of errors instead of PHP warnings, notices or semi completed transformations. They also add various custom methods and shortcuts for convinience and to allow a nicer API to implement callbacks to the PHP stack.

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

[](#requirements)

```
PHP: 5.3.3 (5.3.0-5.3.2 had serious issues with spl stacked autoloaders)
Extensions: dom, xsl, libxml

```

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

[](#installation)

fXSL can be installed using the PEAR Installer, the backbone of the PHP Extension and Application Repository that provides a distribution system for PHP packages.

Depending on your OS distribution and/or your PHP environment, you may need to install PEAR or update your existing PEAR installation before you can proceed with the instructions in this chapter. `sudo pear upgrade PEAR` usually suffices to upgrade an existing PEAR installation. The PEAR Manual explains how to perform a fresh installation of PEAR.

The following two commands are all that is required to install fDOMDocument using the PEAR Installer:

```
sudo pear channel-discover pear.netpirates.net
sudo pear install TheSeer/fXSL

```

After the installation you can find the source files inside your local PEAR directory; the path is usually either `/usr/share/pear/TheSeer/fXSL` (Fedora/Redhat) or `/usr/lib/php/TheSeer/fXSL` (Debian/Ubuntu).

Usage
-----

[](#usage)

Simply require/include the autoload.php supplied and you can start using fXSL as a drop in replacement for the standard XSLTProcessor.

Usage Samples
-------------

[](#usage-samples)

PHP Code:

```

```

The 'test.xsl' XSL Stylesheet used:

```

```

Changelog
---------

[](#changelog)

\#####Release 1.1.0

- Added loadStylesheetFromFile and loadStylesheetFromXML methods
- Clear xml errors on construct
- Changed protected properties and methods to private

\#####Release 1.0.4

- PHP 5.4 compatibilty: set a default security preference so writing files is allowed

\#####Release 1.0.3

- Changed error detecting code to catch more problems

\#####Release 1.0.2

- Extended Exception code to better show actual errors

\#####Release 1.0.1

- Added support for black- and whitelisting of methods
- Generate nicer xsl code
- Various Bugfixes

\#####Release 1.0.0

- Initial release

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity49

Moderate usage in the ecosystem

Community17

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 94.9% 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 ~294 days

Total

2

Last Release

4190d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0fc8fe1ac311fb26137cc3b26cd6c1bbb58c9ac4f287eb9d8242a741cef9a502?d=identicon)[theseer](/maintainers/theseer)

---

Top Contributors

[![theseer](https://avatars.githubusercontent.com/u/111333?v=4)](https://github.com/theseer "theseer (37 commits)")[![covex-nn](https://avatars.githubusercontent.com/u/110878?v=4)](https://github.com/covex-nn "covex-nn (1 commits)")[![lapistano](https://avatars.githubusercontent.com/u/95115?v=4)](https://github.com/lapistano "lapistano (1 commits)")

### Embed Badge

![Health badge](/badges/theseer-fxsl/health.svg)

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

PHPackages © 2026

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