Rewrite to composer psr