<commit_before># Authentication Wrapper For SimpleSaml and OneLogin

[![Build Status](https://travis-ci.org/nisaac2fly/auth-saml-wrapper.svg?branch=master)](https://travis-ci.org/nisaac2fly/auth-saml-wrapper)

This package is currently under development...

## How to install in a non-laravel project

```
use Nisaac2fly/AuthSamlWrapper/SimpleSamlServiceProvider;

$path = __DIR__ . '/../path/to/saml/lib/_autoload.php';

$source = 'default-sp';

$auth = new SimpleSamlServiceProvider($path, $source);

$auth->register();

$saml = $auth->saml();
```<commit_msg>Add php to code block for syntax highlighting<commit_after># Authentication Wrapper For SimpleSaml and OneLogin

[![Build Status](https://travis-ci.org/nisaac2fly/auth-saml-wrapper.svg?branch=master)](https://travis-ci.org/nisaac2fly/auth-saml-wrapper)

This package is currently under development...

## How to install in a non-laravel project

```php
use Nisaac2fly/AuthSamlWrapper/SimpleSamlServiceProvider;

$path = __DIR__ . '/../path/to/saml/lib/_autoload.php';

$source = 'default-sp';

$auth = new SimpleSamlServiceProvider($path, $source);

$auth->register();

$saml = $auth->saml();
```
{'fraction_non_alphanumeric': 0.15903197925669835, 'fraction_numerical': 0.005185825410544511, 'mean_word_length': 5.293478260869565, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 4, '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': '5744522', 'n_tokens_mistral': 407, 'n_tokens_neox': 402, 'n_words': 80}