<commit_before><!--
layout: documentation.html
-->
# Configuration

Configuration is defined by:
* a YAML file named _phpoole.yml_ with [PHPoole](https://github.com/Narno/PHPoole) CLI
* a PHP array (or a _PHPoole\Config_ instance) with PHP script

## Default configuration

```php
[
    'site' => [
        'title'       => 'PHPoole',
        'baseline'    => 'A PHPoole website',
        'baseurl'     => 'http://localhost:8000/',
        'description' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',
        'taxonomies'  => [
            'tags'       => 'tag',
            'categories' => 'category',
        ],<commit_msg>Update 4.Configuration.md<commit_after><!--
layout: documentation.html
-->
# Configuration

Configuration is defined by:
* a YAML file named _phpoole.yml_ with [PHPoole CLI](https://github.com/Narno/PHPoole)
* a PHP array (or a _PHPoole\Config_ instance) with PHP script

## Default configuration

```php
[
    'site' => [
        'title'       => 'PHPoole',
        'baseline'    => 'A PHPoole website',
        'baseurl'     => 'http://localhost:8000/',
        'description' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',
        'taxonomies'  => [
            'tags'       => 'tag',
            'categories' => 'category',
        ],
{'fraction_non_alphanumeric': 0.13865546218487396, 'fraction_numerical': 0.0063025210084033615, 'mean_word_length': 2.645408163265306, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 21, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5864824', 'n_tokens_mistral': 471, 'n_tokens_neox': 451, 'n_words': 127}