<commit_before># Notification package for Laravel4 / Laravel5

[![Build Status](https://travis-ci.org/edvinaskrucas/notification.png?branch=master)](https://travis-ci.org/edvinaskrucas/notification)

---

A simple notification management package for Laravel4.

---

* Notification containers
* Notification collections
* Notification messages
* Formats for notifications
* Flashable notifications
* Method chaining
* Message aliasing
* Message positioning

---

## Installation

Just place require new package for your laravel installation via composer.json

    "edvinaskrucas/notification": "5.*"

Then hit ```composer update```

### Version matrix

| Laravel Version       | Package version          |
| --------------------- | ------------------------ |
| >= 5                  | 5.*                      |
| >= 4, < 5             | 2.*, 3.*                 |

### Registering to use it with laravel

Add following lines to ```app/config/app.php```

ServiceProvider array

```php
'Krucas\Notification\NotificationServiceProvider'
```

Alias array
```php<commit_msg>Update version matrix<commit_after># Notification package for Laravel4 / Laravel5

[![Build Status](https://travis-ci.org/edvinaskrucas/notification.png?branch=master)](https://travis-ci.org/edvinaskrucas/notification)

---

A simple notification management package for Laravel4.

---

* Notification containers
* Notification collections
* Notification messages
* Formats for notifications
* Flashable notifications
* Method chaining
* Message aliasing
* Message positioning

---

## Installation

Just place require new package for your laravel installation via composer.json

    "edvinaskrucas/notification": "5.*"

Then hit ```composer update```

### Version matrix

| Laravel Version       | Package version          |
| --------------------- | ------------------------ |
| >= 5                  | >= 5                     |
| >= 4, < 5             | >= 2, <= 3               |

### Registering to use it with laravel

Add following lines to ```app/config/app.php```

ServiceProvider array

```php
'Krucas\Notification\NotificationServiceProvider'
```

Alias array
```php
{'fraction_non_alphanumeric': 0.15284249767008387, 'fraction_numerical': 0.009319664492078284, 'mean_word_length': 2.651360544217687, 'pattern_counts': {'":': 2, '<': 6, '<?xml version=': 0, '>': 9, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3646051', 'n_tokens_mistral': 601, 'n_tokens_neox': 559, 'n_words': 161}