Back to Ohmyzsh

Symfony2

plugins/symfony2/README.md

latest1.5 KB
Original Source

Symfony2

This plugin provides completion for Symfony 2, 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

AliasCommandDescription
sfphp app/consoleStart the symfony console
sfclsf cache:clearClear the cache
sfsrsf server:runRun the dev server
sfcwsf cache:warmupUse the Bundles warmer
sfroutesf debug:routerShow the different routes
sfcontainersf debug:containerList the different services
sfgbsf generate:bundleGenerate a bundle
sfgcsf generate:controllerGenerate a controller
sfgcomsf generate:commandGenerate a command
sfgesf doctrine:generate:entityGenerate an entity
sfsusf doctrine:schema:updateUpdate the schema in Database
sfdcsf doctrine:database:createCreate the Database
sfdevsf --env=devUpdate environment to dev
sfprodsf --env=prodUpdate environment to prod