{
   "name": "plphp",
   "abstract": "PHP as a procedural language for PostgreSQL",
   "description": "PL/php lets you write PostgreSQL functions, set-returning functions, triggers, event triggers, and procedures in PHP, stored and executed inside the server. It supports SPI queries and cursors, subtransactions, transaction control in procedures, structured errors, per-function and session-shared state, and optional transforms that map PostgreSQL jsonb, hstore, and bytea values to native PHP values. PL/php is an untrusted language: PHP has no sandbox on modern releases, so functions run with the privileges of the server's operating system user and only a superuser may install the extension.",
   "version": "2.6.0",
   "date": "2026-08-26T18:48:22Z",
   "maintainer": [
      "Joshua D. Drake <jd@commandprompt.com>"
   ],
   "release_status": "stable",
   "user": "jd",
   "sha1": "529db9f8ad6dcb721b9e08b92f7e363fb8d30cff",
   "license": "postgresql",
   "prereqs": {
      "runtime": {
         "requires": {
            "PostgreSQL": "11.0.0"
         }
      }
   },
   "provides": {
      "bytea_plphp": {
         "abstract": "Transform between bytea and binary-safe PL/php strings",
         "file": "bytea_plphp/bytea_plphp--1.0.sql",
         "version": "1.0.0"
      },
      "hstore_plphp": {
         "abstract": "Transform between hstore and PL/php arrays",
         "file": "hstore_plphp/hstore_plphp--1.0.sql",
         "version": "1.0.0"
      },
      "jsonb_plphp": {
         "abstract": "Transform between jsonb and PL/php values",
         "file": "jsonb_plphp/jsonb_plphp--1.0.sql",
         "version": "1.0.0"
      },
      "plphp": {
         "abstract": "PHP as a procedural language for PostgreSQL",
         "docfile": "doc/plphp.md",
         "file": "plphp--2.6.sql",
         "version": "2.6.0"
      }
   },
   "tags": ["php", "procedural language", "plphp", "language handler", "untrusted", "transform"],
   "resources": {
      "bugtracker": {
         "web": "https://github.com/commandprompt/plPHP/issues"
      },
      "homepage": "https://github.com/commandprompt/plPHP",
      "repository": {
         "type": "git",
         "url": "https://github.com/commandprompt/plPHP.git",
         "web": "https://github.com/commandprompt/plPHP"
      }
   }
}
