<commit_before># KnpOAuthBundle

## Installation

Installing the `KnpOAuthBundle` looks a lot like installing any other bundle.

This bundle requires [`SensioBuzzBundle`](https://github.com/sensio/SensioBuzzBundle) to work, which in turn requires the [`Buzz`](https://github.com/kriswallsmith/Buzz) library. So add the following lines to your `deps` file:

    [Buzz]
        git=https://github.com/kriswallsmith/Buzz.git
        version=v0.5

    [BuzzBundle]
        git=https://github.com/sensio/SensioBuzzBundle.git
        target=/bundles/Sensio/Bundle/BuzzBundle

    [KnpOAuthBundle]
        git=https://github.com/KnpLabs/KnpOAuthBundle.git
        target=/bundles/Knp/Bundle/OAuthBundle

Of course, if you already use `Buzz` and/or the `SensioBuzzBundle`, don't add them again.

Then you need to update your vendors:

  bin/vendors install

If you don't already have bundles in the `Knp` or `Sensio` namespaces, you will need to register these namespaces to your `app/autoload.php`:

    $loader->registerNamespaces(array(
        'Knp'              => __DIR__.'/../vendor/bundles',
        'Buzz'             => __DIR__.'/../vendor/Buzz/lib'
    ));

You're now ready to register the bundles into your `app/AppKernel.php`:

    $bundles = array(
        new Knp\Bundle\OAuthBundle\KnpOAuthBundle(),
        new Sensio\Bundle\BuzzBundle\SensioBuzzBundle(),
    );


Great! Everything is ready, let's proceed to the [configuration](03_configuration.md)!<commit_msg>you'd rather autoload Knp\Bundle than juste Knp<commit_after># KnpOAuthBundle

## Installation

Installing the `KnpOAuthBundle` looks a lot like installing any other bundle.

This bundle requires [`SensioBuzzBundle`](https://github.com/sensio/SensioBuzzBundle) to work, which in turn requires the [`Buzz`](https://github.com/kriswallsmith/Buzz) library. So add the following lines to your `deps` file:

    [Buzz]
        git=https://github.com/kriswallsmith/Buzz.git
        version=v0.5

    [BuzzBundle]
        git=https://github.com/sensio/SensioBuzzBundle.git
        target=/bundles/Sensio/Bundle/BuzzBundle

    [KnpOAuthBundle]
        git=https://github.com/KnpLabs/KnpOAuthBundle.git
        target=/bundles/Knp/Bundle/OAuthBundle

Of course, if you already use `Buzz` and/or the `SensioBuzzBundle`, don't add them again.

Then you need to update your vendors:

  bin/vendors install

If you don't already have bundles in the `Knp` or `Sensio` namespaces, you will need to register these namespaces to your `app/autoload.php`:

    $loader->registerNamespaces(array(
        'Knp\\Bundle'      => __DIR__.'/../vendor/bundles',
        'Buzz'             => __DIR__.'/../vendor/Buzz/lib'
    ));

You're now ready to register the bundles into your `app/AppKernel.php`:

    $bundles = array(
        new Knp\Bundle\OAuthBundle\KnpOAuthBundle(),
        new Sensio\Bundle\BuzzBundle\SensioBuzzBundle(),
    );


Great! Everything is ready, let's proceed to the [configuration](03_configuration.md)!
{'fraction_non_alphanumeric': 0.11409395973154363, 'fraction_numerical': 0.0026845637583892616, 'mean_word_length': 3.3454810495626823, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 10, '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': '905239', 'n_tokens_mistral': 1006, 'n_tokens_neox': 960, 'n_words': 245}