laravel-json-api icon indicating copy to clipboard operation
laravel-json-api copied to clipboard

JSON API (jsonapi.org) package for Laravel applications.

Results 28 laravel-json-api issues
Sort by recently updated
recently updated
newest added
trafficstars

I want to migrate from **cloudcreativity/laravel-json-api** to **laravel-json-api/laravel**. I have too much code that I don't want to migrate when starting a new laravel project. Can I install both libraries...

Hello, How do i make a request to one resource endpoint without using an http client? Here is my problem I have create a controller to update the current user...

Given something like: ```php $api->resource('foo') ->relationships(static function (RelationshipsRegistration $relations) { $relations->hasOne('bar'); $relations->hasOne('fizz'); $relations->hasMany('buzz'); }) ->middleware('example'); ``` How can I specify a middleware for the `buzz` relationship independent of `bar` and...

When I have a model with multiple primary keys I get a SQL error. ``` SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax;...

Hi, I'm trying to filter my resource with a slug containing an underscore `alpha_2`, but it returns an error because slug is modified without underscore `alpha2` before to call database....

How to format the exceptions correctly in laravel 8, since in this version there is no longer the render method, there is the register method but it does not receive...

Hey, getting this BindingResolutionException and I do not understand why this happens - the request is handled just fine, nothing in the error log... (exception must be catched somewhere) Any...

needs reproduction

I am using a controller which is extending JSONAPICONTROLLER. But in my index method I have overridden it. So Now I am trying to paginate the data and send them...

question

Hi there, I'm working on a project where users can view their timesheets, which are collections of time entries. They can query them as JSON which is then parsed and...

question

Hi, I'm trying to use `queriesOne` for a resource but can't seem to get it right. To cut to the chase, this is the error I'm currently getting: ``` No...

docs