you can look into https://github.com/webciter/RemoveExcessWhitespaceMiddleware as a middleware.
there were some issues with class names but maybe it's fixed now.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community