tobymaxham/tokener

This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.

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

This package is auto-updated.

Last update: 2021-11-23 22:01:39 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();