Skip to content

Laravel ServiceProvider / Middleware #25

@bkdotcom

Description

@bkdotcom

I've created a ServiceProvider that pushes some middleware...
In this middleware I'd like to

  • log the initial state/values of the session Right now the session is being logged after the controller has run and the session has been modified.

  • log the emitted headers $response = $next($request); Currently only capturing response before all the headers have been added

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions