sfGuardPlugin
‘ installation) using command line interface:1) Linux :
./symfony plugin:install sfGuardPlugin
2) Windows: php
symfony plugin:install sfGuardPlugin
One more thing, if you are not having pear installed you won’t be able to install a symfony plugin through command line interface. In this case there is one more way to install symfony plugin which is given as below:
Download the plugin and extract it to the /plugin directory (folder) of the project. Now just run the following command from the command line interface:
1) Linux: ./symfony
plugin:publish-assets
2) Windows: php symfony
plugin:publish-assets
but before running this command you have to enable that plugin in the applications setting.yml file as below:
enabled_modules: [default,
sfGuardGroup, sfGuardUser, sfGuardPermission] here we have enabled the
sfGuardGroup, sfGuardUser and sfGuardPermission plugins. hope this will help you out
No comments:
Post a Comment