aligajani
4 months ago
578
7
Laravel

How do you standardize your JSON responses?

Posted 4 months ago by aligajani

There are many ways, like {message, status, data} but I am curious to know how do you handle this, whether using a separate package or a internal laravel feature to ensure all json responses are consistent for the frontend to consume, and predictable.

Please sign in or create an account to participate in this conversation.