bonnier/context-laravel

There is no license information available for the latest version (2.0.0) of this package.

Laravel package to implement Context Service Provider

Installs: 243

Dependents: 2

Suggesters: 0

Security: 0

Stars: 0

Watchers: 11

Forks: 0

Open Issues: 1

Type:laravel-package

2.0.0 2020-10-02 12:22 UTC

README

Install & setup

  • Install composer require bonnier/context-laravel
  • Add to config/app.php
'providers' => [
    ...,
    Bonnier\ContextService\ContextServiceProvider::class,
    ...
],
  • Add middleware to app/Http/Kernel.php
protected $middleware = [
    ...,
    \Bonnier\ContextService\Middleware\RegisterContext::class,
];