tobymaxham/tokener

dev-master 2015-09-07 16:02 UTC

This package is auto-updated.

Last update: 2024-10-24 04:18:02 UTC


README

A PHP package to tokenize you templates or alternatively a string.

Installation

composer install tobymaxham/tokener 

Update your source.

Usage

$rendered = new Tokener(new FileSource('file.php'));
$rendered->startLin();