Adds composer check for platform packages and removes vendor directory