composer require vladislavtkachenko/extend-owl-admin
Laravel 5.5 uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider.
For Laravel < 5.5 after updating composer, add the service provider to the providers array in config/app.php
VladislavTkachenko\Admin\Providers\ExtendOwlAdminServiceProvider::class
php artisan vendor:publish --provider="VladislavTkachenko\Admin\Providers\ExtendOwlAdminServiceProvider" --force
AdminFormElement::orderableBlock('content', 'Content')
In model
protected $casts = [ 'content' => 'array' ];
In admin Section
AdminFormElement::orderableImages('content', 'Content')
onDisplay
AdminColumn::color('color', 'Color')
onCreate / onEdit
AdminFormElement::colorPicker('color', 'Color')
AdminFormElement::yandexMap('coords', 'Map')
(new Page())->setTitle('Server')->setIcon('fa fa-server')->setUrl('/admin/server')
(new Page())->setTitle('Robots')->setIcon('fa fa-android')->setUrl('/admin/robots')
Set daily Laravel log in .env file
APP_LOG=daily
Add to the navigation in Admin/navigation.php
(new Page())->setTitle('Logs')->setIcon('fa fa-files-o')->setUrl('/admin/logs')
Add middleware to the routeMiddleware array in app/Http/Kernel.php
'administrator' => \VladislavTkachenko\Admin\Http\Middleware\Administrator::class
Add middleware to the 'middleware' array in config/sleeping_owl.php
'middleware' => ['web', 'administrator'],
Configure sleeping_owl_extent.php config