2017 © Pedro Peláez
 

library smart-entities

Scaffolder for the Smart Entity Pattern

image

samjbro/smart-entities

Scaffolder for the Smart Entity Pattern

  • Wednesday, December 20, 2017
  • by samjbro
  • Repository
  • 1 Watchers
  • 0 Stars
  • 44 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Add the following to App\Providers\AuthServiceProvider in the boot function below $this->registerPolicies():, (*1)

`Auth::provider('smartprovider', function() { return new \App\Extensions\SmartUserProvider($this->app['hash'], app()->make(\App\Services\UserService::class)); });, (*2)

In config/auth: 1) Change guards.web.provider to 'smart' 2) Add the following to the providers array: 'smart' => [ 'driver' => 'smartprovider', 'model' => App\Entities\UserEntity::class, ], (*3)

The Versions

20/12 2017

dev-master

9999999-dev

Scaffolder for the Smart Entity Pattern

  Sources   Download

The Requires