Laravel

How to Run the Laravel 12 Scheduler on Hostinger

How to Run the Laravel 12 Scheduler on Hostinger

What the Laravel Scheduler Is Laravel’s task scheduler lets you define scheduled jobs inside your application instead of managing multiple cron entries. You register all scheduled tasks in one place, and a single cron job triggers Laravel every minute to…

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…