Encrypt the code with Ioncube. You can have part of the code encrypted and part of it not encrypted. This way he can work in the parts that he is involved in without knowing what is in the rest of the application.