PHPackages                             gulios/xsl-laravel-template-engine - 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. [Templating &amp; Views](/categories/templating)
4. /
5. gulios/xsl-laravel-template-engine

ActiveLibrary[Templating &amp; Views](/categories/templating)

gulios/xsl-laravel-template-engine
==================================

Xslt template engine for laravel. Based on krowinski/laravel-xslt.

4.0.0(5y ago)3125MITPHPPHP 7.4.\*

Since Feb 4Pushed 5y ago3 watchersCompare

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

READMEChangelog (6)Dependencies (5)Versions (8)Used By (0)

XSLT/XML template engine for laravel 5.
---------------------------------------

[](#xsltxml-template-engine-for-laravel-5)

This is modified version of

### Changes:

[](#changes)

- added default preferences to XML(paths, language info) depends on config data
- changed method names
- validate input values(htmlentities)
- validate loaded xml(html\_entity\_decode)
- removed forms
- removed breadcrumbs

### Installation:

[](#installation)

##### Add to composer.json

[](#add-to-composerjson)

```
"gulios/xsl-laravel-template-engine": "dev-master"
```

###### for debug XML install:

[](#for-debug-xml-install)

```
"barryvdh/laravel-debugbar": "2.1.1",

```

##### Add this line to config/app.php 'providers' array

[](#add-this-line-to-configappphp-providers-array)

```
'Gulios\LaravelXSLT\XSLTServiceProvider',

```

### Example Usage:

[](#example-usage)

##### Create main.xsl in resources/views

[](#create-mainxsl-in-resourcesviews)

```

        ]>

```

##### Create index.xsl in resources/views

[](#create-indexxsl-in-resourcesviews)

```

```

##### Add to app/Http/routes.php

[](#add-to-apphttproutesphp)

```
Route::get('/', ['as' => 'index', 'uses' => 'SomeController@index']);

```

##### Write some test controller AlwaysProcessController.php in app/Http/Controllers

[](#write-some-test-controller-alwaysprocesscontrollerphp-in-apphttpcontrollers)

```

class AlwaysProcessController extends Controller
{
    protected $xml;

    public function __construct()
    {
        $this->xml = \View::addChild('Controller');
        $this->xml->addAttribute('class', Route::currentRouteAction());
        $this->xml->addAttribute('function', Route::currentRouteName());
    }
}

```

after that create SomeController in app/Http/Controllers:

```
namespace App\Http\Controllers;
use App\Http\Requests;

class SomeController extends AlwaysProcessController
{
    public function index()
    {
        //$this->xml->addChild('SomeTagName', 'SomeValue');

        //$this->xml->addData($ibanezImages, $someArrayData);

        return view('index');
    }
}

```

##### Optional

[](#optional)

You can add to config/app.php `'available_languages' => array('en','pl'),'default_language' => 'en',`then you will get these data to XML by default.

#### Example XML

[](#example-xml)

```

    SomeValue

      en
      pl

```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~298 days

Recently: every ~447 days

Total

7

Last Release

1960d ago

Major Versions

1.3 → 2.02017-03-23

2.0 → 3.0.02017-10-03

3.0.0 → 4.0.02020-12-29

PHP version history (2 changes)v1.0PHP &gt;=5.4.0

4.0.0PHP 7.4.\*

### Community

Maintainers

![](https://www.gravatar.com/avatar/4e6de057fd4090a41f9e02a7a4c02b61fcd5bb07fe4cc29fdc8d9a1fd2a2107c?d=identicon)[gulios](/maintainers/gulios)

---

Top Contributors

[![gulios](https://avatars.githubusercontent.com/u/14802005?v=4)](https://github.com/gulios "gulios (3 commits)")

---

Tags

laraveltemplateviewxslt

### Embed Badge

![Health badge](/badges/gulios-xsl-laravel-template-engine/health.svg)

```
[![Health](https://phpackages.com/badges/gulios-xsl-laravel-template-engine/health.svg)](https://phpackages.com/packages/gulios-xsl-laravel-template-engine)
```

###  Alternatives

[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[laravel/pulse

Laravel Pulse is a real-time application performance monitoring tool and dashboard for your Laravel application.

1.7k12.1M99](/packages/laravel-pulse)[tightenco/jigsaw

Simple static sites with Laravel's Blade.

2.2k438.5k29](/packages/tightenco-jigsaw)[ytake/laravel-smarty

Smarty template engine for Laravel and Lumen

87401.6k](/packages/ytake-laravel-smarty)[jenssegers/blade

The standalone version of Laravel's Blade templating engine for use outside of Laravel.

8661.2M109](/packages/jenssegers-blade)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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