2017 © Pedro Peláez
 

library mks-admin

Starter Admin Panel for Laravel

image

mikelmi/mks-admin

Starter Admin Panel for Laravel

  • Monday, May 22, 2017
  • by mikelmi
  • Repository
  • 1 Watchers
  • 0 Stars
  • 60 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 27 Versions
  • 0 % Grown

The README.md

Starter Admin Panel for Laravel projects

Build on AngularJS 1.5, Bootstrap 4, (*1)

Requirements

  • Laravel 5.4

Installation

  • Install via composer
$ composer require mikelmi/mks-admin
  • Add Mikelmi\MksAdmin\Providers\AdminServiceProvider::class to your providers config
  • Publish assets and config
$ php artisan vendor:publish --provider="Mikelmi\MksAdmin\Providers\AdminServiceProvider"
  • Edit config/admin.php

Configure User

For accessing the admin panel User should have 'admin.access' ability (you can define it by Gate::define()). See https://laravel.com/docs/master/authorization#gates for details, (*2)

[Optional] Define SuperAdmin ability

Implement AdminableUserInterface by your User model, (*3)

// app/User.php
<?php
//...
use Mikelmi\MksAdmin\Contracts\AdminableUserInterface;

class User extends Authenticatable implements AdminableUserInterface {
    //...

    public function isSuperAdmin(): bool
    {
        //TODO: return true if user is SuperAdmin
        return false;
    }
}

[Optional] Enable Password Reset for admins
  1. Enable it in config/admin.php file:
<?php

return [
    //...
    'reset_enable' => true,
  1. Add Mikelmi\MksAdmin\Traits\AdminableUser Trait to your User model

Configure Menu

By default the menu items are built by \Mikelmi\MksAdmin\Services\SimpleMenu class and configured in the config/admin.php. E.g:, (*4)

'menu_manager' => \Mikelmi\MksAdmin\Services\SimpleMenu::class,
'menu' => [
    ['title'=>'Home', 'url'=>'#/home', 'hash'=>'home', 'icon'=>'home'],
    ['title'=>'Users', 'url'=>'#/users', 'hash'=>'users', 'icon'=>'user'],
],

But you can change the default menu manager class by your own which should implements Mikelmi\MksAdmin\Contracts\MenuManagerContract, (*5)

Controllers

  1. Define admin routes in routes/admin.php

The Versions

22/05 2017

dev-master

9999999-dev

Starter Admin Panel for Laravel

  Sources   Download

MIT

The Requires

 

by mike_lmi

laravel admin angular

22/05 2017

v3.1.9

3.1.9.0

Starter Admin Panel for Laravel

  Sources   Download

MIT

The Requires

 

by mike_lmi

laravel admin angular

02/05 2017

v3.1.8

3.1.8.0

Starter Admin Panel for Laravel

  Sources   Download

MIT

The Requires

 

by mike_lmi

laravel admin angular

06/04 2017

v3.1.6

3.1.6.0

Starter Admin Panel for Laravel

  Sources   Download

MIT

The Requires

 

by mike_lmi

laravel admin angular

06/04 2017

v3.1.7

3.1.7.0

Starter Admin Panel for Laravel

  Sources   Download

MIT

The Requires

 

by mike_lmi

laravel admin angular

03/04 2017

v3.1.5

3.1.5.0

Starter Admin Panel for Laravel

  Sources   Download

MIT

The Requires

 

by mike_lmi

laravel admin angular

30/03 2017

v3.1.4

3.1.4.0

Starter Admin Panel for Laravel

  Sources   Download

MIT

The Requires

 

by mike_lmi

laravel admin angular

30/03 2017

v3.1.3

3.1.3.0

Starter Admin Panel for Laravel

  Sources   Download

MIT

The Requires

 

by mike_lmi

laravel admin angular

27/03 2017

v3.x-dev

3.9999999.9999999.9999999-dev

Starter Admin Panel for Laravel

  Sources   Download

MIT

The Requires

 

by mike_lmi

laravel admin angular

27/03 2017

v3.1.1

3.1.1.0

Starter Admin Panel for Laravel

  Sources   Download

MIT

The Requires

 

by mike_lmi

laravel admin angular

27/03 2017

v3.1.2

3.1.2.0

Starter Admin Panel for Laravel

  Sources   Download

MIT

The Requires

 

by mike_lmi

laravel admin angular

24/03 2017

v3.0.9

3.0.9.0

Starter Admin Panel for Laravel

  Sources   Download

MIT

The Requires

 

by mike_lmi

laravel admin angular

24/03 2017

v3.1.0

3.1.0.0

Starter Admin Panel for Laravel

  Sources   Download

MIT

The Requires

 

by mike_lmi

laravel admin angular

22/03 2017

v3.0.8

3.0.8.0

Starter Admin Panel for Laravel

  Sources   Download

MIT

The Requires

 

by mike_lmi

laravel admin angular

20/03 2017

v3.0.7

3.0.7.0

Starter Admin Panel for Laravel

  Sources   Download

MIT

The Requires

 

by mike_lmi

laravel admin angular

20/03 2017

v3.0.6

3.0.6.0

Starter Admin Panel for Laravel

  Sources   Download

MIT

The Requires

 

by mike_lmi

laravel admin angular

20/03 2017

v3.0.5

3.0.5.0

Starter Admin Panel for Laravel

  Sources   Download

MIT

The Requires

 

by mike_lmi

laravel admin angular

17/03 2017

v3.0.4

3.0.4.0

Starter Admin Panel for Laravel

  Sources   Download

MIT

The Requires

 

by mike_lmi

laravel admin angular

17/03 2017

v3.0.3

3.0.3.0

Starter Admin Panel for Laravel

  Sources   Download

MIT

The Requires

 

by mike_lmi

laravel admin angular

16/03 2017

v3.0.2

3.0.2.0

Starter Admin Panel for Laravel

  Sources   Download

MIT

The Requires

 

by mike_lmi

laravel admin angular

16/03 2017

v3.0.1

3.0.1.0

Starter Admin Panel for Laravel

  Sources   Download

MIT

The Requires

 

by mike_lmi

laravel admin angular

15/03 2017

v3.0

3.0.0.0

Starter Admin Panel for Laravel

  Sources   Download

MIT

The Requires

 

by mike_lmi

laravel admin angular

27/01 2017

2.0.x-dev

2.0.9999999.9999999-dev

Simple Admin Panel for Laravel

  Sources   Download

MIT

The Requires

 

by mike_lmi

27/01 2017

v2.0.1

2.0.1.0

Simple Admin Panel for Laravel

  Sources   Download

MIT

The Requires

 

by mike_lmi

27/01 2017

v2.0

2.0.0.0

Simple Admin Panel for Laravel

  Sources   Download

MIT

The Requires

 

by mike_lmi

16/09 2016

1.0

1.0.0.0

Simple Admin Panel for Laravel

  Sources   Download

MIT

The Requires

 

by mike_lmi

18/08 2016

1.0.x-dev

1.0.9999999.9999999-dev

Simple Admin Panel for Laravel

  Sources   Download

MIT

The Requires

 

by mike_lmi