If you are using Laravel why you changed pagination interface?
Mev-Rael
1

Because it is the default implementation, it doesn’t mean you have to output your data this way.

Nesting data regarding pagination, inside a ‘pagination’ or ‘meta’ object, makes your API neater.

Like what you read? Give Alex Kyriakidis a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.