Download the PHP package romeoz/rock-template without Composer
On this page you can find all versions of the php package romeoz/rock-template. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download romeoz/rock-template
More information about romeoz/rock-template
Files in romeoz/rock-template
Download romeoz/rock-template
More information about romeoz/rock-template
Files in romeoz/rock-template
Vendor romeoz
Package rock-template
Short Description Flexible template engine for PHP with MODx-like syntax
License MIT
Package rock-template
Short Description Flexible template engine for PHP with MODx-like syntax
License MIT
Keywords templatetemplate engine
Please rate this library. Is it a good library?
Informations about the package rock-template
Template engine for PHP
Features
- Supports native PHP engine and declarative MODx-like syntax (placeholders, chunk, snippet,...)
- Supports multi-engines
- Multi-scopes (
$root
and$parent
) - The variety of filters (arithmetic/bitwise operations, conditions, string, date, and url)
- Custom auto-escaping
- Support adding/customization filters and snippets
- There is a possibility of adding custom extensions
- Widgets
- Caching all entities template engine
- Standalone module/component for Rock Framework
Installation
From the Command Line:
composer require romeoz/rock-template
In your composer.json:
Quick Start
PHP engine
Contents layout.php:
Rock engine
Contents layout.html:
Documentation
Demo
- Install Docker or askubuntu
docker run --name demo -d -p 8080:80 romeoz/docker-rock-template
- Open demo http://localhost:8080/
Requirements
- PHP 5.4+
- For caching layouts, chunks, placeholders and others variables required Rock Cache:
composer require romeoz/rock-cache
- For using a widgets required Rock Widgets:
composer require romeoz/rock-widgets
- For validation rules a model required Rock Validate:
composer require romeoz/rock-validate
- For sanitization rules a model required Rock Sanitize:
composer require romeoz/rock-sanitize
- For using filters to snippets required Rock Filters:
composer require romeoz/rock-filters
- For editing a image (cropping, watermarks and etc) required Rock Image:
composer require romeoz/rock-image
- For generating CSRF-token (security) required Rock CSRF:
composer require romeoz/rock-csrf
- For building a datetime (DateTimeSnippet and filter date) required Rock DateTime:
composer require romeoz/rock-date
All unbolded dependencies is optional
License
The Rock Template engine is open-sourced software licensed under the MIT license.
All versions of rock-template with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.4.0
romeoz/rock-components Version 0.11.*
romeoz/rock-url Version 0.11.*
romeoz/rock-execute Version 0.10.*
romeoz/rock-components Version 0.11.*
romeoz/rock-url Version 0.11.*
romeoz/rock-execute Version 0.10.*
The package romeoz/rock-template contains the following files
Loading the files please wait ....