informixter / soadmin
Administrative interface builder for Laravel.
Requires
- php: >=7.1.3
- ext-json: *
- barryvdh/laravel-ide-helper: ^2.4.3
- davejamesmiller/laravel-breadcrumbs: 3.0.* || 5.2.*
- doctrine/dbal: ~2.3
- erusev/parsedown: 1.*
- kodicomponents/navigation: 0.*
- kodicomponents/support: 0.*
- laravel/framework: ~5.6
- laravelcollective/html: 5.5.* || 5.6.* || 5.7.* || 5.8.*
Requires (Dev)
- mockery/mockery: 0.9.* || ~1.2
- orchestra/testbench: ~3.5 || ~3.6 || ~3.8
- phpunit/phpunit: ^7.0 || ^8.0
This package is auto-updated.
Last update: 2025-02-22 20:04:04 UTC
README
Laravel Admin Panel
Note: This is the development version. If you are looking for the stable version check out master branch.
SleepingOwl Admin is an administrative interface builder for Laravel.
Documentation
Installation
-
Require this package in your composer.json and run composer update:
composer require informixter/soadmin
-
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
-
After you have to update in
composer.json
post-update section:Example:
"post-update-cmd": [ "Illuminate\\Foundation\\ComposerScripts::postUpdate", "@php artisan sleepingowl:update", ]
NOTE: So if you use a laravel-ide-helper package place
sleepingowl:update
after it commands:"post-update-cmd": [ "Illuminate\\Foundation\\ComposerScripts::postUpdate", "@php artisan ide-helper:generate", "@php artisan ide-helper:meta", "@php artisan sleepingowl:update", ]
Authentication
-
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 middlewareauth
toconfig/sleeping_owl.php
... 'middleware' => ['web', 'auth'] ...
-
Setting up middleware
By default
auth
middleware use default guard, selected inconfig/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'],
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.