ohmyzsh/plugins/symfony2
Manuel Transfeld c1bf209462
Add support for Symfony Client
Symfony has a new [Symfony Client](https://github.com/symfony/cli), which is a binary called `symfony`.
You can use `symfony console` the same way as the old way with `php bin/console` with an incredible difference: It loads a local `php.ini`. [docs](https://symfony.com/doc/current/setup/symfony_server.html#overriding-php-config-options-per-project)
2019-05-28 18:19:00 +02:00
..
README.md Add symfony2 aliases (#7338) 2018-10-28 11:28:15 -07:00
symfony2.plugin.zsh Add support for Symfony Client 2019-05-28 18:19:00 +02:00

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.

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