Search code examples
laravellaravel-controller

What is the difference between controller types of Laravel?


I found nothing about definitions/differences between resource and plain controllers.

What is the difference between them?


Solution

  • Simply definitions of controllers type is:

    Resource controller is used when you perform all CRUD operations.
    Plain Controller is used for anything performed manually.