hautelook/config-dump-bundle

Symfony Command that allows to dump the whole configuration for the container

0.1 2015-06-02 21:55 UTC

This package is not auto-updated.

Last update: 2020-09-22 14:17:20 UTC


README

A Symfony2 bundle that provides a console command to dump all set parameters.

Build Status Scrutinizer Code Quality Code Coverage SensioLabsInsight

Introduction

As was pointed out, there actually is php app/console container:debug --parameters which I was not aware of. So, consider this a useless exercise. :)

Installation

Simply run assuming you have installed composer.phar or composer binary (or add to your composer.json and run composer install:

$ composer require hautelook/config-dump-bundle

You can follow dev-master, or use a more stable tag (recommended for various reasons). On the Github repository, or on Packagist, you can always find the latest tag.

Now add the Bundle to your Kernel:

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Hautelook\AliceBundle\HautelookConfigDumpBundle(),
        // ...
    );
}

Usage

Run this:

$ app/console hautelook:dump:config