inweb/admin

Admin Panel for Laravel Framework

Downloads

521

Stars

0

Version

9.0.3

InWeb Admin

Admin Panel for Laravel Framework

Features

  • CRUD
  • Images management

Requirements

  • Laravel >=5.6

Installation

  1. Install package via composer require
    composer require inweb/admin
    
    or add to your composer.json to require section and update your dependencies
    "inweb/admin": "dev-master"
    
  2. Run migrations
    php artisan migrate
    
  3. Run installation command
    php artisan admin:install
    

Manual installation

Run seeder to create admin user with default credentials

php artisan admin:seed

Add guard in config/auth.php

'guards' => [
     ...

    'admin' => [
        'driver' => 'session',
        'provider' => 'admin',
    ],
],

Add provider in config/auth.php

'providers' => [
     ...

     'admin' => [
         'driver' => 'eloquent',
         'model' => InWeb\Admin\App\Models\AdminUser::class,
     ],
],

Publish assets

php artisan admin:publish

You are ready to go!

inwebcomp

Author

inwebcomp