I've managed to create a simple plugin for craft and get it into my project. It shows up just fine but I can't make any edits. I've tried editing the original plugin files and updating via composer and that doesn't work, and I've tried to edit the plugin files directly in my craft project and that doesn't seem to work as well. I'm sure there is a simple answer but I'm pretty lost.


What you need is a "host" project for your plugin, and then use a repository path to point to your plugin as described here: So You Wanna Make a Craft 3 Plugin?

  • Thanks for the response Andrew, this is the post I had set up my plugin with but opted to use Xampp instead of homestead. At the time I had read it I wasn't getting along with Homestead very well. Can I not use Xampp for this? Aug 28 '18 at 11:13
  • The local dev environment you use should not matter. Aug 28 '18 at 15:49
  • I figured as much. I'll have to dig into this a bit more and see if I can give more details. I'll check the logs. Aug 28 '18 at 19:07
  • I guess I actually had it working. The front description part isn't updating but I went and updated a file in the src and the file in my plugin folder updated as well. Aug 28 '18 at 23:29
  • 1
    Ah, that's because that information is kept in the vendor/craftcms/plugins.php file -- you can delete it and do a composer update to force it to update Aug 29 '18 at 0:54

If anyone needs the help with Xampp here is a link that should help. I had abandoned trying with Homestead as I have a terrible time with the Global and have only been able to get per-project installation to work. So I followed the craft documentation for plugins and then set my Xampp up for multiple virtual hosts, here is the best walk-through I've found for multiple virtual hosts with Xampp. As far as I can tell it's the same idea as what Andrew is doing with Homestead.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.