2017 © Pedro Peláez
 

symfony-bundle diarchitectbundle

Symfony2 bundle for create Dependency Injection charts

image

ilubenets/diarchitectbundle

Symfony2 bundle for create Dependency Injection charts

  • Wednesday, October 22, 2014
  • by iLubenets
  • Repository
  • 1 Watchers
  • 0 Stars
  • 7 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

DIArchitectBundle

Symfony2 bundle for create Dependency Injection charts, (*1)

Installation

Install graphviz on your system, (*2)

Step 0: Install graphviz on your system

Ubuntu ``` bash sudo apt-get install graphviz, (*3)


### Step 1: Download DIArchitectBundle using composer Add DIArchitectBundle by running the command: ``` bash $ php composer.phar require ilubenets/diarchitectbundle "dev-master"

Composer will install the bundle to your project's ilubenets/diarchitectbundle directory., (*4)

Step 2: Enable the bundle

Enable the bundle in the kernel:, (*5)

``` php <?php // app/AppKernel.php, (*6)

public function registerBundles() { $bundles = array( // ... new iLubenets\DIArchitectBundle\iLubenetsDIArchitectBundle(), ); }, (*7)

### Step 3: Configure the DIArchitectBundle
Add the following configuration to your `config.yml` file according to which type
of datastore you are using.

``` yaml
# app/config/config.yml
i_lubenets_di_architect:
  path_to_save_graphviz: 'src/doc/DI'
  service_path_list:
    ListOfYourBundles1: 'src/List/OfYourBundles1/Resources/config/services.yml'
    ListOfYourBundles2: 'src/List/OfYourBundles2/Resources/config/services.yml'
    ...

routing.yml, (*8)

i_lubenets_di_architect:
    resource: "@iLubenetsDIArchitectBundle/Resources/config/routing.yml"
    prefix: /

How to use

``` bash php app/console di_architect:dump_class_structure --bundle=TestBundle, (*9)


Then can be accessed by url /architect/di/{bundle} ``` bash * php app/console di_architect:graphviz_generate --bundle=TestBundle --img

TODO

  • Refactoring duplicate code

The Versions

22/10 2014

dev-master

9999999-dev https://github.com/iLubenets/DIArchitectBundle

Symfony2 bundle for create Dependency Injection charts

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by Avatar iLubenets

dependency injection charts

22/10 2014

dev-dev

dev-dev https://github.com/iLubenets/DIArchitectBundle

Symfony2 bundle for create Dependency Injection charts

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by Avatar iLubenets

dependency injection charts