<commit_before>---
layout: post
title: Trimmer
date: 2016-11-01
categories:
    - packagist
    - composer
permalink: /packagist/trimmer
description: Helps with environment variables from .env file.
tags:
    - packagist
    - string
    - trim
---

## Version

**1.0.0**

## Description

Helps with trimming long string to given length.
Trimmer supports trim to specific characters length with and without rounding to whole word.

<span class="no-block">![GitHub license](https://img.shields.io/badge/license-ISC-blue.svg)</span>
<span class="no-block">![Packagist version](https://img.shields.io/packagist/v/pawelzny/trimmer.svg)</span>
<span class="no-block">![Packagist](https://img.shields.io/packagist/dt/pawelzny/trimmer.svg)</span>
<span class="no-block">![php](https://img.shields.io/badge/PHP-%5E5.6%20%7C%7C%20%5E7.0-green.svg)</span><commit_msg>Trimmer version bump to 1.0.1<commit_after>---
layout: post
title: Trimmer
date: 2016-11-01
categories:
    - packagist
    - composer
permalink: /packagist/trimmer
description: Helps with environment variables from .env file.
tags:
    - packagist
    - string
    - trim
---

## Version

**1.0.1**

## Description

Helps with trimming long string to given length.
Trimmer supports trim to specific characters length with and without rounding to whole word.

<span class="no-block">![GitHub license](https://img.shields.io/badge/license-ISC-blue.svg)</span>
<span class="no-block">![Packagist version](https://img.shields.io/packagist/v/pawelzny/trimmer.svg)</span>
<span class="no-block">![Packagist](https://img.shields.io/packagist/dt/pawelzny/trimmer.svg)</span>
<span class="no-block">![php](https://img.shields.io/badge/PHP-%5E5.6%20%7C%7C%20%5E7.0-green.svg)</span>
{'fraction_non_alphanumeric': 0.16647398843930636, 'fraction_numerical': 0.028323699421965318, 'mean_word_length': 4.359133126934984, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, 'https://': 8, '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': '1985209', 'n_tokens_mistral': 652, 'n_tokens_neox': 620, 'n_words': 121}