/home/techb158/ileadtechnology.com/vendor/spatie/laravel-query-builder/docs
NameSizeModeActions
advanced-usage/-0755rm
features/-0755rm
about-us.md4650644editdlrm
changelog.md1820644editdlrm
installation-setup.md10700644editdlrm
introduction.md38030644editdlrm
questions-issues.md4520644editdlrm
requirements.md2740644editdlrm
support-us.md5490644editdlrm
_index.md1490644editdlrm
Edit: /home/techb158/ileadtechnology.com/vendor/spatie/laravel-query-builder/docs/installation-setup.md (1070B)
--- title: Installation & setup weight: 4 --- You can install the package via composer: ```bash composer require spatie/laravel-query-builder ``` The package will automatically register its service provider. You can optionally publish the config file with: ```bash php artisan vendor:publish --provider="Spatie\QueryBuilder\QueryBuilderServiceProvider" --tag="config" ``` These are the contents of the default config file that will be published: ```php 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', ]; ```