<commit_before># StringFunctions

PHP Utilities to manipulate strings


## Usage

```php
<?php
use Ianlet\StringFunctions\StringFunctions;

// Format a string to a snake case string
$snakeCase = StringFunctions::snakeCase($string);

// Generate the slug of a string with a given delimiter (default delimiter is '-')
$slug = StringFunctions::slug($string, $delimiter);
```

## Installation


You can install StringFunctions with Composer:

```json
{
    "require": {
        "ianlet/stringfunctions": "1.*"
    }
}
```

Run `composer install` or `composer update` and you're ready to start.
<commit_msg>Updated README file<commit_after># StringFunctions

PHP Utilities to manipulate strings


## Usage

```php
<?php
use Ianlet\StringFunctions\StringFunctions;

// Format a string to a snake case string
$snakeCase = StringFunctions::snakeCase($string);

// Generate the slug of a string with a given delimiter (default delimiter is '-')
$slug = StringFunctions::slug($string, $delimiter);
```

## Installation


You can install StringFunctions with Composer:

```json
{
    "require": {
        "ianlet/stringfunctions": "dev-master"
    }
}
```

{'fraction_non_alphanumeric': 0.12314410480349346, 'fraction_numerical': 0.0008733624454148472, 'mean_word_length': 4.457142857142857, 'pattern_counts': {'":': 4, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '4166004', 'n_tokens_mistral': 353, 'n_tokens_neox': 337, 'n_words': 111}