Search Posts

The Middleware Pattern

The middleware pattern is a design approach which abstracts various logic from the main application to perform various tasks to help with communication and processing.

. : Read More : .

Redirecting to the previous page on login in Laravel

Authentication is a staple in most applications and each application handles authentication differently. One of the features in authentication that's useful is redirecting the user back to the page they were before logging in, after they logged in.

While there are multiple methods to accomplish such behavior in an authentication system, I want to share one method I've implemented before in some of my projects using middlewares.

. : Read More : .