PHPackages                             genkgo/xsl - 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. genkgo/xsl

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

genkgo/xsl
==========

XSL 2.0 Transpiler in PHP

1.6.1(6mo ago)5193.9k↓31.3%8[5 issues](https://github.com/genkgo/xsl/issues)4PHPPHP ~8.2.0 || ~8.3.0 || ~8.4.0CI passing

Since Oct 18Pushed 6mo ago7 watchersCompare

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

READMEChangelog (10)Dependencies (5)Versions (76)Used By (4)

Genkgo/Xsl
==========

[](#genkgoxsl)

XSL 2.0 Transpiler in PHP.

### Installation

[](#installation)

Requires [supported PHP version](https://www.php.net/supported-versions.php). It is installable and autoloadable via Composer as [genkgo/xsl](https://packagist.org/packages/genkgo/xsl).

### Quality

[](#quality)

[![workflow code check](https://github.com/genkgo/xsl/workflows/code%20check/badge.svg)](https://github.com/genkgo/xsl/workflows/code%20check/badge.svg)

To run the unit tests at the command line, issue `./vendor/bin/phpunit -c phpunit.xml`. This library attempts to comply with [PSR-1](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-1-basic-coding-standard.md), [PSR-2](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md), and [PSR-4](https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-4-autoloader.md). If you notice compliance oversights, please send a patch via pull request.

Getting Started
---------------

[](#getting-started)

Replace `XSLTProcessor` with `Genkgo\Xsl\XsltProcessor`, change `version="1.0"` in `version="2.0"` and you are done!

```
