It is a class file that contains the common code and logic. It can be shared between the application's controllers. We can perform various common tasks like session handling, cookies and security related things with the help of components.

In CakePHP, we can use various components that are given below:-

  • Authentication
  • Cookie
  • Cross-Site Request Forgery
  • Flash
  • Security
  • Pagination
  • Request Handling etc

Suggest An Answer

No suggestions Available!