Code formatting and composer.json

I use this component and will - maybe - develop it further.
These are no functional changes, just code formatting and a composer.json