In https://stackoverflow.com/a/3313137/569976 ircmaxell says the following:
I use a public static method init() on my static classes that require initialization (or at least need to execute some code). Then, in my autoloader, when it loads a class it checks is_callable($class, 'init'). If it is, it calls that method. Quick, simple and effective...
That post, however, is from 2010 and a lot has changed since then. My question is... does Composer support anything like this?