Validate composer file