Skip to content
项目

关于

🦉 Laravel 管理后台界面构建工具

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

bg

Laravel Admin Panel SleepingOwl

Build Status StyleCI Laravel Support PHP Support

Official Site Demo Site Telegram Chat Latest Stable Version Total Downloads License

SleepingOwl Admin is an administrative interface builder for Laravel. Completely free

⚠️ Laravel Version Support

Starting from the next major release, SleepingOwl Admin will support Laravel 9 and above only.

Support for older Laravel versions (<= 8) will be dropped to align with modern PHP (>= 8.1) and Laravel standards.

Please ensure your application is updated before upgrading to the next version.

Support

  • Laravel > 5.5 - 5.8 (PHP < 7.1.3)
  • Laravel 6.* (PHP >= 7.2)
  • Laravel 7.* (PHP >= 7.2.5)
  • Laravel 8.* (PHP >= 7.3)
  • Laravel 9.* (PHP >= 8.0)
  • Laravel 10.* (PHP >= 8.1)

Tested and worked on Laravel (v10.48) and php 8.3

Lumen is NOT supported(((

Documentation ver.10

Powered by Laravel 5.5 - 10. (latest tested version 10.48.2)

Install ver 8.* (last Released)

Install SleepingOwl Admin

composer require laravelrus/sleepingowl:8.*

Install ver 7.*

  1. Install SleepingOwl Admin

composer require laravelrus/sleepingowl:7.*

or

If you upgrade the old version change in composer.json

"laravelrus/sleepingowl": "^7.*"

after run composer update laravelrus/sleepingowl

and run php artisan sleepingowl:update for update assets

  1. Run this command in the terminal (if you want to know more about what exactly this command does, see install command documentation):
php artisan sleepingowl:install

Authentication

  1. By default, admin module uses Laravel authentication.

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

...
'middleware' => ['web', 'auth']
...
  1. Setting up middleware

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

'defaults' => [
  'guard' => 'web', <- default
  ...
],
  1. If you are using some package for ACL like (Laratrust, Zizaco Entrust, etc...)
'middleware' => ['web', 'role:admin'],

or

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

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.

探索相关项目

加载中…