我已經在我的專案上安裝了"hashids/hashids": "^4.1",(從它的github repo)Laravel Framework 8.68.0。
當我這樣做時,我沒有得到組態檔。
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.
任何建議如何發布此庫的組態檔?
我感謝您的回復!
uj5u.com熱心網友回復:
該包沒有組態檔或服務提供者,因為它不是 Laravel 特定的包。您似乎安裝了錯誤的軟體包。您正在尋找 Laravel 橋接包,vinkla/laravel-hashids, 。
composer require vinkla/hashids
轉載請註明出處,本文鏈接:https://www.uj5u.com/gongcheng/392925.html
上一篇:(*(char**)(void*)&"a")[0]創建記憶體錯誤-指標問題
下一篇:訪問另一個模型上的關系
