bruno
bruno copied to clipboard
A base API controller for Laravel that gives sorting, filtering, eager loading and pagination for your resources
Description: Uncaught ErrorException: Required parameter $joins follows optional parameter $or in /vendor/optimus/bruno/src/EloquentBuilderTrait.php:108 this line: protected function applyFilter($queryBuilder, array $filter, $or = false, array &$joins) when I delete "= false" it...
~~Leaving the $join variable blank when using PHP 8 causes an exception when running artisan.~~ ~~An empty array has been assigned to the variable to prevent this from happening.~~ UPDATE:...
Trying to run native sail docker I got error ``` During class fetch: Uncaught ErrorException: Required parameter $joins follows optional parameter $or in /var/www/html/vendor/optimus/bruno/src/EloquentBuilderTrait.php:106 ``` https://stackoverflow.com/a/65297280/518704 To this is a...
Hello, How can I do the second and third level for filtering with 2D and 3D array. Aworking example will be highly appreciated. e.g. consider my array "books":[ { "id":1,...
This will fix the issue of boolean casting for filterGroup $or. Now it supports string in boolean value. i.e. it parse "true" to true and "false" to false.
Well i was wandering to know how to set parameters per $query->groupBy('table.id');
inverse of `>` to `
boolean casting for filterGroup $or variable as applyFilter is using $or === true.
Trying to figure out how to get something similar to [this](https://github.com/flugger/laravel-responder#filtering-from-query-string). Can this be supported? I'm experimenting changing [Architect](https://github.com/esbenp/architect) to do this and filtering fields similar to what `pluck()` does...
Hello, Can you please help me with writing correct URL for filtering using IN operator. A working example is highly appreciated.