Installation
-
Require this package in your composer.json and run composer update:
"sleeping-owl/admin": "dev-development"
-
After composer update, add service providers to the
config/app.php
'SleepingOwl\Admin\AdminServiceProvider',
-
Add this to the facades in
config/app.php
:'Admin' => 'SleepingOwl\Admin\Admin', 'AdminAuth' => 'SleepingOwl\AdminAuth\Facades\AdminAuth', 'Column' => 'SleepingOwl\Admin\Columns\Column', 'ColumnFilter' => 'SleepingOwl\Admin\ColumnFilters\ColumnFilter', 'Filter' => 'SleepingOwl\Admin\Filter\Filter', 'AdminDisplay' => 'SleepingOwl\Admin\Display\AdminDisplay', 'AdminForm' => 'SleepingOwl\Admin\Form\AdminForm', 'AdminTemplate' => 'SleepingOwl\Admin\Templates\Facade\AdminTemplate', 'FormItem' => 'SleepingOwl\Admin\FormItems\FormItem',
-
Run this command in terminal (if you want to know what exactly this command makes, see install command documentation):
$ php artisan admin:install
- All done! Now go to the
<your_site_url>/admin
and use default credentialsadmin
/SleepingOwl
.