Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

virtual's avatar

In the case of send SMS php artisan vendor:publish command is not working

Hi guys,I am trying to send SMS to moble from the laravel project and follow this link. https://github.com/Nexmo/nexmo-laravel. so i need to execute a specific vendor package command. The command is php artisan vendor:publish is not do anything. I am searched in google but could not found any proper solution. How can i fixed it . Please help me. Thanks in advanced.

0 likes
4 replies
aurawindsurfing's avatar

Hi,

php artisan vendor:publish will take a config file from all of the installed vendor packages or will ask you which one you like if you on the newer laravel version, and will publish (copy) them to your config directory in your application.

You can then edit them in there. This is the way to overwrite the default setting a package might have defined by its creator or no settings for example.

Hope it helps!

virtual's avatar

aurawindsurfing sir, please tell me which config file will take to implementation for send SMS from laravel site

virtual's avatar

aurawindsurfing sir, I read this documentation. But when run php artisan vendor:publish command then it is not execute after few seconds and don't create nexmo.php file inside config folder. So it is my main problem. How can i fixed it.

Please or to participate in this conversation.