Use composer's autoload-dev feature
Merge branch 'feature/#6205-autoload-dev'

Close #6205