Stop using from/import and prefer use.
Convert indentation to 4 spaces.
Write opening curly brace next to keyword (same line) and add an empty line after.
Align composer requirements.