Laravel 5.2: Integrate entrust package, create role and permissions and access it
<p>I am totally new in laravel. 
I install laravel 5.2 . I have done with CRUD in laravel. Now i want to integrate laravel authentication package. so i choose zizaco\entrust. </p>

<p>I follow each steps from doc <a href="https://github.com/Zizaco/entrust/tree/laravel-5" rel="nofollow">link</a>. but i don't understand what is wrong. In doc there is not mentioned that in which file i have to add following code. </p>

<pre><code>$owner = new Role();
$owner-&gt;name         = 'owner';
$owner-&gt;display_name = 'Project Owner'; // optional
$owner-&gt;description  = 'User is the owner of a given project'; // optional
$owner-&gt;save();

$admin = new Role();
$admin-&gt;name         = 'admin';
$admin-&gt;display_name = 'User Administrator'; // optional
$admin-&gt;description  = 'User is allowed to manage and edit other users'; // optional
$admin-&gt;save();
</code></pre>

<p>and other below code in document.</p>

<p>Even </p>

<pre><code>class User extends Model implements AuthenticatableContract,
                                    AuthorizableContract,
                                    CanResetPasswordContract
</code></pre>

<p>Not mentioned about implements class.</p>

<p>i do </p>

<pre><code>use Illuminate\Contracts\Auth\Authenticatable as AuthenticatableContract;
use Illuminate\Contracts\Auth\Access\Authorizable as AuthorizableContract;
use Illuminate\Contracts\Auth\CanResetPassword as CanResetPasswordContract;
</code></pre>

<p>but i got error </p>

<pre><code>Trait 'App\Authenticatable' not found
</code></pre>

<p>New learner can't get where to place code. i search alot but i can't get perfect document which give right direction. </p>

<p>Where to create role,permissions? Anyone please help me.</p>