Erwan ROUSSEL 4365792985 Create README.md 5 年之前
..
README.md 4365792985 Create README.md 5 年之前
symfony2.plugin.zsh 5c047ae8ba updated symfony plugin to add entity generation and schema update aliases (#5042) 6 年之前

README.md

Symfony2

This plugin provides completion for symfony2, as well as aliases for frequent composer commands.

To use it add composer to the plugins array in your zshrc file.

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