PHPackages                             niterain/php-tal-view - 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. niterain/php-tal-view

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

niterain/php-tal-view
=====================

Brings PHPTAL to Laravel

2.0.1.x-dev(8y ago)3652MITPHP

Since Jan 5Pushed 8y ago1 watchersCompare

[ Source](https://github.com/niterain/PhpTalView)[ Packagist](https://packagist.org/packages/niterain/php-tal-view)[ Docs](http://github.com/niterain/PhpTalView)[ RSS](/packages/niterain-php-tal-view/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (2)Used By (0)

Allows you to use [PHPTAL](http://www.phptal.org) seamlessly in [Laravel](http://www.laravel.com)

Installation
============

[](#installation)

Add `niterain\PhpTalView` as a requirement to composer.json:

```
composer require niterain/php-tal-view:2.0.1.x-dev

```

Update your packages with `composer update` or install with `composer install`.

Once Composer has installed or updated your packages you need to register PhpTalView with Laravel. Open up app/config/app.php and find the providers key towards the bottom and add:

```
'Niterain\PhpTalView\PhpTalViewServiceProvider',
```

Configuration
=============

[](#configuration)

Currently PhpTalView is set by default to HTML5, however, you can change this setting in its config.php file, XHTML, or XML.

Usage
=====

[](#usage)

You call the PhpTalView template like you would any other view:

```
View::make('hello', array(...))
```

Filters
=======

[](#filters)

PHPTAL also has a nice feature which you can use called filters, for example I have one that bust the cache for images, js, css, this is configurable via the config file.

```
'preFilters' => array(
    'bustCache',
    'minimizeJs',
    'adderJs'
)
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 97.4% 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

Unknown

Total

1

Last Release

3098d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/16836?v=4)[Levi Stanley](/maintainers/niterain)[@niterain](https://github.com/niterain)

---

Top Contributors

[![niterain](https://avatars.githubusercontent.com/u/16836?v=4)](https://github.com/niterain "niterain (38 commits)")[![peeto](https://avatars.githubusercontent.com/u/12824230?v=4)](https://github.com/peeto "peeto (1 commits)")

---

Tags

laravelphptal

### Embed Badge

![Health badge](/badges/niterain-php-tal-view/health.svg)

```
[![Health](https://phpackages.com/badges/niterain-php-tal-view/health.svg)](https://phpackages.com/packages/niterain-php-tal-view)
```

###  Alternatives

[itstructure/laravel-grid-view

Grid view for laravel framework

2447.9k2](/packages/itstructure-laravel-grid-view)[ycs77/inertia-laravel-ssr-head

Simple SSR Head for Inertia Laravel

3413.0k](/packages/ycs77-inertia-laravel-ssr-head)

PHPackages © 2026

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