slack-laravel icon indicating copy to clipboard operation
slack-laravel copied to clipboard

Issue with README

Open d4rkd0s opened this issue 9 years ago • 3 comments

I am running Laravel 5.2

In the README.md there is a line stating to get the base config file over to config/slack.php you must run php artisan config:publish maknz/slack however this produces the following error:

  [Symfony\Component\Console\Exception\CommandNotFoundException]  
  Command "config:publish" is not defined.                        
  Did you mean one of these?                                      
      vendor:publish                                              
      config:cache                                                
      config:clear                                                                   

d4rkd0s avatar Sep 07 '16 14:09 d4rkd0s

I ended up running php artisan vendor:publish maknz/slack

This produces the error:

[Symfony\Component\Console\Exception\RuntimeException]  
  Too many arguments, expected arguments "command".   

d4rkd0s avatar Sep 07 '16 14:09 d4rkd0s

So to finish the job of installing maknz/slack I just ran a php artisan vendor:publish and git stash'd the garbage from the other packages... this was annoying and I wanted to ask, if you/anyone knows what the correct way to publish just maknz/slack's config is? Then place that in the README.md for this repo. Thanks!

d4rkd0s avatar Sep 07 '16 14:09 d4rkd0s

@d4rkd0s Good that you pointed it out. I also by mistake ran the other command and got errors. php artisan vendor:publish works fine. I tested in Laravel 5.3 Thanks

writetosalman avatar Nov 14 '17 05:11 writetosalman