<commit_before>Laravel 4 Notification
======

A basic starting point for a flexible user notification system in Laravel 4.

It is easily extendable with new notification types and leaves rendering completely up to you.

This package only provides an extendable notification system without any controllers or views
since they are often very use case specific.

I'm open to ideas for extending this package.

## Installation

### 1. Install with Composer

```bash
composer require tricki/laravel-notification:@dev
```

This will update `composer.json` and install it into the `vendor/` directory.

(See the [Packagist website](https://packagist.org/packages/tricki/laravel-notification) for a list of available version numbers and
development releases.)

### 2. Add to Providers in `config/app.php`

```php
    'providers' => [
        // ...
        'Tricki\Notification\NotificationServiceProvider',
    ],
```

This registers the package with Laravel and automatically creates an alias called
`Notification`.

### 3. Publishing config

If your models are namespaced you will have to declare this in the package configuration.

Publish the package configuration using Artisan:

```bash
php artisan config:publish tricki/laravel-notification
```

Set the `namespace` property of the newly created `app/config/packages/tricki/laravel-notification/config.php`
to the namespace of your notification models.

#### Example

```php
'namespace' => '\MyApp\Models\'
```

### 4. Adding relationship to User
<commit_msg>added migration section<commit_after>Laravel 4 Notification
======

A basic starting point for a flexible user notification system in Laravel 4.

It is easily extendable with new notification types and leaves rendering completely up to you.

This package only provides an extendable notification system without any controllers or views
since they are often very use case specific.

I'm open to ideas for extending this package.

## Installation

### 1. Install with Composer

```bash
composer require tricki/laravel-notification:@dev
```

This will update `composer.json` and install it into the `vendor/` directory.

(See the [Packagist website](https://packagist.org/packages/tricki/laravel-notification) for a list of available version numbers and
development releases.)

### 2. Add to Providers in `config/app.php`

```php
    'providers' => [
        // ...
        'Tricki\Notification\NotificationServiceProvider',
    ],
```

This registers the package with Laravel and automatically creates an alias called
`Notification`.

### 3. Publishing config

If your models are namespaced you will have to declare this in the package configuration.

Publish the package configuration using Artisan:

```bash
php artisan config:publish tricki/laravel-notification
```

Set the `namespace` property of the newly created `app/config/packages/tricki/laravel-notification/config.php`
to the namespace of your notification models.

#### Example

```php
'namespace' => '\MyApp\Models\'
```

### 4. Executing migration

```bash
php artisan migrate --package="tricki/laravel-notification"
```

### 5. Adding relationship to User

{'fraction_non_alphanumeric': 0.09236177692553532, 'fraction_numerical': 0.004154682007031001, 'mean_word_length': 4.472027972027972, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 2, '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': '6211869', 'n_tokens_mistral': 857, 'n_tokens_neox': 803, 'n_words': 350}