<commit_before># Redpanda GravatarExtension

Simple wrapper to gravatar API for [Silex][1].

## Installation

    $ git submodule add git://github.com/redpanda/silex-gravatar.git src/Redpanda/Gravatar

## Registering

    $app->register(new Redpanda\Gravatar\Extension(), array(
        'gravatar.options' => array(
        	'size'    => 100,
        	'rating   => 'g',
        	'default' => 'mm',
        )
    ));
    
## Usage with Twig

The only required parameter is the email adress. The rest have default values.

Without paramaters:
	{{ gravatar('<EMAIL>') }}
Or:
	{{ '<EMAIL>'|gravatar }}
	
With parameters:
	{{ gravatar('<EMAIL>', 96, 'g', 'retro', false) }}
Or:
	{{ '<EMAIL>'|gravatar(96, 'g', 'retro', false) }}

## Credits

* [GravatarBundle][2]
<commit_msg>fix readme<commit_after># Redpanda GravatarExtension

Simple wrapper to gravatar API for [Silex][1].

## Installation

    $ git submodule add git://github.com/redpanda/silex-gravatar.git src/Redpanda/Gravatar

## Registering

    $app->register(new Redpanda\Gravatar\Extension(), array(
        'gravatar.options' => array(
        	'size'    => 100,
        	'rating   => 'g',
        	'default' => 'mm',
        )
    ));
    
## Usage with Twig

The only required parameter is the email adress. The rest have default values.

Without paramaters:

	{{ gravatar('<EMAIL>') }}

Or:

	{{ '<EMAIL>'|gravatar }}

With parameters:

	{{ gravatar('<EMAIL>', 96, 'g', 'retro', false) }}

Or:

	{{ '<EMAIL>'|gravatar(96, 'g', 'retro', false) }}

## Credits

* [GravatarBundle][2]

{'fraction_non_alphanumeric': 0.17098445595854922, 'fraction_numerical': 0.011658031088082901, 'mean_word_length': 3.232876712328767, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 21, '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': '3152569', 'n_tokens_mistral': 568, 'n_tokens_neox': 538, 'n_words': 127}