<commit_before># planit-php-sdk

## Usage

Add `plan-it-app/planit-php-sdk` as a dependency in your project's `composer.json` file:

```json
{
	"require": {
		"plan-it-app/planit-php-sdk": "^1.0"
	}
}
```<commit_msg>construct usage<commit_after># planit-php-sdk

## Usage

Add `plan-it-app/planit-php-sdk` as a dependency in your project's `composer.json` file:

```json
{
	"require": {
		"plan-it-app/planit-php-sdk": "^1.0"
	}
}
```

 create new instance
```php
use Planit\API;

$x = new \Planit\API(TOKEN, 
	'ignoreSSL' => false, // default
	'cookies_jar' => true // default is true, can set a new \GuzzleHttp\Cookie\CookieJar if you want
]);
```
{'fraction_non_alphanumeric': 0.19106317411402157, 'fraction_numerical': 0.0061633281972265025, 'mean_word_length': 3.7794117647058822, 'pattern_counts': {'":': 4, '<': 3, '<?xml version=': 0, '>': 5, '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': '6898138', 'n_tokens_mistral': 276, 'n_tokens_neox': 259, 'n_words': 60}