<commit_before>LDAP Client Configuration
================

* [General Options](#general-options)
    * [base_dn](#base_dn)
    * [page_size](#page_size)
    * [transport] (#transport)
    * [port](#port)
    * [servers](#servers)
    * [timeout_connect](#timeout_connect)
    * [timeout_read](#timeout_read)
    * [version](#version)
    * [referral](#referral)
    * [referral_limit](#referral_limit)
    * [referral_chaser](#referral_chaser)
* [SSL and TLS Options](#ssl-and-tls-options)
    * [use_ssl](#use_ssl)
    * [ssl_validate_cert](#ssl_validate_cert)
    * [ssl_ca_cert](#ssl_ca_cert)
    * [ssl_allow_self_signed](#ssl_allow_self_signed)

The LDAP client is configured through an array of configuration values. The configuration is simply passed to the client
on construction:

```php
use FreeDSx\Ldap\LdapClient;

$ldap = new LdapClient([
    'servers' => ['dc1', 'dc2', 'dc3'],
    'timeout_connect' => 1,
]);
```

The following documents these various configuration options and how they impact the client.

## General Options

------------------<commit_msg>Fix the documentation formatting.<commit_after>LDAP Client Configuration
================

* [General Options](#general-options)
    * [base_dn](#base_dn)
    * [page_size](#page_size)
    * [transport](#transport)
    * [port](#port)
    * [servers](#servers)
    * [timeout_connect](#timeout_connect)
    * [timeout_read](#timeout_read)
    * [version](#version)
    * [referral](#referral)
    * [referral_limit](#referral_limit)
    * [referral_chaser](#referral_chaser)
* [SSL and TLS Options](#ssl-and-tls-options)
    * [use_ssl](#use_ssl)
    * [ssl_validate_cert](#ssl_validate_cert)
    * [ssl_ca_cert](#ssl_ca_cert)
    * [ssl_allow_self_signed](#ssl_allow_self_signed)

The LDAP client is configured through an array of configuration values. The configuration is simply passed to the client
on construction:

```php
use FreeDSx\Ldap\LdapClient;

$ldap = new LdapClient([
    'servers' => ['dc1', 'dc2', 'dc3'],
    'timeout_connect' => 1,
]);
```

The following documents these various configuration options and how they impact the client.

## General Options

------------------
{'fraction_non_alphanumeric': 0.17059639389736478, 'fraction_numerical': 0.0036985668053629217, 'mean_word_length': 4.41, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '1526284', 'n_tokens_mistral': 720, 'n_tokens_neox': 690, 'n_words': 148}