json-api-client
json-api-client copied to clipboard
A PHP package for mapping remote {json:api} resources to Eloquent like models and collections.
## Detailed description Our repositories don't always include all the CRUD actions. e.g. we have read-only resources that only include the GET index and GET singular resource endpoints. If I'd...
In our api the keys for the attributes and relationships are in kabab case is-new-restaurant, which I would like to use as isNewRestaurant, is there a way to handle this?
## Description Accept a new `array $headers = []` argument for every method used in repositories (default to an empty array for backward compatibility). Then forward those arguments to the...
## Detailed description I've been using the package for a while and it's great! The repositories are a huge help to implement things quickly. However, if I need to send...