![]() |
|
sfPluginManagerPlugin - 1.0.1Manage the creation of new plugins in your symfony project. |
|
The sfPluginManagerPlugin initializes new plugin directories with all the necessary folder structures and files.
Install the plugin
symfony plugin-install http://plugins.symfony-project.com/sfPluginManagerPlugin
Clear your cache to enable the autoloading symfony feature to find the new classes
symfony cc
Initializes new plugin
symfony init-plugin sfPluginNamePlugin
You can specify which specific folders you want to create with an argument specifying the folders, here is the complete possible list. (optional) Separate folders with '+'
symfony init-plugin sfPluginNamePlugin config+data+lib+generator+modules+model+doctrine+fixtures+helper+tasks
Initializes new plugin module
symfony init-plugin-module module_name sfPluginNamePlugin
Build populated package.xml for your plugin. If you wish to have a custom template for building your plugin packages, copy data/tasks/package-template.xml to your plugin folder: plugins/sfPluginNamePlugin/package-sfPluginNamePlugin.xml and the build-plugin-package command will use that template instead of the standard one.
symfony build-plugin-package sfTestPlugin