<commit_before>PHPTemplate
===========

 

Introduction
------------

This package is a part of the Hups Framework. It is an extremely lightweight
template class based on native PHP.

This library is forked from: https://github.com/lsolesen/php-template/

 

Installation
------------

https://packagist.org/packages/shakahl/hups-util-phptemplate

 

Usage example
-------------<commit_msg>Updated redme<commit_after>PHPTemplate
===========

Introduction
------------

This package is a part of the Hups Framework. It is an extremely lightweight
template class based on native PHP.

This library is forked from: https://github.com/lsolesen/php-template/

 

Installation
------------

https://packagist.org/packages/shakahl/hups-util-phptemplate

Add `shakahl/hups-util-phptemplate` as a requirement to `composer.json`:

```javascript
{
    "require": {
        "shakahl/hups-util-phptemplate": "dev-master"
    }
}
```

Update your packages with `composer update` or install with `composer install`.

You can also add the package using `composer require shakahl/hups-util-phptemplate` and later specifying the version you want (for now, `dev-master` is your best bet).
 

Usage example
-------------
{'fraction_non_alphanumeric': 0.15833333333333333, 'fraction_numerical': 0.0, 'mean_word_length': 3.127147766323024, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3032756', 'n_tokens_mistral': 366, 'n_tokens_neox': 353, 'n_words': 111}