Added part about composer to README file
This commit is contained in:
parent
3ed8b7db5c
commit
1b5964daa1
|
@ -34,6 +34,10 @@ you must add the following lines to it:
|
|||
git=http://github.com/KnpLabs/KnpGaufretteBundle.git
|
||||
target=/bundles/Knp/Bundle/GaufretteBundle
|
||||
|
||||
### Composer Style
|
||||
|
||||
Bundle can be installed using composer by add to require `composer.json` part `"knplabs/knp-gaufrette-bundle": "dev-master"` line.
|
||||
|
||||
### Git Submodule Style
|
||||
|
||||
If you are versioning your project with git, you had better to embed it
|
||||
|
@ -44,6 +48,7 @@ as a submodule:
|
|||
## Add the namespace in the autoloader
|
||||
|
||||
You must register both Gaufrette and the KnpGaufretteBundle in your autoloader:
|
||||
You do not have to do that if you are using composer autoload system.
|
||||
|
||||
``` php
|
||||
<?php
|
||||
|
|
Loading…
Reference in New Issue
Block a user