laravel icon indicating copy to clipboard operation
laravel copied to clipboard

JSON:API for Laravel applications

Results 83 laravel issues
Sort by recently updated
recently updated
newest added

I have relationship defined on WorkoutResults model ``` public function unfinishedExercises() { $exercises = $this->exercises(); $id = $this->id; return $exercises->whereDoesntHave('exercisesResults', function ($query) use ($id) { $query->where('workout_result_id', $id); }); } ```...

In Laravel 11.20.0 I get this error when using a GET request with "sort" and "page" parameters together: `LaravelJsonApi\Eloquent\Pagination\PagePagination::LaravelJsonApi\Eloquent\Pagination\{closure}(): Argument #1 ($order) must be of type array, int given, called...

bug

### Description The current implementation of read-only status for fields in the `LaravelJsonApi\Eloquent\Fields\Concerns\IsReadOnly` trait makes it challenging to determine which specific read-only method (`readOnly()`,` readOnlyOnCreate()`, or `readOnlyOnUpdate()`) has been called...