plugin folder structure

Another important step to a professional plugin is maintaining a clean folder structure, which pertains to keeping all similar files together. For example, if your plugin requires JavaScript files,create a /js folder and store all the JavaScript fi les in this directory. If you have custom style sheet files, create a /css folder to store all your CSS files. Keep all images stored in a /images folder.
Now look at a well defined folder structure :

│ myPlugin.php
│ uninstall.php


Here you can see easily a clean folder structure which is very well organized. So it’s a good convention to follow this folder structure while designing you plugins.