The full PHP source code for Deskpro is available to download here.
A Deskpro On-Premise license gives you the right to modify and customise the source code of your installation. See section 3 of our license agreement for the details. You are not allowed to distribute the modified source code.
We'd love to hear about any fixes or improvements you make at email@example.com.