Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documented command to publish config doesn't work as intended (v5) #729

Closed
JasperTey opened this issue Feb 16, 2022 · 0 comments · Fixed by #734
Closed

Documented command to publish config doesn't work as intended (v5) #729

JasperTey opened this issue Feb 16, 2022 · 0 comments · Fixed by #734

Comments

@JasperTey
Copy link

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:

> 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant