Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 903 Bytes

README.md

File metadata and controls

19 lines (12 loc) · 903 Bytes

auth

Codacy Badge

Build status

Install

Add provider \Pckg\Auth\Provider\Auth::class to your App provider.

Add migration \Pckg\Auth\Migration\CreateAuthTables::class to your migrations.php config.

Migrate $ php console yourApp migrator:install --repository=default --clean

Create godfather $ php console auth auth:create-godfather your@email.com

Add provider to your config 'default' => [ 'type' => \Pckg\Auth\Service\Provider\Database::class, 'entity' => \OpenCode\OAuth2\Entity\Users::class, ],