my xfce4 dotfiles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
1.5 KiB

3 years ago
  1. # Symfony2
  2. This plugin provides completion for [Symfony 2](https://symfony.com/), as well as aliases for frequent Symfony commands.
  3. To use it add symfony2 to the plugins array in your zshrc file.
  4. ```bash
  5. plugins=(... symfony2)
  6. ```
  7. ## Aliases
  8. | Alias | Command | Description |
  9. |---------------|------------------------------|-------------------------------|
  10. | `sf` | php app/console | Start the symfony console |
  11. | `sfcl` | sf cache:clear | Clear the cache |
  12. | `sfsr` | sf server:run | Run the dev server |
  13. | `sfcw` | sf cache:warmup | Use the Bundles warmer |
  14. | `sfroute` | sf debug:router | Show the different routes |
  15. | `sfcontainer` | sf debug:container | List the different services |
  16. | `sfgb` | sf generate:bundle | Generate a bundle |
  17. | `sfgc` | sf generate:controller | Generate a controller |
  18. | `sfgcom` | sf generate:command | Generate a command |
  19. | `sfge` | sf doctrine:generate:entity | Generate an entity |
  20. | `sfsu` | sf doctrine:schema:update | Update the schema in Database |
  21. | `sfdc` | sf doctrine:database:create | Create the Database |
  22. | `sfdev` | sf --env=dev | Update environment to `dev` |
  23. | `sfprod` | sf --env=prod | Update environment to `prod` |