I am using composer autoloader for my classes too, but my problem is that files with my classes follow the pattern ClassName.class.php and composer can load files only with .php extension.
Is there any way how to define file pattern in composer.json? I was checking classmap, but it doesn't support patterns.