Skip to content

Commit 89e1c43

Browse files
committed
Update README.md
1 parent d79e149 commit 89e1c43

File tree

1 file changed

+2
-41
lines changed

1 file changed

+2
-41
lines changed

README.md

+2-41
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,3 @@
1-
Symfony Uecode Common Bundle
2-
============
3-
4-
This bundle creates a simple way to incorporate Underground Elephant base code into Symfony
5-
6-
## Installation
7-
8-
1. Add to composer.json under `require`
9-
10-
```
11-
"uecode/common-bundle": "1.0.0",
12-
```
13-
14-
2. Register in `AppKernel`
15-
16-
``` php
17-
$bundles = array(
18-
// ...
19-
new Uecode\Bundle\CommonBundle\UecodeCommonBundle(),
20-
```
21-
22-
3. Make sure, if you are using a user entity, it implements `Uecode\Bundle\CommonBundle\Model\UserInterface`
23-
24-
4. In config.yml, define your entity class, and your id property
25-
26-
```yml
27-
28-
uecode_common:
29-
services:
30-
user:
31-
entity: \Acme\DemoBundle\Entity\User
32-
id_property: id
33-
34-
```
35-
36-
5. From here, you can have your controller extend `Uecode\Bundle\CommonBundle\Controller\Controller`
37-
38-
6. You can also hook into the events that are defined in [`Uecode\Bundle\CommonBundle\UecodeCommonEvents`](Uecode\Bundle\CommonBundle\UecodeCommonEvents.php)
39-
40-
41-
[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/uecode/common-bundle/trend.png)](https://bitdeli.com/free "Bitdeli Badge")
1+
### Deprecated Bundle
422

3+
This code will no longer be supported.

0 commit comments

Comments
 (0)