<commit_before># Installation
1) In order to install Laravel 5 Laratrust, just add the following to your composer.json. Then run `composer update`:

    "santigarcor/laratrust": "1.1.*"

or you can run the `composer require` command from your terminal:

    composer require "santigarcor/laratrust:1.1.*"

2) Then in your `config/app.php` add the following to the providers array:
```php
    Santigarcor\Laratrust\LaratrustServiceProvider::class,
```
3) In the same `config/app.php` and add the following to the `aliases ` array:
```php
    'Laratrust'   => Santigarcor\Laratrust\LaratrustFacade::class,
```

4) If you are going to use [Middleware](middleware.md) (requires Laravel 5.1 or later) you also need to add the folliwong to `routeMiddleware` array in `app/Http/Kernel.php`.
```php
    'role' => \Santigarcor\Laratrust\Middleware\LaratrustRole::class,
    'permission' => \Santigarcor\Laratrust\Middleware\LaratrustPermission::class,
    'ability' => \Santigarcor\Laratrust\Middleware\LaratrustAbility::class,
```<commit_msg>Fix spelling<commit_after># Installation
1) In order to install Laravel 5 Laratrust, just add the following to your composer.json. Then run `composer update`:

    "santigarcor/laratrust": "1.1.*"

or you can run the `composer require` command from your terminal:

    composer require "santigarcor/laratrust:1.1.*"

2) Then in your `config/app.php` add the following to the providers array:
```php
    Santigarcor\Laratrust\LaratrustServiceProvider::class,
```
3) In the same `config/app.php` and add the following to the `aliases ` array:
```php
    'Laratrust'   => Santigarcor\Laratrust\LaratrustFacade::class,
```

4) If you are going to use [Middleware](middleware.md) (requires Laravel 5.1 or later) you also need to add the following to `routeMiddleware` array in `app/Http/Kernel.php`.
```php
    'role' => \Santigarcor\Laratrust\Middleware\LaratrustRole::class,
    'permission' => \Santigarcor\Laratrust\Middleware\LaratrustPermission::class,
    'ability' => \Santigarcor\Laratrust\Middleware\LaratrustAbility::class,
```
{'fraction_non_alphanumeric': 0.12191582002902758, 'fraction_numerical': 0.010643444605708756, 'mean_word_length': 4.875, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 11, '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': '2716570', 'n_tokens_mistral': 722, 'n_tokens_neox': 688, 'n_words': 199}