Weave Code
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

Config Bundle Laravel Package

dhorchler/config-bundle

View on GitHub
Deep Wiki
Context7

#Information

Compatible with Symfony 2.5 (under construction)

DHorchlerConfigBundle stores configuration settings in an ORM database and makes them administrable in Sonata Admin Bundle. These settings can be used anywhere in your project and can be modified at runtime by a Sonata admin user.

#Features:

  • individual validations for different data types
  • individual constrains with easily customizable error texts
  • jQuery supported form field default values

###Currently supported data types: string, integer, float, date, datetime, choice, multiplechoice.

#Installation

##Get the bundle

Let Composer download and install the bundle by first adding it to your composer.json

and then running

##Enable the bundle in app/AppKernel.php

##Create the settings table

You can do this by calling

or

or how ever you like.

#Configuration

In your app/config/config.yml add

After all this start managing your settings from the Sonata Admin backend.

#Usage example:

#Preview:

Screen shot list settings

Screen shot edit integer settings

Screen shot edit date settings

#Todo:

  • add more tests
  • client side validation
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.
phalcon/cli-options-parser
capell-app/block-library
axium/identity
cetria/laravel-dummy-models
cetria/reflection-helper
agropredict/sso-auth-bundle
evolvestudio/spam-protection
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin
splash/metadata
splash/openapi