PHPLicengine is an automated online solution to protect and license your php products remotely or locally or with ionCube licensing.
It has accounting/billing manager to sell your digital goods with a download manager.
Currently it uses MySQL database, support for PostGre will be added in next version.

http://www.phplicengine.com