<commit_before>Phpcent
========

Php library to communicate with Centrifuge

Library is published on the Composer: https://packagist.org/packages/sl4mmer/phpcent
```php
{
    "require": {
        "sl4mmer/phpcent":"dev-master",
    }
}
```

For old Centrifuge versions (<0.8) require "sl4mmer/phpcent":"0.5.0"


Full Centrifuge documentation http://centrifuge.readthedocs.org/en/latest/		

Basic Usage


```php
        
        $client = new \phpcent\Client("http://localhost:8000");
        $client->setProject("projectKey", "projectSecret");
        $client->publish("basic:main_feed", ["message" => "Hello Everybody"]);
        $history = $client->history("basic:main_feed")];
        
```
All api methods for managing channels has shortends. You can call other methods trough Client::send()
```php<commit_msg>Fix README example<commit_after>Phpcent
========

Php library to communicate with Centrifuge

Library is published on the Composer: https://packagist.org/packages/sl4mmer/phpcent
```php
{
    "require": {
        "sl4mmer/phpcent":"dev-master",
    }
}
```

For old Centrifuge versions (<0.8) require "sl4mmer/phpcent":"0.5.0"


Full Centrifuge documentation http://centrifuge.readthedocs.org/en/latest/		

Basic Usage


```php
        
        $client = new \phpcent\Client("http://localhost:8000");
        $client->setProject("projectKey", "projectSecret");
        $client->publish("basic:main_feed", ["message" => "Hello Everybody"]);
        $history = $client->history("basic:main_feed");
        
```
All api methods for managing channels has shortends. You can call other methods trough Client::send()
```php
{'fraction_non_alphanumeric': 0.15644171779141106, 'fraction_numerical': 0.014723926380368098, 'mean_word_length': 3.7551020408163267, 'pattern_counts': {'":': 6, '<': 5, '<?xml version=': 0, '>': 11, 'https://': 2, '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': '6730011', 'n_tokens_mistral': 531, 'n_tokens_neox': 498, 'n_words': 117}