File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -39,9 +39,32 @@ And parses their report to give a nice view for rapid analysis of your project.
3939
4040### Install
4141 - composer require jdlabails/php-project-analyzer-bundle
42- - php app/console assets: install
43- - php app/console assetic: dump
42+ - add bundle to kernel
43+ ``` php
44+ /* app/AppKernel.php */
45+ public function registerBundles()
46+ {
47+ // ...
48+ $bundles[] = new JD\PhpProjectAnalyzerBundle\JDPhpProjectAnalyzerBundle();
49+ // ...
50+ }
51+ ```
52+ - add routing
53+ ``` yaml
54+ # app/config/routing.yml
55+ ppa :
56+ resource : ' @JDPhpProjectAnalyzerBundle/Resources/config/routing.yml'
57+ ` ` `
58+
59+
4460 - Set your config (see below)
61+
62+ - set assets
63+ ` ` ` bash
64+ php app/console assets:install
65+ php app/console assetic:dump
66+ ```
67+
4568 - sudo php app/console ppa: init
4669
4770### Use
@@ -51,6 +74,9 @@ And parses their report to give a nice view for rapid analysis of your project.
5174### Config
5275
5376``` yml
77+ framework :
78+ translator : { fallback: %locale% }
79+
5480assetic :
5581 bundles :
5682 - JDPhpProjectAnalyzerBundle
Original file line number Diff line number Diff line change 1111 }],
1212 "require" : {
1313 "php" : " >=5.4" ,
14- "symfony/symfony" : " >=2.3"
14+ "symfony/symfony" : " >=2.3" ,
15+ "symfony/assetic-bundle" : " dev-master" ,
16+ "symfony/translation" : " ~3.0"
1517 },
1618 "scripts" : {
1719 "post-install-cmd" : [
You can’t perform that action at this time.
0 commit comments