FilamentPHP Glow Filament Glow
beta
  • All Tricks
  • About
login
FilamentPHP Glow Filament Glow
beta
    • All Tricks
    • About
logo dark logo light

Redirect the user after the logout

Image Description
By: Lara Zeus
  • Published: 03 Aug 2024 Updated: 03 Aug 2024
Panels

how to redirect the user after loging out of filament app

Redirect the user after the logout

First: create a new class with the following code:

then in your appServiceProvide, import these classes:

and add this to the boot method:

Back to Tricks
logo dark logo light

Related Tricks:

Implementing Authorization for Creating Options

How to Apply Authorization on Create Option Action for Select Field

Change the default page instead of Dashboard for Panels

set any page like List Or view page as the main page instead of using a dashboard page in filamentPHP

Demonstration of using a resource for multiple typical models

how to use a resource with multiple models

Select All Items in a Dropdown Select

Let Users to Select All Options with a Simple Hint Action

Use translatable for relations in select components

get translatable attribute in a relationships

Tweet
X GitHub RSS Feed
built with ❤️ using
filamentPHP
© 2026 Lara Zeus. All rights reserved.
Terms and Conditions Contact Us

Syntax highlighting by Torchlight .