PHPackages                             weiliang/sleepingowl - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Admin Panels](/categories/admin)
4. /
5. weiliang/sleepingowl

ActiveLibrary[Admin Panels](/categories/admin)

weiliang/sleepingowl
====================

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

5.1(10y ago)0161MITJavaScriptPHP &gt;=5.5.9

Since Oct 13Pushed 10y ago1 watchersCompare

[ Source](https://github.com/wl496928838/SleepingOwlAdmin)[ Packagist](https://packagist.org/packages/weiliang/sleepingowl)[ Docs](http://sleeping-owl.github.io)[ RSS](/packages/weiliang-sleepingowl/feed)WikiDiscussions development Synced 4w ago

READMEChangelogDependencies (10)Versions (163)Used By (0)

[![bg](https://cloud.githubusercontent.com/assets/773481/14028746/24d7efa8-f20f-11e5-8e38-3d264739f0aa.png)](https://cloud.githubusercontent.com/assets/773481/14028746/24d7efa8-f20f-11e5-8e38-3d264739f0aa.png)

Laravel 5.2 后台管理模块
------------------

[](#laravel-52-后台管理模块)

[![StyleCI](https://camo.githubusercontent.com/9c99358b3638d7864fd11f75ea89abaf166e76d4e3a67369aed2dd5750592b94/68747470733a2f2f7374796c6563692e696f2f7265706f732f35323134313339332f736869656c643f7374796c653d666c6174)](https://styleci.io/repos/52141393)[![Join the chat at https://gitter.im/LaravelRUS/SleepingOwlAdmin](https://camo.githubusercontent.com/0c685a2f69ca892bb71ddc19771eefe991e0e25ea6e1550cbd0f0f81f44853ca/68747470733a2f2f6261646765732e6769747465722e696d2f4c61726176656c5255532f536c656570696e674f776c41646d696e2e737667)](https://gitter.im/LaravelRUS/SleepingOwlAdmin?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)[![Latest Stable Version](https://camo.githubusercontent.com/36658305f62ec6f22ebb02cff292be6fa370e0015ab5b6ce2773e76463fdcc6b/68747470733a2f2f706f7365722e707567782e6f72672f736c656570696e672d6f776c2f61646d696e2f762f756e737461626c652e737667)](https://packagist.org/packages/laravelrus/sleepingowl)[![License](https://camo.githubusercontent.com/9e39d2bde7d20de03bb96bea80062be70b2bcad3a63481283e64f5b2a6de5521/68747470733a2f2f706f7365722e707567782e6f72672f6c61726176656c7275732f736c656570696e676f776c2f6c6963656e73652e737667)](https://packagist.org/packages/laravelrus/sleepingowl)

*Note: 这是开发分支，如果你需要稳定版本，请检出 [master branch](https://github.com/LaravelRUS/SleepingOwlAdmin).*

这是一个管理界面生成器，很简单的接入在Laravel.

### 使用到的bower包:

[](#使用到的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:

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

```

Or `composer require laravelrus/sleepingowl:4.*@dev`

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

**Example**

```
    ...
    /*
     * 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](http://sleeping-owl.github.io/en/Commands/Install.html)):

    $ php artisan sleepingowl:install

Laravel 5.1 usage
-----------------

[](#laravel-51-usage)

SleepingOwl are compatible with Laravel 5.1. But full performance is not guaranteed.

### Installation

[](#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
-----------------------------

[](#upgrade-from-418x-to-419x)

### HtmlAttributes

[](#htmlattributes)

Class has been moved to composer package `kodicomponents\support` for using in other projects and methods have been changed for more compatibility.

- `setAttribute` -&gt; `setHtmlAttribute`
- `setAttributes` -&gt; `setHtmlAttributes`
- `getAttribute` -&gt; `getHtmlAttribute`
- `getAttributes` -&gt; `getHtmlAttributes`
- `hasAttribute` -&gt; `hasHtmlAttribute`
- `replaceAttribute` -&gt; `replaceHtmlAttribute`
- `removeAttribute` -&gt; `removeHtmlAttribute`
- `clearAttributes` -&gt; `clearHtmlAttributes`
- `hasClass` -&gt; `hasClassProperty`

### Navigation

[](#navigation)

Navigation classes have been move to composer package `kodicomponents\navigation` for using in other projects.

---

Authentication
--------------

[](#authentication)

By default, admin module uses Laravel authentication.

If you want to use auth, you can run artisan command `php artisan make:auth` () and append middleware `auth` to `config/sleeping_owl.php`

### Supporting of old authentication

[](#supporting-of-old-authentication)

If you want to migrate from an older version you can use old auth.

Steps:

1. Add new user provider in `config/auth.php`

```
'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`

```
'guards' => [
  'web' => [
    'driver' => 'session',
    'provider' => 'administrators', // change existing provider
  ],

  // or add new

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

3. Setting up middleware

By default `auth` middleware use default guard, selected in `config/auth.php`

```
'defaults' => [
  'guard' => 'web',  ['web', 'auth:admin'],
```

---

Demo project
------------

[](#demo-project)

You can download the demo project at

Documentation
-------------

[](#documentation)

- [Russian](http://sleepingowl.laravel.su/docs/4.0/)
- English

Copyright and License
---------------------

[](#copyright-and-license)

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

###  Health Score

33

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity77

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~4 days

Total

161

Last Release

3667d ago

Major Versions

1.3.27 → 2.0.242015-04-03

1.3.28 → 2.0.282015-04-23

2.0.43 → 3.0.0-beta2016-02-20

3.0.0-beta → 4.0.0-beta2016-02-20

0.1 → 5.12016-06-16

PHP version history (2 changes)1.0.0PHP &gt;=5.4.0

4.19.92-betaPHP &gt;=5.5.9

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7980509?v=4)[微凉](/maintainers/wl496928838)[@wl496928838](https://github.com/wl496928838)

---

Top Contributors

[![butschster](https://avatars.githubusercontent.com/u/773481?v=4)](https://github.com/butschster "butschster (226 commits)")[![sleeping-owl](https://avatars.githubusercontent.com/u/9197310?v=4)](https://github.com/sleeping-owl "sleeping-owl (219 commits)")[![asvae](https://avatars.githubusercontent.com/u/5394573?v=4)](https://github.com/asvae "asvae (13 commits)")[![moisespsena](https://avatars.githubusercontent.com/u/350884?v=4)](https://github.com/moisespsena "moisespsena (7 commits)")[![eugenem](https://avatars.githubusercontent.com/u/210991?v=4)](https://github.com/eugenem "eugenem (4 commits)")[![alexrosenfeld](https://avatars.githubusercontent.com/u/12616422?v=4)](https://github.com/alexrosenfeld "alexrosenfeld (4 commits)")[![wl496928838](https://avatars.githubusercontent.com/u/7980509?v=4)](https://github.com/wl496928838 "wl496928838 (4 commits)")[![chancezeus](https://avatars.githubusercontent.com/u/2089196?v=4)](https://github.com/chancezeus "chancezeus (3 commits)")[![b4rtaz](https://avatars.githubusercontent.com/u/12797776?v=4)](https://github.com/b4rtaz "b4rtaz (3 commits)")[![pedrofaria](https://avatars.githubusercontent.com/u/9825?v=4)](https://github.com/pedrofaria "pedrofaria (3 commits)")[![MammutAlex](https://avatars.githubusercontent.com/u/10599196?v=4)](https://github.com/MammutAlex "MammutAlex (3 commits)")[![Butochnikov](https://avatars.githubusercontent.com/u/4212297?v=4)](https://github.com/Butochnikov "Butochnikov (2 commits)")[![rubemlrm](https://avatars.githubusercontent.com/u/480040?v=4)](https://github.com/rubemlrm "rubemlrm (2 commits)")[![SerafimArts](https://avatars.githubusercontent.com/u/2461257?v=4)](https://github.com/SerafimArts "SerafimArts (1 commits)")[![Sufuninja](https://avatars.githubusercontent.com/u/12483717?v=4)](https://github.com/Sufuninja "Sufuninja (1 commits)")[![ThibautAdeliom](https://avatars.githubusercontent.com/u/69465038?v=4)](https://github.com/ThibautAdeliom "ThibautAdeliom (1 commits)")[![medisun](https://avatars.githubusercontent.com/u/2717800?v=4)](https://github.com/medisun "medisun (1 commits)")[![Big-Shark](https://avatars.githubusercontent.com/u/646054?v=4)](https://github.com/Big-Shark "Big-Shark (1 commits)")[![dmartinng](https://avatars.githubusercontent.com/u/761813?v=4)](https://github.com/dmartinng "dmartinng (1 commits)")[![dofmat](https://avatars.githubusercontent.com/u/3089681?v=4)](https://github.com/dofmat "dofmat (1 commits)")

---

Tags

laravelcrudadminadministrator

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/weiliang-sleepingowl/health.svg)

```
[![Health](https://phpackages.com/badges/weiliang-sleepingowl/health.svg)](https://phpackages.com/packages/weiliang-sleepingowl)
```

###  Alternatives

[laravelrus/sleepingowl

Administrative interface builder for Laravel.

803221.7k3](/packages/laravelrus-sleepingowl)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1615.6k12](/packages/2lenet-crudit-bundle)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
