
Security News
RubyGems Adds Cooldown Feature to Bundler for Newly Published Gems
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.
pdo-pglite
Advanced tools
pdo-pglite is the PostgreSQL-compatible PDO driver extension used by php-wasm via @electric-sql/pglite.
This package mainly exists so custom php-wasm builds can compile in the pdo_pglite extension.
It does not expose a separate JavaScript entrypoint from this folder. At runtime, support is activated by passing a PGlite constructor into the php-wasm runtime.
pdo_pglite requires PHP 8.1 or newer.
npm install php-wasm pdo-pglite @electric-sql/pglite
import { PhpWeb } from 'php-wasm/PhpWeb.mjs';
import { PGlite } from '@electric-sql/pglite';
const php = new PhpWeb({
version: '8.4',
PGlite,
});
await php.run(`<?php
$pdo = new PDO('pgsql:idb-storage');
var_dump($pdo instanceof PDO);
`);
Enable WITH_PDO_PGLITE=1 in .php-wasm-rc.
WITH_PDO_PGLITE: defaults to 1. Set it to 0 if you want to exclude the extension from a custom build.PDO_PGLITE_DEV_PATH: optional local source checkout to use instead of cloning the upstream pdo-pglite repository during the build.FAQs
PGlite connector for pdo & php-wasm.
We found that pdo-pglite demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
RubyGems and Bundler 4.0.13 introduced an opt-in cooldown feature that delays newly published gems during dependency resolution.

Security News
pnpm 11.5 now recognizes npm staged publish approvals in release metadata, preventing those releases from being mistaken for lower-trust package publishes.

Security News
Federal audit finds NIST lacked a plan to clear the NVD backlog, wasted funds on duplicate work, and delayed use of CISA data.