Here's my situation. I've created a proprietary theme framework for WordPress that I use to build all of my custom themes for clients. Usually clients don't know how to use WordPress and most of them would never even think about, let alone start to begin to steal my code.
But a current client that I'm working with is using a competitor for SEO and Social Media marketing. Had I known before I started the project I wouldn't have signed the contract, but basically we're stuck working with the competitor. They will have access to our files and everything on the site once we hand the site over.
My question is this: How do I minimize the risk of the competitor stealing our theme and using it again? I know that WordPress is open source, but our framework HTML and CSS are proprietary, right? Is there any way to encrypt the functions.php file or use an obfuscator or something like that to make the code unreadable?
I know there might not be a product or script that might do this necessarily, but I guess what I'm looking for is some input or knowledge of how I might go about reducing the probability that someone might copy my code.
Has anyone run into this situation before? Should I even bother? I know that if someone wants to copy something they're going to find a way to do it. But I'd really prefer not to just HAND it over to them.