2017 © Pedro Peláez
 

library view-keeper

Keeper of app views.

image

ldrahnik/view-keeper

Keeper of app views.

  • Sunday, September 17, 2017
  • by ldrahnik
  • Repository
  • 1 Watchers
  • 0 Stars
  • 987 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 9 Versions
  • 0 % Grown

The README.md

ldrahnik/view-keeper

Build Status Latest stable Downloads total, (*1)

Keeper of app views., (*2)

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

Requirements

ldrahnik/view-keeper requires PHP 5.4 or higher., (*3)

Installation

Install keeper to your project using Composer:, (*4)

$ composer require ldrahnik/view-keeper

Usage

Register extension in config file, (*5)

extensions:
    keeper: ViewKeeper\DI\ViewKeeperExtension

keeper:
    controls: foo/controls/<name>/<view>
    files: foo/<name>/<view>

Is able to set up path via these patterns, (*6)

    <module>        # <Backend>Module
    <name>          # <Backend>Module<:Base>Presenter
                    # <Base>Presenter
                    # <UserAdd>
    <view>          # <default>.latte

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

And inject, (*8)

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

Summary

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

For more information about path enrolment please check url-matcher, (*10)

The Versions

17/09 2017

dev-master

9999999-dev https://github.com/ldrahnik/view-keeper

Keeper of app views.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

10/05 2015

v3.0

3.0.0.0 https://github.com/ldrahnik/view-keeper

Keeper of app views.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

13/04 2015

v2.1

2.1.0.0 https://github.com/ldrahnik/view-keeper

Keeper of app views.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

29/03 2015

v2.0

2.0.0.0 https://github.com/ldrahnik/view-keeper

Keeper of app views.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

29/03 2015

2.0

2.0.0.0 https://github.com/ldrahnik/view-keeper

Keeper of app views.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

28/03 2015

v1.2.0

1.2.0.0 https://github.com/ldrahnik/view-keeper

Keeper of app views.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

01/02 2015

v1.1.0

1.1.0.0 https://github.com/ldrahnik/view-keeper

Keeper of app views.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

01/02 2015

v1.0.0

1.0.0.0 https://github.com/ldrahnik/view-keeper

Keeper of app views.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

31/01 2015

v0.1

0.1.0.0 https://github.com/ldrahnik/view-keeper

Keeper of app views.

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires