Welcome to the PL/php site. PL/php is a procedural language add-on for PostgreSQL, which means you can define PHP functions that run inside a PostgreSQL server.

Obtaining PL/php

Please see the Downloads page. Or you can get the latest sources from GitHub:

git clone


Please see the INSTALL file.

Before you can use PL/php, you need to create the language in the database.

Usage Documentation: PL/php -- PHP Procedural Language for PostgreSQL


You can join the mailing list:

Or you can reach us on Freenode at the #plphp channel.

Release History

Please see