Skip to content

Qore.works Business admin

Introduction

This section explains the basics of development on Qore.works admin

Default plugins

Filament 3.x is using plugins to extend panels with more functionalities. The qore-admin-base package is a filament plugin that allows to set configuration depending on the application/panel. Sometimes you want to force plugins to be loaded into the Qore.works admin. For example base packages like Media libraries translations etc. We don't want to force developers to add all these plugins to the panels() method in the application service provider of the (admin) panel. Therefor we have a fallback methode defaultPlugins() in the QorePanel class, that will make sure the plugins will be loaded with default settings if they are not set explicit in an application service provider.

php
\QoreWorksBusiness\QoreAdminBase\QorePanelServiceProviderBase
php
    public function panel(QorePanel|Panel $panel): QorePanel
    {
        return $panel
        // ...
            ->defaultPlugins([
                // Default plugins that are required for Qore.works admin
                // You can overwrite this plugins with options in athe plugins([]) method of the panel
                QoreAdminBasePlugin::make(),
            ])
        // ...    
    }