summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Cornellà <marc.cornella@live.com>2018-10-24 16:02:13 +0200
committerGitHub <noreply@github.com>2018-10-24 16:02:13 +0200
commit1ee6f2614c4da7c00b3d1490e59120d3af462929 (patch)
tree1c98c3a93f65fae4177b3763e3e5c5b1fab08078
parent550781561bf6871fcf5036e0beb707e116de9d3b (diff)
parent50208f5c427fb6af076e24ac3a1eab714b4511b9 (diff)
downloadzsh-1ee6f2614c4da7c00b3d1490e59120d3af462929.tar.gz
zsh-1ee6f2614c4da7c00b3d1490e59120d3af462929.tar.bz2
zsh-1ee6f2614c4da7c00b3d1490e59120d3af462929.zip
symfony2: add README (#7329)
-rw-r--r--plugins/symfony2/README.md25
1 files changed, 25 insertions, 0 deletions
diff --git a/plugins/symfony2/README.md b/plugins/symfony2/README.md
new file mode 100644
index 000000000..562641dfb
--- /dev/null
+++ b/plugins/symfony2/README.md
@@ -0,0 +1,25 @@
+# Symfony2
+
+This plugin provides completion for [Symfony 2](https://symfony.com/), as well as aliases for frequent Symfony commands.
+
+To use it add symfony2 to the plugins array in your zshrc file.
+
+```bash
+plugins=(... symfony2)
+```
+
+## Aliases
+
+| Alias | Command | Description |
+|---------------|------------------------------|-------------------------------|
+| `sf` | php app/console | Start the symfony console |
+| `sfcl` | sf cache:clear | Clear the cache |
+| `sfsr` | sf server:run | Run the dev server |
+| `sfcw` | sf cache:warmup | Use the Bundles warmer |
+| `sfroute` | sf debug:router | Show the different routes |
+| `sfcontainer` | sf debug:contaner | List the different services |
+| `sfgb` | sf generate:bundle | Generate a bundle |
+| `sfge` | sf doctrine:generate:entity | Generate an entity |
+| `sfsu` | sf doctrine:schema:update | Update the schema in Database |
+| `sfdev` | sf --env=dev | Update environment to `dev` |
+| `sfprod` | sf --env=prod | Update environment to `prod` |