Bagisto Hosting
On this page

Table of Content

How to create custom configuration in Bagisto ?

It becomes very easy to create custom Configurations in Bagisto. As it is an important part of the admin panel. Follow the given steps

Let’s get Started

Step 1

First, you need to create a file in the Config folder name system.php of the package.

Step 2

Inside the file, you can include the code below


Keys Explanations

  • key: This key accepts the unique value and is nested with the ‘.’ (dot) operator.
  • name: This key accepts the value as a name for your configuration. In Bagisto, we write it using translation.
  • sort: This key accepts the sort position for the configuration menu.
  • fields : This key accept the array for the value of the custom configuration.

Step 3

Then register the config file in Service Provider in the register function as illustrated below


Step 4

Run the command


 

That’s all about “How to create a custom configuration in Bagisto”. Also, for any suggestions or query contact us at bagisto.uvdesk.com

. . .

Leave a Comment

Your email address will not be published. Required fields are marked*


Be the first to comment.

Start a Project




    Message Sent!

    If you have more details or questions, you can reply to the received confirmation email.

    Back to Home