<commit_before># KnpGuardPlugin

Add simple and beautiful authentication to your Symfony project.

[![Build Status](https://travis-ci.org/knpuniversity/KnpUGuardBundle.svg?branch=master)](https://travis-ci.org/knpuniversity/KnpUGuardBundle)

This is a library is usable, but is *alpha*, and backwards compatibility
is not guaranteed yet. The original purpose was to get feedback and use-cases
from people so that we can merge this feature into Symfony itself
(see [symfony/symfony#14673](https://github.com/symfony/symfony/pull/14673)).

## Installation

**This bundle requires Symfony 2.6 or higher.**

First, wave your [composer](https://getcomposer.org/) wand to install things:

```bash
composer require knpuniversity/guard-bundle:^0.2
```

Next, plug the bundle into your `app/AppKernel.php` file:

```php
    public function registerBundles()
    {
        $bundles = array(
            // -> add just this ONE line
            new KnpU\GuardBundle\KnpUGuardBundle(),
        );

        // ...
    }
```

Now, start using it!<commit_msg>using dev-master for now<commit_after># KnpGuardPlugin

Add simple and beautiful authentication to your Symfony project.

[![Build Status](https://travis-ci.org/knpuniversity/KnpUGuardBundle.svg?branch=master)](https://travis-ci.org/knpuniversity/KnpUGuardBundle)

This is a library is usable, but is *alpha*, and backwards compatibility
is not guaranteed yet. The original purpose was to get feedback and use-cases
from people so that we can merge this feature into Symfony itself
(see [symfony/symfony#14673](https://github.com/symfony/symfony/pull/14673)).

## Installation

**This bundle requires Symfony 2.6 or higher.**

First, wave your [composer](https://getcomposer.org/) wand to install things:

```bash
composer require knpuniversity/guard-bundle:dev-master
```

Next, plug the bundle into your `app/AppKernel.php` file:

```php
    public function registerBundles()
    {
        $bundles = array(
            // -> add just this ONE line
            new KnpU\GuardBundle\KnpUGuardBundle(),
        );

        // ...
    }
```

Now, start using it!
{'fraction_non_alphanumeric': 0.11496437054631829, 'fraction_numerical': 0.012351543942992874, 'mean_word_length': 3.6490066225165565, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 8, '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': '390017', 'n_tokens_mistral': 655, 'n_tokens_neox': 622, 'n_words': 196}