PHPackages                             ldrahnik/view-keeper - 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. ldrahnik/view-keeper

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

ldrahnik/view-keeper
====================

Keeper of app views.

v3.0(11y ago)01.0k1BSD-3-ClausePHPPHP &gt;= 5.4

Since Jan 31Pushed 8y ago1 watchersCompare

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

READMEChangelog (7)Dependencies (3)Versions (8)Used By (1)

ldrahnik/view-keeper
====================

[](#ldrahnikview-keeper)

[![Build Status](https://camo.githubusercontent.com/1cfaa801b88e1f93e3c6eb6409f4a76b56c3cf54656e49e0d07e14b3f543e631/68747470733a2f2f7472617669732d63692e6f72672f6c647261686e696b2f766965772d6b65657065722e737667)](https://travis-ci.org/ldrahnik/view-keeper)[![Latest stable](https://camo.githubusercontent.com/d7441eb0195012a7fe6a15f78ed2fe6b819f76221759a2c6f58224cc9ee3634d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c647261686e696b2f766965772d6b65657065722e737667)](https://packagist.org/packages/ldrahnik/view-keeper)[![Downloads total](https://camo.githubusercontent.com/865b57bfcb9a34b7d3d807bc0f038a092cc059c27c76e9002d8b51e82137b355/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c647261686e696b2f766965772d6b65657065722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ldrahnik/view-keeper)

Keeper of app views.

Benefits
--------

[](#benefits)

- View-keeper is easy way to separate files from logic (e.g. separate to repositories, it has benefits, rights etc.)
- Change location of files is now easier than ever before

Reference
---------

[](#reference)

- [Anee - track manager for sharing tracks and photos](https://github.com/anee/anee)
- [TodoMVC - example nette project](https://github.com/ldrahnik/nette-todomvc)

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

[](#requirements)

ldrahnik/view-keeper requires PHP 5.4 or higher.

- [Nette Framework](https://github.com/nette/nette)
- [url-matcher](https://github.com/ldrahnik/url-matcher)

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

[](#installation)

Install keeper to your project using [Composer](http://getcomposer.org/):

```
$ composer require ldrahnik/view-keeper
```

Usage
-----

[](#usage)

Register extension in config file

```
extensions:
	keeper: ViewKeeper\DI\ViewKeeperExtension

keeper:
	controls: foo/controls//
	files: foo//
```

Is able to set up path via these patterns

```
			# Module
				# ModulePresenter
					# Presenter
					#
	 			# .latte
```

Suffix is not configurable (still you can change that as param of `getView` method) - always will be in the end over dot

And inject

```
	/** @var \ViewKeeper\ViewKeeper @inject */
	private $keeper;
```

Summary
-------

[](#summary)

View keeper tries to be ultra-light package and simple to use. You will love it :)

For more information about path enrolment please check [url-matcher](https://github.com/ldrahnik/url-matcher)

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 80% 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 ~16 days

Recently: every ~24 days

Total

7

Last Release

4027d ago

Major Versions

v0.1 → v1.0.02015-02-01

v1.2.0 → v2.02015-03-28

v2.1 → v3.02015-05-09

### Community

Maintainers

![](https://www.gravatar.com/avatar/61ee1ce0e850961847ab4c4356bf0506d987f9beaa04da675aa9c27ae873d254?d=identicon)[ldrahnik](/maintainers/ldrahnik)

---

Top Contributors

[![ldrahnik](https://avatars.githubusercontent.com/u/3233644?v=4)](https://github.com/ldrahnik "ldrahnik (4 commits)")[![bitdeli-chef](https://avatars.githubusercontent.com/u/3092978?v=4)](https://github.com/bitdeli-chef "bitdeli-chef (1 commits)")

---

Tags

nettepackagephp

### Embed Badge

![Health badge](/badges/ldrahnik-view-keeper/health.svg)

```
[![Health](https://phpackages.com/badges/ldrahnik-view-keeper/health.svg)](https://phpackages.com/packages/ldrahnik-view-keeper)
```

###  Alternatives

[mustache/mustache

A Mustache implementation in PHP.

3.3k44.6M291](/packages/mustache-mustache)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[symfony/ux-icons

Renders local and remote SVG icons in your Twig templates.

545.8M69](/packages/symfony-ux-icons)[nystudio107/craft-twigpack

Twigpack is a bridge between Twig and webpack, with manifest.json &amp; webpack-dev-server HMR support

97341.4k17](/packages/nystudio107-craft-twigpack)[mallardduck/blade-boxicons

A package to easily make use of Boxicons in your Laravel Blade views.

12776.5k9](/packages/mallardduck-blade-boxicons)[localgovdrupal/localgov_base

The base theme for LocalGov Drupal websites.

13121.5k4](/packages/localgovdrupal-localgov-base)

PHPackages © 2026

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