4
4
How to install 3rd party bundles
5
5
================================
6
6
7
- Most bundles provide a documentation of installation. However, most
8
- steps are common for any bundle.
7
+ Most bundles provide their own installation instructions . However the
8
+ basic steps for installing a bundle are the same .
9
9
10
10
Add composer dependencies
11
11
-------------------------
@@ -29,14 +29,14 @@ https://packagist.org/packages/friendsofsymfony/user-bundle.
29
29
has a Packagist package it shows a link to the package. It's a
30
30
really usefull site to begin searching for bundles.
31
31
32
- Now you have the package name, you should determine the version you
32
+ Now that you have the package name, you should determine the version you
33
33
want to use. Usually different versions of a bundle correspond to a
34
34
particular version of Symfony, this should be in the ``README `` file (in
35
35
the Package, which you can view on Github or KnpBundles). If it isn't
36
36
in the ``README ``, you can use the version you want. In the case of the
37
37
FOSUserBundle, the ``README `` file has a caution that version 1.2.0 must be
38
- used for Symfony2.0 and 1.3 for Symfony2.1+. Let's use development
39
- version for this exmaple .
38
+ used for Symfony2.0 and 1.3 for Symfony2.1+. Let's use the development
39
+ version for this example .
40
40
41
41
Now we can add the bundle to our ``composer.json `` file and update the
42
42
dependencies. You can do this manually:
@@ -75,7 +75,7 @@ Enable the bundle
75
75
-----------------
76
76
77
77
Now the bundle is installed into our Symfony project (in
78
- ``vendor/friendsofsymfony/ ``) and the autoloader recognises this
78
+ ``vendor/friendsofsymfony/ ``) and the autoloader recognizes this
79
79
bundle. The only thing we need to do now is registering the bundle in
80
80
the ``AppKernel ``::
81
81
@@ -101,7 +101,7 @@ Configure the bundle
101
101
--------------------
102
102
103
103
Usually bundles require some configuration to be added to app's
104
- ``app/config/config.yml `` file. Bundle 's documentation will likely
104
+ ``app/config/config.yml `` file. The bundle 's documentation will likely
105
105
describe that configuration. But you can also get a reference of the
106
106
bundle's config via ``config:dump-reference `` command.
107
107
0 commit comments