Laravel Redirect not found | Fatal error

Last Updated: May 31, 2021

This is a common error when you try to redirect route or url in your Laravel code.

Fatal error: Class 'App\Http\Controllers\Redirect' not found

Solution

use Redirect;