hemroy/simpletemplate

php template engine from codeshack.io, by David Adams

Installs: 8

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:php-template

v1.0.0 2021-06-02 04:53 UTC

This package is auto-updated.

Last update: 2024-04-29 04:40:54 UTC


README

Description

A very useful small template engine script to use for small php project.
Ideas and thoughts are collected from codeshack.io provided by David Adams.

Installation

Composer Installation:

composer require hemroy/simpletemplate

Usage

This template engine is very light weight only a single file currently and when compiled
produced compiled php code.

How to use

A demo test folder has been given with this package, where the use of this template engine
has been demonstrated for users who wants to use the package.

Run the demo

Make sure, php is installed and path is set to auto locate php. Then

``` 
php -S localhost:port -t test/ 
```

License

This package is with MIT license.