🔋
Laravel Resource Reducer
GitHubShipSaaS
  • Laravel Resource Reducer - ShipSaaS
  • ✈️Installation
  • 📖Usage
    • 🏃‍♂️Reducer Resources
    • 🚀Requests from Consumers
  • 😎Best Practices
Powered by GitBook
On this page

Best Practices

The best practices that we should follow

  • Apply Reducer everywhere in your applications, for every API endpoint.

  • Communicate with your API consumers and let them know, so that both consumers & APIs are happy (cuz lighting fast response).

  • Always avoid getting all the fields (unless there is no other way).

  • Don't put too much logic inside the callable, create a Getter method instead (maintainable & testable).

PreviousRequests from Consumers

Last updated 1 year ago

😎