无法发布供应商配置文件

Cannot publish vendor config file

我已经在我的 Laravel Framework 8.68.0 项目上安装了 "hashids/hashids": "^4.1",(来自它的 github repo)。

当我这样做时,我没有得到配置文件。

admin@admin-VirtualBox:~/Desktop/project$ php artisan vendor:publish --provider="Vinkla\Hashids\HashidsServiceProvider"
Xdebug: [Log Files] File '/tmp/xdebug/xdebug.log' could not be opened.
Xdebug: [Step Debug] Could not connect to debugging client. Tried: localhost:9001 (through xdebug.client_host/xdebug.client_port) :-(
No publishable resources for tag [].
Publishing complete.

对于如何发布此库的配置文件有什么建议吗?

感谢您的回复!

该软件包没有配置文件或服务提供商,因为它不是 Laravel 特定的软件包。您似乎安装了错误的软件包。您正在寻找 Laravel 桥包 vinkla/laravel-hashids,而不是。

composer require vinkla/hashids