# Which one is I install first contoller,model(bake)..etc or plugins?

**URL:** <https://discourse.cakephp.org/t/which-one-is-i-install-first-contoller-model-bake-etc-or-plugins/1544>\
**Category:** Need Help\
**Created:** [November 16, 2016, 8:13am UTC](https://discourse.cakephp.org/t/which-one-is-i-install-first-contoller-model-bake-etc-or-plugins/1544 "2016-11-16T08:13:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SATHISH](https://avatars.discourse-cdn.com/v4/letter/s/858c86/32.png) [@SATHISH](https://discourse.cakephp.org/u/SATHISH)\
**Post date:** [November 16, 2016, 8:13am UTC](https://discourse.cakephp.org/t/which-one-is-i-install-first-contoller-model-bake-etc-or-plugins/1544/1 "2016-11-16T08:13:28Z")

</div>

Which one is I install first contoller, model(bake)…etc or plugins?  
I just trying bake all cakephp components, Then i install plugin like friendsofcake for Crud, using composer but i didn’t update crud component in my controller.  
Is it possible update plugin components in controller when I install plugins? or  
Any suggestions to install and load plugin component to controller.

---

<div class="post-metadata">

**Author:** ![Xoubaman](https://yyz1.discourse-cdn.com/flex029/user_avatar/discourse.cakephp.org/xoubaman/32/102_2.png) [@Xoubaman](https://discourse.cakephp.org/u/Xoubaman)\
**Post date:** [November 16, 2016, 11:34am UTC](https://discourse.cakephp.org/t/which-one-is-i-install-first-contoller-model-bake-etc-or-plugins/1544/2 "2016-11-16T11:34:29Z")

</div>

If you mean you want plugins to be added to your controllers and so when installed, that’s not how it works. Cake is a framework, he don’t know about which plugins you want to use. And plugins scope can be so wide that seems like impossible to do that (or at least not recommendable).

So, you will need to install the plugin and manually add the functionality you want from it in the right place.

---

<div class="post-metadata">

**Author:** ![SATHISH](https://avatars.discourse-cdn.com/v4/letter/s/858c86/32.png) [@SATHISH](https://discourse.cakephp.org/u/SATHISH)\
**Post date:** [November 17, 2016, 4:07am UTC](https://discourse.cakephp.org/t/which-one-is-i-install-first-contoller-model-bake-etc-or-plugins/1544/3 "2016-11-17T04:07:40Z")

</div>

Thanks for your reply.
