Examples demonstrating methods for structuring WordPress plugins.
For more background, read Structuring WordPress Plugins.
The composer
branch demonstrates an example using Composer and the WP Plugin Library. It requires PHP 5.4+.
The php52
branch demonstrates an example designed to be compatible with PHP 5.2.