Plugin:refresh leads to "Unable to find plugin"

Hi, I am new to development of OctoberCMS plugins. I created a plugin with the command php artisan create:plugin myname.myplugin

But when I call the command php artisan plugin:refresh myname.myplugin without changing any line of code, I get the error message

 [ERROR] Unable to find plugin [myname.myplugin]

I solved my problem on my own. The problem was that my plugin name had minus signs in it, like my-plugin. I didn’t thought this would be a problem, but creating a plugin without a minus sign works as expected.

1 Like