Closed JasperTey closed 2 years ago
In https://github.com/spatie/laravel-query-builder/blob/main/docs/installation-setup.md, the command for publishing the config:
php artisan vendor:publish --provider="Spatie\QueryBuilder\QueryBuilderServiceProvider" --tag="config"
Did not work for me (Laravel 9):
> php artisan vendor:publish --provider="Spatie\QueryBuilder\QueryBuilderServiceProvider" --tag="config" > No publishable resources for tag [config]. > Publishing complete.
Removing --tag="config" was how I got it working:
--tag="config"
> php artisan vendor:publish --provider="Spatie\QueryBuilder\QueryBuilderServiceProvider" > Copied File [/vendor/spatie/laravel-query-builder/config/query-builder.php] To [/config/query-builder.php] > Publishing complete.
In https://github.com/spatie/laravel-query-builder/blob/main/docs/installation-setup.md, the command for publishing the config:
Did not work for me (Laravel 9):
Removing
--tag="config"
was how I got it working: