add after build hook for composer