summaryrefslogtreecommitdiff
path: root/plugins/symfony2/README.md
diff options
context:
space:
mode:
authorTuowen Zhao <ztuowen@gmail.com>2019-01-31 17:25:13 -0700
committerTuowen Zhao <ztuowen@gmail.com>2019-01-31 17:25:13 -0700
commit89c9e8a7bc177d4cff6ba8d28cf6b57a9a603095 (patch)
tree0a301691b8481163680454a1f07ca54115ec17eb /plugins/symfony2/README.md
parent075160b86c64045e661209ad7906559068b44104 (diff)
parent851899e59ea71ce8fbae738ec7aeb7a967585977 (diff)
downloadzsh-89c9e8a7bc177d4cff6ba8d28cf6b57a9a603095.tar.gz
zsh-89c9e8a7bc177d4cff6ba8d28cf6b57a9a603095.tar.bz2
zsh-89c9e8a7bc177d4cff6ba8d28cf6b57a9a603095.zip
Merge branch 'master' of https://github.com/robbyrussell/oh-my-zsh
Diffstat (limited to 'plugins/symfony2/README.md')
-rw-r--r--plugins/symfony2/README.md28
1 files changed, 28 insertions, 0 deletions
diff --git a/plugins/symfony2/README.md b/plugins/symfony2/README.md
new file mode 100644
index 000000000..2946d0937
--- /dev/null
+++ b/plugins/symfony2/README.md
@@ -0,0 +1,28 @@
+# 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 |
+| `sfgc` | sf generate:controller | Generate a controller |
+| `sfgcom` | sf generate:command | Generate a command |
+| `sfge` | sf doctrine:generate:entity | Generate an entity |
+| `sfsu` | sf doctrine:schema:update | Update the schema in Database |
+| `sfdc` | sf doctrine:database:create | Create the Database |
+| `sfdev` | sf --env=dev | Update environment to `dev` |
+| `sfprod` | sf --env=prod | Update environment to `prod` |