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.

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

Note: If we enable migrate_wth_dummy in adminetic config file dummy data are seeded on migration. Then above command can be avoided.

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,

    ],

Last updated