8000 GitHub - awcodes/overlook at v1.0.2
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

awcodes/overlook

Repository files navigation

Overlook for Filament

Latest Version on Packagist Total Downloads

A Filament plugin that adds an app overview widget to your admin panel.

overlook-og

Installation

You can install the package via composer:

composer require awcodes/overlook

Then add the widget to your dashboard class or the Filament config file.

'widgets' => [
    'namespace' => 'App\\Filament\\Widgets',
    'path' => app_path('Filament/Widgets'),
    'register' => [
        \Awcodes\Overlook\Overlook::class,
        ...
    ],
],

Usage

By default, Overlook will display any resource registered with Filament, while still honoring the canViewAny policy. This can be undesired and also slow down the dashboard. To prevent this behavior publish the config file with:

php artisan vendor:publish --tag="overlook-config"

Inside the config you will have options to either "include" or "exclude" resources from being displayed.

return [
    'includes' => [
        App\Filament\Resources\Blog\AuthorResource::class,
     
8000
   App\Filament\Resources\Blog\CategoryResource::class,
        App\Filament\Resources\Blog\PostResource::class,
    ],
    'excludes' => [
//        App\Filament\Resources\Blog\AuthorResource::class,
    ],
];

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.

About

An app overview widget for Filament panels.

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published
0