Configuration
Install command publishes SleepingOwl Admin config automatically. If you want to publish config manually you must run this command in terminal:
$ php artisan vendor:publish --provider="SleepingOwl\Admin\AdminServiceProvider" --tag="config"
Config Attributes
title
String to display in page title and header.
prefix
Url prefix for admin module.
Default: admin
middleware
Middleware to use in admin routes.
Default: ['admin.auth']
bootstrapDirectory
Path to SleepingOwl Admin bootstrap directory. You must place your models configuration and menu configuration there. Every .php
file in that directory will be included.
Default: app_path('Admin')
imagesUploadDirectory
Path to upload images to. Relative to your project public directory.
Default: 'images/uploads'
template
Template class to use.
Default: 'SleepingOwl\Admin\Templates\TemplateDefault'
datetimeFormat, dateFormat, timeFormat
Default date and time formats to use with date/time columns and form items.
Default: 'd.m.Y H:i', 'd.m.Y', 'H:i'