The company uses git to manage projects developed in PHP. To prevent code leaks, how can we encrypt PHP code? The company uses git to manage projects developed in PHP. To prevent code leaks, how can we encrypt PHP code?
Reply content:
The company uses git to manage projects developed in PHP. To prevent code leaks, how can we encrypt PHP code?
If the project is commercial, it is best not to place it on an external server or someone else's managed service. It must be placed on the company's internal network with its own code hosting server.
Git is just a version management tool. Code leakage is critical to git. You can use gitolite to control permissions.
Set up one by yourselfGitlabYou can.
GitLab | Open Source Git Management Software
Use PHPBeast encryption, and then select the self-built git server. You can also use ionCube or Zend Guard.