πŸ”₯ Weekly thread #06 of 2022

πŸ”₯ Last week's code tips for Laravel developers

A weekly thread 🧡

https://twitter.com/archtechx/status/1493663801715081221

You can skip() TransformRequests-type middleware

4

πŸ”₯ You can skip() TransformRequests-type middleware

You can skip() TransformRequests-type middleware

πŸ’‘ As of @laravelphp v8.36.0, you can skip 'TransformRequests' middlewares by registering a callback.

For example, you can use it on 'TrimStrings' and 'ConvertEmptyStringsToNull'.

#Laravel #PHP #webdev

We're writing a book, you can get it for free here.