I have the following set up:
In routes I have:
Route::get(\'articles\', \'ArticlesController@index\');
The index method in the controller is simply:<
If you are hosting your Laravel app on Heroku, you can create custom_php.ini in the root of your project and simply add max_execution_time = 60
custom_php.ini
max_execution_time = 60