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.
comsave/common
alecsammon/php-raml-parser
chrome-php/wrench
lendable/composer-license-checker
typhoon/reflection
mesilov/moneyphp-percentage
mike42/gfx-php
bookdown/themes
aura/view
aura/html
aura/cli
povils/phpmnd
nayjest/manipulator
omnipay/tests
psr-mock/http-message-implementation
psr-mock/http-factory-implementation
psr-mock/http-client-implementation
voku/email-check
voku/urlify
rtheunissen/guzzle-log-middleware