Laravel

Unconventional Laravel: Middleware-as-a-Service-Provider

Have you ever used a service provider to set a default value for a third-party library? Have you ever done this based on the current request or URL? Have you ever considered doing this inside of middleware instead?

Published 2 months ago | Updated 2 months ago

Unconventional Laravel: Custom Pipeline Classes

Laravel makes use of the internal `Pipeline` class and it's more common in userland too, but have you ever considered tidying up these pipeline processes with custom pipeline classes?

Published 2 months ago | Updated 2 months ago