I followed the instructions to get started but get an InvalidArgumentException Error when running php artisan serve
Class App\Models\User must extend or implement Konekt\User\Contracts\User.
My User.php:
<?php
// app/User.php
namespace App;
// No need to use Laravel default traits and properties as
// they're already present in the base class exactly as
// they're defined in a default Laravel installation
class User extends \Konekt\User\Models\User
{
}
And I have added the below to the boot method in AppServiceProvider.php:
Hi,
I followed the instructions to get started but get an InvalidArgumentException Error when running
php artisan serve
My User.php:
And I have added the below to the boot method in AppServiceProvider.php: