# Foundation Package

## Installation

Add the following service providers to ```config/app.php```:

```
'Concore\Foundation\Providers\TranslationServiceProvider',
'Concore\Foundation\Providers\FoundationServiceProvider',
```

Add Notification middleware to ```app/Http/Kernel.php```:

```
'Krucas\Notification\Middleware\NotificationMiddleware',
```

### IdentifiableTrait

When getting the URL for a model with IdentifiableTrait it is expected that there is a route that exists with a lowercase, hyphen-separated singular version of the model name. E.g. for a 'CaseStudy' model there should be a route called 'case-study' that will show that individual case study.