symfony.plugin.zsh
A zsh plugin for the Symfony 2/3 with usefull commands and an actual autocompletion.
Installation
Antigen:
antigen bundle voronkovich/symfony.plugin.zsh
Or clone this repo and add this into your .zshrc:
source path/to/cloned/repo/symfony.plugin.zsh
Usage
This plugin provides some usefull commands and shortcuts:
sfis used for running Symfony console commands. You can run this command inside project's folders because it searches the console script upward from a current dir;sfprodandsfdevare shortcuts forsf --env=prodandsf --env=dev;sfshlaunches Symfony's shell;sfstartstarts PHP built-in web server in the background;sfrunruns PHP built-in web server;sfstopstops PHP's built-in web server;sfserviceshows a service definition. It has an autocompletion for service ids;sfrouteshows a route definition. It has autocompletion for routes names;sfconfigshows a container extensions configuration. It has autocompletion for extensions names;sfhelpshows a help message for a specified command;symfony-get-installerdownloads a Symfony installer from the symfony.com;sfnewis just a shortcut forsymfony new.
Also this plugin provides a commands and some options autocompletion for both Symfony's console and installer.
Ascii movie
License
Copyright (c) Voronkovich Oleg. Distributed under the MIT.
