> For the complete documentation index, see [llms.txt](https://pratikdai404.gitbook.io/adminetic/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://pratikdai404.gitbook.io/adminetic/installation.md).

# Installation

Getting started with adminetic admin panel.

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> password: admin123

### Register Admin Service Provider

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

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

    ],
```
