Support the ongoing development of Laravel.io →
Configuration Database Requests
Last updated 1 year ago.
0

You can just use the header function in PHP to set the response status and then exit: http://www.php.net/manual/en/function.header.php

Last updated 1 year ago.
0

Hi thepsion5, sorry I should of been more clear in my question, yes that would return a 500 http status, but I'm looking for a way to trigger/show the built in Laravel 500 page from this point.

Last updated 1 year ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

stilliard stilliard Joined 18 Feb 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.