app
bootstrap
config
app.php
auth.php
broadcasting.php
cache.php
cors.php
database.php
filesystems.php
hashing.php
logging.php
mail.php
parser.php
query-builder.php
queue.php
services.php
session.php
view.php
database
public
resources
routes
storage
tests
.editorconfig
.env.example
.gitattributes
.gitignore
.styleci.yml
README.md
artisan
composer.json
composer.lock
package-lock.json
package.json
phpunit.xml
server.php
webpack.mix.js
33 lines
678 B
PHP
33 lines
678 B
PHP
<?php
|
|
/**
|
|
* @see https://github.com/spatie/laravel-query-builder
|
|
*/
|
|
|
|
return [
|
|
|
|
/*
|
|
* By default the package will use the `include`, `filter`, `sort`
|
|
* and `fields` query parameters as described in the readme.
|
|
*
|
|
* You can customize these query string parameters here.
|
|
*/
|
|
'parameters' => [
|
|
'include' => 'include',
|
|
|
|
'filter' => 'filter',
|
|
|
|
'sort' => 'sort',
|
|
|
|
'fields' => 'fields',
|
|
|
|
'append' => 'append',
|
|
],
|
|
|
|
/*
|
|
* Related model counts are included using the relationship name suffixed with this string.
|
|
* For example: GET /users?include=postsCount
|
|
*/
|
|
'count_suffix' => 'Count',
|
|
|
|
];
|