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 :

websiteRoot\WP-CONTENT\PLUGINS\MYPLUGIN
│ myPlugin.php
│ uninstall.php

├───css
├───images
├───includes
└───js

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.