SleepingOwl Admin is an administrative interface builder for Laravel. Completely free
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(((
Powered by Laravel 5.5 - 10+. (latest tested version 10.48.2)
ver 8.*
(last Released)Install SleepingOwl Admin
composer require laravelrus/sleepingowl:8.*
ver 7.*
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
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
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']
...
Setting up middleware
By default auth
middleware use default guard, selected in config/auth.php
'defaults' => [
'guard' => 'web', <- default
...
],
If you are using some package for ACL like (Laratrust, Zizaco Entrust, etc...)
'middleware' => ['web', 'role:admin'],
or
'middleware' => ['web', 'permission:admin'],
Admin was written by Sleeping Owl for the Laravel framework and is released under the MIT License. See the LICENSE file for details.