I\'ve pulled in cartalyst/sentinel and i\'ve run the migrations required to generate the tables
php artisan migrate --package=cartalyst/sentinel
Almost. You have to create your own User clas, extending vendor/cartalyst/sentinel/src/Users/EloquentUser.php
:
use Cartalyst\Sentinel\Users\EloquentUser as CartalystUser;
class User extends CartalystUser {
protected $fillable = [
'email',
'username', /* i added this */
'password',
'last_name',
'first_name',
'permissions',
];
}
Publish Sentinel's config:
php artisan config:publish cartalyst/sentinel
And in the config file, set the user model to your own:
'users' => [
'model' => 'Your\Namespace\User',
],