2017 © Pedro Peláez
 

library sleepingowl

Administrative interface builder for Laravel.提供更好的中文支持..

image

weiliang/sleepingowl

Administrative interface builder for Laravel.提供更好的中文支持..

  • Thursday, June 16, 2016
  • by wl496928838
  • Repository
  • 1 Watchers
  • 0 Stars
  • 5 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 172 Forks
  • 0 Open issues
  • 100 Versions
  • 0 % Grown

The README.md

bg, (*1)

Laravel 5.2 后台管理模块

StyleCI Join the chat at https://gitter.im/LaravelRUS/SleepingOwlAdmin Latest Stable Version License, (*2)

Note: 这是开发分支,如果你需要稳定版本,请检出 master branch., (*3)

这是一个管理界面生成器,很简单的接入在Laravel., (*4)

使用到的bower包:

  • jquery
  • bootstrap
  • bootbox
  • datetimepicker
  • fontawesome
  • moment
  • nestable
  • noty
  • ckeditor
  • Sortable
  • select2
  • flow.js
  • ekko-lightbox
  • metisMenu
  • datatables
  • startbootstrap-sb-admin-2

安装

  1. Require this package in your composer.json and run composer update:, (*5)

    "require": {
    "php": ">=5.5.9",
    "laravel/framework": "5.2.*",
    ...
    "laravelrus/sleepingowl": "4.*@dev"
    },
    

    Or composer require laravelrus/sleepingowl:4.*@dev, (*6)

  2. After composer update, insert service provider SleepingOwl\Admin\Providers\SleepingOwlServiceProvider::class, before Application Service Providers... to the config/app.php, (*7)

    Example, (*8)

      ...
      /*
       * SleepingOwl Service Provider
       */
        SleepingOwl\Admin\Providers\SleepingOwlServiceProvider::class,
    
        /*
       * Application Service Providers...
       */
      App\Providers\AppServiceProvider::class,
      ...
    
  3. Run this command in the terminal (if you want to know more about what exactly this command does, see install command documentation):, (*9)

    $ php artisan sleepingowl:install, (*10)

Laravel 5.1 usage

SleepingOwl are compatible with Laravel 5.1. But full performance is not guaranteed., (*11)

Installation

  • See Installation section of Laravel 5.2
  • After all actions: open config/sleeping_owl.php and change 'middleware' => ['web'] to 'middleware' => []

Upgrade from 4.18.x to 4.19.x

HtmlAttributes

Class has been moved to composer package kodicomponents\support for using in other projects and methods have been changed for more compatibility., (*12)

  • setAttribute -> setHtmlAttribute
  • setAttributes -> setHtmlAttributes
  • getAttribute -> getHtmlAttribute
  • getAttributes -> getHtmlAttributes
  • hasAttribute -> hasHtmlAttribute
  • replaceAttribute -> replaceHtmlAttribute
  • removeAttribute -> removeHtmlAttribute
  • clearAttributes -> clearHtmlAttributes
  • hasClass -> hasClassProperty

Navigation classes have been move to composer package kodicomponents\navigation for using in other projects., (*13)


Authentication

By default, admin module uses Laravel authentication., (*14)

If you want to use auth, you can run artisan command php artisan make:auth (https://laravel.com/docs/5.2/authentication) and append middleware auth to config/sleeping_owl.php, (*15)

Supporting of old authentication

If you want to migrate from an older version you can use old auth., (*16)

Steps:, (*17)

  1. Add new user provider in config/auth.php, (*18)

    'providers' => [
    'users' => [
      'driver' => 'eloquent',
      'model' => App\User::class,
    ],
    'administrators' => [
      'driver' => 'eloquent',
      'model' => SleepingOwl\Admin\Auth\Administrator::class,
    ],
    ],
    
  2. Add new guards or change existing in config/auth.php, (*19)

    'guards' => [
    'web' => [
      'driver' => 'session',
      'provider' => 'administrators', // change existing provider
    ],
    
    // or add new
    
    'admin' => [
      'driver' => 'session',
      'provider' => 'administrators',
    ],
    ],
    
  3. Setting up middleware, (*20)

    By default auth middleware use default guard, selected in config/auth.php, (*21)

    'defaults' => [
    'guard' => 'web', <- default
    ...
    ],
    

    You can change default guard to admin or change middleware in config/sleeping_owl.php to, (*22)

    'middleware' => ['web', 'auth:admin'],
    

Demo project

You can download the demo project at https://github.com/SleepingOwlAdmin/demo, (*23)

Documentation

Admin was written by Sleeping Owl for the Laravel framework and is released under the MIT License. See the LICENSE file for details., (*24)

The Versions

24/03 2016
24/03 2016
24/03 2016

4.18.92-beta

4.18.92.0-beta http://sleeping-owl.github.io

Administrative interface builder for Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel crud admin administrator

23/03 2016

4.17.90-beta

4.17.90.0-beta http://sleeping-owl.github.io

Administrative interface builder for Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel crud admin administrator

17/03 2016

4.17.88-beta

4.17.88.0-beta http://sleeping-owl.github.io

Administrative interface builder for Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel crud admin administrator

17/03 2016

4.17.87-beta

4.17.87.0-beta http://sleeping-owl.github.io

Administrative interface builder for Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel crud admin administrator

15/03 2016

4.17.86-beta

4.17.86.0-beta http://sleeping-owl.github.io

Administrative interface builder for Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel crud admin administrator

13/03 2016

4.16.86-beta

4.16.86.0-beta http://sleeping-owl.github.io

Aministrative interface builder for Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel crud admin administrator

10/03 2016

4.15.84-beta

4.15.84.0-beta http://sleeping-owl.github.io

Aministrative interface builder for Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel crud admin administrator

05/03 2016

4.15.83-beta

4.15.83.0-beta http://sleeping-owl.github.io

Aministrative interface builder for Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel crud admin administrator

04/03 2016

4.15.80-beta

4.15.80.0-beta http://sleeping-owl.github.io

Aministrative interface builder for Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel crud admin administrator

29/02 2016

4.14.74-beta

4.14.74.0-beta http://sleeping-owl.github.io

Aministrative interface builder for Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel crud admin administrator

29/02 2016

4.14.73-beta

4.14.73.0-beta http://sleeping-owl.github.io

Aministrative interface builder for Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel crud admin administrator

28/02 2016

4.14.72-beta

4.14.72.0-beta http://sleeping-owl.github.io

Aministrative interface builder for Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel crud admin administrator

27/02 2016

4.14.64-beta

4.14.64.0-beta http://sleeping-owl.github.io

Aministrative interface builder for Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel crud admin administrator

26/02 2016

4.13.64-beta

4.13.64.0-beta http://sleeping-owl.github.io

Aministrative interface builder for Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel crud admin administrator

26/02 2016

4.12.60-beta

4.12.60.0-beta http://sleeping-owl.github.io

Aministrative interface builder for Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel crud admin administrator

26/02 2016

4.12.57-beta

4.12.57.0-beta http://sleeping-owl.github.io

Aministrative interface builder for Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel crud admin administrator

26/02 2016

4.12.55-beta

4.12.55.0-beta http://sleeping-owl.github.io

Aministrative interface builder for Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel crud admin administrator

25/02 2016

4.12.48-beta

4.12.48.0-beta http://sleeping-owl.github.io

Aministrative interface builder for Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel crud admin administrator

25/02 2016

4.12.45-beta

4.12.45.0-beta http://sleeping-owl.github.io

Aministrative interface builder for Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel crud admin administrator

24/02 2016

4.10.41-beta

4.10.41.0-beta http://sleeping-owl.github.io

Aministrative interface builder for Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel crud admin administrator

24/02 2016

4.10.40-beta

4.10.40.0-beta http://sleeping-owl.github.io

Aministrative interface builder for Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel crud admin administrator

23/02 2016

4.9.35-beta

4.9.35.0-beta http://sleeping-owl.github.io

Aministrative interface builder for Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel crud admin administrator

23/02 2016

4.8.35-beta

4.8.35.0-beta http://sleeping-owl.github.io

Aministrative interface builder for Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel crud admin administrator

23/02 2016

4.7.33-beta

4.7.33.0-beta http://sleeping-owl.github.io

Aministrative interface builder for Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel crud admin administrator

22/02 2016

4.5.30-beta

4.5.30.0-beta http://sleeping-owl.github.io

Aministrative interface builder for Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel crud admin administrator

22/02 2016

4.5.26-beta

4.5.26.0-beta http://sleeping-owl.github.io

Aministrative interface builder for Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel crud admin administrator

22/02 2016

4.5.25-beta

4.5.25.0-beta http://sleeping-owl.github.io

Aministrative interface builder for Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel crud admin administrator

21/02 2016

4.4.23-beta

4.4.23.0-beta http://sleeping-owl.github.io

Aministrative interface builder for Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel crud admin administrator

21/02 2016

4.3.21-beta

4.3.21.0-beta http://sleeping-owl.github.io

Aministrative interface builder for Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel crud admin administrator

20/02 2016

4.0.18-beta

4.0.18.0-beta http://sleeping-owl.github.io

Aministrative interface builder for Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel crud admin administrator

20/02 2016

4.0.16-beta

4.0.16.0-beta http://sleeping-owl.github.io

Aministrative interface builder for Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel crud admin administrator

20/02 2016

4.0.10-beta

4.0.10.0-beta http://sleeping-owl.github.io

Aministrative interface builder for Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel crud admin administrator

20/02 2016

4.0.1-beta

4.0.1.0-beta http://sleeping-owl.github.io

Aministrative interface builder for Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel crud admin administrator

20/02 2016

4.0.0-beta

4.0.0.0-beta http://sleeping-owl.github.io

Aministrative interface builder for Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel crud admin administrator

20/02 2016

3.0.0-beta

3.0.0.0-beta http://sleeping-owl.github.io

Aministrative interface builder for Laravel.

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel crud admin administrator

14/04 2015
03/04 2015
03/04 2015
31/03 2015
08/03 2015
08/03 2015
08/03 2015
08/03 2015
08/03 2015
08/03 2015
03/03 2015