Laravel

How to put laravel app in maintenance mode

How to put laravel app in maintenance mode

Ensuring a smooth user experience during maintenance is crucial for any Laravel application. Laravel simplifies this process with its built-in maintenance mode feature. In this guide, we’ll walk you through enabling and customizing maintenance mode for your Laravel app. Enabling…

Laravel: Redirect back to previous page after login

Laravel: Redirect back to previous page after login

In laravel 10 you can achieve that with breeze installed through the below code in the AuthenticatedSessionController use Illuminate\Support\Facades\Redirect; class AuthenticatedSessionController extends Controller { /** * Display the login view. * * @return \Illuminate\View\View */ public function create() { if…