{"repo":"iliaal/pdo_duckdb","free":true,"listed":false,"github":"https://github.com/iliaal/pdo_duckdb","clone":"git clone https://github.com/iliaal/pdo_duckdb.git","description":"PDO driver for DuckDB, the in-process analytical database.","language":"PHP","stars":16,"topics":["duckdb","olap","pdo","php","php-extension"],"license":"BSD-3-Clause","category":"databases-storage","readme_excerpt":"pdo duckdb A PDO driver for DuckDB, the in-process analytical (OLAP) database. Connect to DuckDB through the standard PDO API you already use for SQLite, MySQL, and PostgreSQL. Requirements - PHP 8.1 or newer with the pdo extension - For a source build only: DuckDB 1.5.3 or newer ( libduckdb + duckdb.h ), available as a prebuilt bundle from the DuckDB installation page or via your package manager. Prebuilt installs (below) need nothing else. 🚀 Installation PIE On Linux (x86 64/arm64), macOS (Apple Silicon), and Windows x64, PIE downloads a self-contained prebuilt binary. No DuckDB install or build toolchain needed. On Linux the prebuilt baseline is glibc 2.36 (Debian 12); Apple Silicon binaries target macOS 11.0. On other platforms, older operating systems, or older PHP, use a source build, which needs libduckdb + duckdb.h ; point it at the prefix if they aren't in a standard location: From source Then enable it in php.ini (after pdo ): DSN Connection options Append DuckDB configuration as ;key=value pairs on the DSN, or pass them as a PDO::DUCKDB ATTR CONFIG array: Any DuckDB setting name works ( access mode , memory limit , threads , ...); an unknown option fails the connection. PDO::DUCKDB ATTR CONFIG is connect-time only and is refused with persistent handles, because PDO's persistent key does not include driver option arrays. Persistent connections reuse the same DuckDB connection for a matching DSN. DuckDB session/catalog state such as temporary tables, SET options, at","default_branch":null,"files":null,"tree":[],"storefront":"/r/iliaal","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/iliaal/pdo_duckdb/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}