If you are trying to create a new PHP Composer library, whether it will be going to submitted to packagist.org or just in your Github account, this template of files will surely help you make the process a lot easier and faster.
PSR-4 autoloading compliant structure
Unit-Testing with PHPUnit
Comprehensive Guides and tutorial
Easy to use to any framework or even a plain php file