<commit_before>Guardian
=

Build Status
--

Master

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


Develop

[![Build Status](https://travis-ci.org/phutureproof/Guardian.svg?branch=develop)](https://travis-ci.org/phutureproof/Guardian)

Basic Usage
=

Installation
-

via composer

    composer require phutureproof/guardian

or add this to your composer.json

    "require": {
      "phutureproof/guardian": "~1"
    }

or manually grab the src folder and put the files where ever you want.

Usage
-

Create your dependencies and register functions to return instances of the objects in the container

    Guardian::register('dependency.name', function()
    {<commit_msg>Update to readme, added code climate<commit_after>Guardian
=

Build Status
--

Master

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


Develop

[![Build Status](https://travis-ci.org/phutureproof/Guardian.svg?branch=develop)](https://travis-ci.org/phutureproof/Guardian)

Code Climate

[![Code Climate](https://codeclimate.com/github/phutureproof/Guardian/badges/gpa.svg)](https://codeclimate.com/github/phutureproof/Guardian)

Basic Usage
=

Installation
-

via composer

    composer require phutureproof/guardian

or add this to your composer.json

    "require": {
      "phutureproof/guardian": "~1"
    }

or manually grab the src folder and put the files where ever you want.

Usage
-

Create your dependencies and register functions to return instances of the objects in the container

    Guardian::register('dependency.name', function()
    {
{'fraction_non_alphanumeric': 0.11810089020771514, 'fraction_numerical': 0.0011869436201780415, 'mean_word_length': 4.421221864951768, 'pattern_counts': {'":': 4, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 10, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2779968', 'n_tokens_mistral': 540, 'n_tokens_neox': 524, 'n_words': 125}