Skip to content
This repository has been archived by the owner on Aug 10, 2021. It is now read-only.

Make sure that App\User exists

balping edited this page Jan 24, 2016 · 2 revisions

If you follow a different directory/namespace structure than the standard, make sure that a User class under App namespace exists.

For example if your User model is stored in app/Models/User.php then create file app/User.php with the following content:

<?php

namespace App;

class User extends Models\User {
    //leave this empty
}

It will be an alias to your original User model.