4365792985f6bbaf65c847400fa47ce7c0d1cb79

Author
Erwan ROUSSEL <erwan.roussel51@gmail.com>
Committer
GitHub <noreply@github.com>
Date

Message

Create README.md

Add README.md to Symfony2 plugin

Diff

 1diff --git a/plugins/symfony2/README.md b/plugins/symfony2/README.md
 2new file mode 100644
 3index 0000000000000000000000000000000000000000..d5d9c1880ea29a09672bbf845ecfe12853ea70ab
 4--- /dev/null
 5+++ b/plugins/symfony2/README.md
 6@@ -0,0 +1,25 @@
 7+# Symfony2
 8+
 9+This plugin provides completion for [symfony2](https://symfony.com/), as well as aliases for frequent composer commands.
10+
11+To use it add composer to the plugins array in your zshrc file.
12+
13+```bash
14+plugins=(... symfony2)
15+```
16+
17+## Aliases
18+
19+| Alias         | Command                      | Description                   |
20+|---------------|------------------------------|-------------------------------|
21+| `sf`          | php app/console              | Start the symfony console     |
22+| `sfcl`        | sf cache:clear               | Clear the cache               |
23+| `sfsr`        | sf server:run                | Run the dev server            |
24+| `sfcw`        | sf cache:warmup              | Use the Bundles warmer        |
25+| `sfroute`     | sf debug:router              | Show the different routes     |
26+| `sfcontainer` | sf debug:contaner            | List the different services   |
27+| `sfgb`        | sf generate:bundle           | Generate a bundle             |
28+| `sfge`        | sf doctrine:generate:entity  | Generate an entity            |
29+| `sfsu`        | sf doctrine:schema:update    | Update the schema in Database |
30+| `sfdev`       | sf --env=dev                 | Update environment to `dev`   |
31+| `sfprod`      | sf --env=prod                | Update environment to `prod`  |