Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Cannot publish vendor config file

I have installed "hashids/hashids": "^4.1", (from its github repo) on my Laravel Framework 8.68.0 project.

When I do, I do not get the config file.

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.

Any suggestions how to publish the config file for this library?

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

I appreciate your replies!

>Solution :

There is no config file or Service Provider for that package as it isn’t a Laravel specific package. You installed the wrong package it would seem. You are looking for the Laravel bridge package, vinkla/laravel-hashids, instead.

composer require vinkla/hashids
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading