forked from jdewit/GeneratorBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
installation.html
46 lines (37 loc) · 1.11 KB
/
installation.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
---
layout: default
title: Avro Generator Bundle
---
<div class="page-header">
<h3>Installation</h3>
</div>
<div>
<p>
The bundle is listed on packagist under 'avro/generator-bundle'. Just add it to your composer.json file.
</p>
<pre class="prettyprint lang-json">
"require": {
"avro/generator-bundle": "dev-master"
}
</pre>
<p>Enable the bundle in the kernel:</p>
{% highlight php %}
<?php
// app/AppKernel.php
if (in_array($this->getEnvironment(), array('dev', 'test'))) {
...
$bundles[] = new Avro\GeneratorBundle\AvroGeneratorBundle();
}
{% endhighlight %}
<p>Now, update composer to download the bundle:</p>
{% highlight bash %}
$ php composer.phar update
{% endhighlight %}
</div>
<div class="page-header">
<h3>Requirements</h3>
</div>
<p>This bundle requires <a href="http://github.com/symfony/symfony">Symfony2.1</a></p>
<br />
<a class="btn pull-left" href="index.html">← Overview</a>
<a class="btn pull-right" href="configuration.html">Configuration →</a>