<p>I'm not really sure what this has to do with Craft because it's the same process with every single PHP file... You download xampp/wampp/lampp or whatever you want, install it, open it, activate your apache and MySQL, copy your project into your <code>htdocs</code> folder, create your database at <code>localhost/phpmyadmin</code> and start to create your plugin.</p>

<p>Anyway when you use a good IDE it makes absolutely no difference whether you create it locally or not since a good IDE will upload/download/compare your files on the server automatically. You don't have to upload all your files with programs like Filezilla or something like that </p>

CC BY-SA 3.0
2018-03-20T23:59:40.937Z
I think he's looking for resources on "how to write a plugin", not simply how to code.
Lindsey D
CC BY-SA 3.0
2018-03-21T00:03:54.070Z
@LindseyD oh sorry. Seems like I misunderstood the question then.. I already showed him pluginfactory.io and the Craft docs that's why I thougth he has enough resources for that and just wanted to know how to create it not on a remote server. I'll edit my question with all known resources and a guideline in a few hours after my sleep. Maybe he'll clarify the issue until then
Robin Schambach
CC BY-SA 3.0
2018-03-21T02:02:36.263Z
No. I think Robin nailed the question. I am very rusty. Helping out some friends and dusting off some old skills that I forgot I had. I appreciate your. Yes, I am asking what people do for local dev work. Like I said...it's  been a while!
Eric Snyder
CC BY-SA 3.0
2018-03-20T23:27:14.447Z
2018-03-20T23:27:14.447Z
Robin Schambach
<p>I think my question is simple but may fall outside of the scope of this forum. What is best practices when writing and debugging Craft plugins? Obviously, one way to do so is to create a account on a server, write the code, upload and install it and then trigger the code using twig in a web page. Uggg...</p>

<p>Is there a good (hopefully free, open source) way to write and debug plug in code for Craft, perhaps locally?</p>

<plugin-development><craft3>
Writing and debugging Craft plugins
# Writing and debugging Craft plugins

(Asked by: username_0 on 2018-03-20)

I think my question is simple but may fall outside of the scope of this forum. What is best practices when writing and debugging Craft plugins? Obviously, one way to do so is to create a account on a server, write the code, upload and install it and then trigger the code using twig in a web page. Uggg...

Is there a good (hopefully free, open source) way to write and debug plug in code for Craft, perhaps locally?

**Tags:** plugin-development, craft3


---

## 1 answers

### Answer by username_1 on 2018-03-20. Score: 1

I'm not really sure what this has to do with Craft because it's the same process with every single PHP file... You download xampp/wampp/lampp or whatever you want, install it, open it, activate your apache and MySQL, copy your project into your `htdocs` folder, create your database at `localhost/phpmyadmin` and start to create your plugin.

Anyway when you use a good IDE it makes absolutely no difference whether you create it locally or not since a good IDE will upload/download/compare your files on the server automatically. You don't have to upload all your files with programs like Filezilla or something like that

> **Comments:**
> **username_2**: I think he's looking for resources on "how to write a plugin", not simply how to code.  
> **username_1**: @LindseyD oh sorry. Seems like I misunderstood the question then.. I already showed him pluginfactory.io and the Craft docs that's why I thougth he has enough resources for that and just wanted to know how to create it not on a remote server. I'll edit my question with all known resources and a guideline in a few hours after my sleep. Maybe he'll clarify the issue until then  
> **username_0**: No. I think Robin nailed the question. I am very rusty. Helping out some friends and dusting off some old skills that I forgot I had. I appreciate your. Yes, I am asking what people do for local dev work. Like I said...it's  been a while!  

---

