Skip to content

Icybee/module-patron-cache

Repository files navigation

Patron cache

Release Build Status HHVM Code Quality Code Coverage Packagist

Cache rendered patron fragments.

The p:cache markup

Cache the rendered templates. The cache key is computed from the enclosed template and the subject value.

<p:cache>
    <!-- Content: template -->
</p:cache>

Requirements

The package requires PHP 5.5 or later.

Installation

The recommended way to install this package is through Composer:

$ composer require icybee/module-patron-cache

Cloning the repository

The package is available on GitHub, its repository can be cloned with the following command line:

$ git clone https://github.com/Icybee/module-patron-cache.git articles

Documentation

The documentation for the package and its dependencies can be generated with the make doc command. The documentation is generated in the docs directory using ApiGen. The package directory can later by cleaned with the make clean command.

Testing

The test suite is ran with the make test command. PHPUnit and Composer need to be globally available to run the suite. The command installs dependencies as required. The make test-coverage command runs test suite and also creates an HTML coverage report in "build/coverage". The directory can later be cleaned with the make clean command.

The package is continuously tested by Travis CI.

Build Status Code Coverage

License

icybee/module-patron-cache is licensed under the New BSD License. See the LICENSE file for details.

About

Cache rendered template fragments

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published