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

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.
skyraptor/chatter
edlugz/sasapay
abbasudo/artisan-route
mirvan/ippanel
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource