Is possible to delete bundles not needed in order to keep the project clean? I’m using Symfony2 with propel to build a RESTful interface. Don’t need:
- Twig
- Doctrine2 (i prefer Propel instead)
- Assetic (without Twig assetic does not make sense, correct me if i’m wrong)
- Security (no need to model roles)
I can’t find any how-to in order to remove uneeded bundles. Any help is much appreciated.
EDIT: monlog is the logger, not mongodb. Need it!
About deps.lock file: it can be removed after removing bundles, than issue:
php bin/vendors update
and i should be recreated. It maintains the git version id checked out, for each bundle.
Sure. Remove them from
AppKernelthen delete from the file system if you want. You could even edit thedepsfile to keep them from coming back. Twig and Assetic are independent. You could use the Assetic bundle with straight PHP.