By default it is setup to 15 in laravel but you can do that from model as well. You do not have to change anything in controller which is optional.
// In model protected $perPage = 5;
By default it is setup to 15 in laravel but you can do that from model as well. You do not have to change anything in controller which is optional.
// In model protected $perPage = 5;