laravelrus/sleepingowl

Administrative interface builder for Laravel.

9.5.1 2021-12-19 20:17 UTC

This package is auto-updated.

Last update: 2024-11-07 21:25:28 UTC


README

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

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)

Lumen is NOT supported(((

Documentation new ver.9

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.