Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Acspanel Settings Laravel Package

acs/acspanel-settings

View on GitHub
Deep Wiki
Context7

PanelSettingsBundle

This bundles enables the ACSPanel settings.

The file to map the settings needed for the panel is app/main/config/panel_settings.yml. This file defines what are the system settings only editable by the superadmin, the user settings and the internal settings. When you change this file to add new fields the next time one user goes to settings screen the new settings will be generated.

Install the bundle

Using composer:

composer require acs/acspanel-settings

Add the next line to AppKernel:

new ACS\ACSPanelSettingsBundle\ACSACSPanelSettingsBundle(),

Setting up

Add the following config lines to configure your app setting entity:

acsacs_panel_settings:
    setting_class:        ACS\ACSPanelBundle\Entity\PanelSetting # Required
    settings_class:       ACS\ACSPanelSettingsBundle\Doctrine\SettingManager # Required
    user_fields:
        setting_key:          ~
        label:                ~
        field_type:           ~
        default_value:        ~
        context:              ~
        choices:

            # Prototype
            name:                 []
        focus:                user_setting
    system_fields:
        setting_key:          ~
        label:                ~
        field_type:           ~
        choices:

            # Prototype
            name:                 []
        default_value:        ~
        context:              ~
        focus:                system_setting

Extends your entity from the Bundle entity (Remember to not include id field in doctrine definition)

use ACS\ACSPanelSettingsBundle\Entity\ConfigSetting;

class UserSetting extends ConfigSetting
{
    ...
}

Add the routes to app/routing.yml

acs_settings:
    resource: "@ACSACSPanelSettingsBundle/Resources/config/routing.yml"
    prefix:   /
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
diephp/sequences
users-au/socialite-provider
twidpay/twid-logger
mrnewport/laravel-plaid
mrnewport/laravel-repo
mrnewport/laravel-docsign
mrnewport/laravel-stow
mrnewport/laravel-flow
mrnewport/laravel-priceable
mrnewport/laravel-nestedterms
fredmeng/laravel-apidoc-generator
itstructure/laravel-multilingual-tools
pdustdar/elasticsearch
markupai/php-sdk
rlacerda83/lumem-microservice-shipment
uni-method/symfony-lib
tacticmedia/scim-server-bundle
neika-ai/symfony-bundle
mattleads/agent-publishing-bundle
glavweb/framework-bundle