<commit_before>Ouchbase
========

Ouchbase is an object key/value mapper (OKVM) for Couchbase. It is written in [Zephir](https://github.com/phalcon/zephir) which allows you to write high performance PHP extensions without the headaches and timewastage of a C development cycle.

Installation
------------
Go to the ext directory and execute
```bash
phpize
./configure
make
make install
```
If you have Zephir installed then just execute build.sh.

Usage
-----
```php
class TestEntity implements \Ouchbase\Entity
{
    private $id;

    public $property;<commit_msg>Updated installation process in readme<commit_after>Ouchbase
========

Ouchbase is an object key/value mapper (OKVM) for Couchbase. It is written in [Zephir](https://github.com/phalcon/zephir) which allows you to write high performance PHP extensions without the headaches and timewastage of a C development cycle.

Installation
------------
Just clone Ouchbase repository and run `./install.sh`. If you have Zephir installed then you can execute `/.build.sh.`

To install Ouchbase with composer add the following to your composer.json
```
"require": {
    "ihor/ouchbase": "dev-master"
},
"scripts": {
    "post-install-cmd": ["./vendor/ihor/ouchbase/install.sh"],
    "post-update-cmd": ["./vendor/ihor/ouchbase/install.sh"]
},
```

Usage
-----
```php
class TestEntity implements \Ouchbase\Entity
{
    private $id;

    public $property;
{'fraction_non_alphanumeric': 0.13167259786476868, 'fraction_numerical': 0.0, 'mean_word_length': 3.8819444444444446, 'pattern_counts': {'":': 5, '<': 3, '<?xml version=': 0, '>': 3, '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': '1610915', 'n_tokens_mistral': 426, 'n_tokens_neox': 411, 'n_words': 151}