---
description: Getting started with adminetic admin panel.
---

# Installation

Adminetic is laravel admin starter kit with user, role and permission, activity, settings and preference management along with CRUD, ACL, BREAD Permission, Repo Pattern, SuperAdmin Generator

## Installation

You can install the package via composer:

```
composer require pratiksh/adminetic
```

### Add AdmineticUser Trait.

#### &#x20;In your user model,

```
use Pratiksh\Adminetic\Traits\AdmineticUser;
class User extends Authenticatable
{
    use AdmineticUser;
    ....
}
```

### Install Adminetic

```
php artisan install:adminetic
```

### Migrate Database

```
php artisan migrate
```

### Seeded Dummy Data

```
php artisan adminetic:dummy
```

{% hint style="info" %}
Note: If we enable migrate\_wth\_dummy in adminetic config file dummy data are seeded on migration. Then above command can be avoided.
{% endhint %}

### Use adminetic auth route. In web.php paste following

```
Route::admineticAuth();
```

This allows you to have necessary login credential

> Admin Credential email : [admin@admin.com](mailto:admin@admin.com) password: admin123

### Register Admin Service Provider

```
   'providers' => [
        /*
         * Package Service Providers...
         */

        /*
         * Application Service Providers...
         */
         App\Providers\AdminServiceProvider::class,

    ],
```
