Download the PHP package c33s/symfony-config-manipulator-bundle without Composer

On this page you can find all versions of the php package c33s/symfony-config-manipulator-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package symfony-config-manipulator-bundle

Keep your Symfony2 YAML config files organized

Build Status SensioLabsInsight codecov.io

Do you hate stuffing tons of config into a single config.yml file, losing track of all the sections inside the file? Then this is for you!

This bundle provides some general-purpose YAML and Symfony config manipulation tasks. The most important one is to split the Symfony app/config/config*.yml files into separate sections, leading to a structure like this:

The cleaned up config.yml looks like this:

config_dev.yml content:

Advantages:

Installation

Require c33s/symfony-config-manipulator-bundle in your composer.json file:

or, if you are using 'composer-yaml':

Register the bundle in app/AppKernel.php:

Usage

All you have to do is run a single command:

$ php app/console config:refresh-files

You may re-run it anytime you want. This is especially helpful if you are adding new configuration sections to your project. Just paste them into your main config.yml, config_dev.yml or similar files and run the command to instantly move the new configuration to separate files.

If you add a config section to your config.yml that is already present in a separate file with the same name, the command will exit with an error message. Merge your configurations manually and you're good again.

Safety

The config splitter will never overwrite any existing module config files as long as they contain parseable YAML. But as Murphy's law goes, there might be bugs where nobody expects them.

Make sure to commit your configuration files to your git repository to keep your code safe!


All versions of symfony-config-manipulator-bundle with dependencies

PHP Build Version
Package Version
Requires php Version >=5.4.0
symfony/framework-bundle Version ~2.6|~3.0
symfony/yaml Version ~2.2|~3.0
psr/log Version ~1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package c33s/symfony-config-manipulator-bundle contains the following files

Loading the files please wait ....