ProxyManager is a PHP library for generating proxy classes at runtime. It provides implementations for several proxy patterns: lazy loading (ghost and value holder), access interceptors (with value holder or scope localizer), null objects, and remote objects. The library uses Laminas Code for code generation and reflection to dynamically create proxy classes that wrap or substitute real objects. It is designed as a standalone Composer package with a configuration-driven architecture: a central Configuration object manages autoloading, generator strategies (evaluating or file-writing), class name inflectors, and signature verification. Factories (e.g., LazyLoadingValueHolderFactory, NullObjectFactory) serve as the primary entry points for users, each producing proxies for a given class or interface. The generated proxies include methods for initialization control, interceptor callbacks, and property access simulation. The library is extensively tested with unit tests, functional tests, and mutation testing, and includes benchmarks for performance. External dependencies are limited to Laminas Code and Composer's installed versions API.
Carbonium is a tiny (1KB) TypeScript library that provides a jQuery-like DOM manipulation utility using JavaScript's Proxy object. It wraps `querySelectorAll` results in a Proxy, allowing property access and method calls to be applied to all matched elements simultaneously. The library supports element creation from HTML strings, handles edge cases like `style`, `classList`, `relList`, array methods (`forEach`, `filter`, etc.), iterators, and empty lists. It has zero runtime dependencies and is published as an npm package with ES module and IIFE bundles. The code is well-structured, thoroughly tested with Playwright across Chromium and Firefox, and includes comprehensive TypeScript type definitions. While the last commit date appears anomalous (2026), the repository shows active maintenance through CI workflows, dependabot, and modern dependency versions.
PythonMonkey is a Python C extension that embeds Mozilla's SpiderMonkey JavaScript engine, enabling seamless bidirectional interop between Python and JavaScript. It allows Python code to evaluate JS expressions, require CommonJS modules (including .py modules), and manipulate JS objects as native Python types via proxy objects with shared memory semantics. The library integrates JS promises and timers with Python's asyncio event loop, and provides a CLI tool (pmjs) similar to Node.js. The architecture is a native module with extensive C++ proxy handlers for type coercion, a CommonJS module system, and built-in JS modules (console, timers, URL, XMLHttpRequest). External dependencies include SpiderMonkey (built from source), Python 3.8–3.13, npm, cmake, and rust. The codebase is actively maintained by Distributive Corp. and reached MVP in September 2024, but carries medium technical drift due to tight coupling to a specific SpiderMonkey version and Python version shims.
Healenium-web is a self-healing library for Selenium WebDriver-based tests. It wraps standard WebDriver instances in a SelfHealingDriver proxy that intercepts element lookup calls and attempts to heal failed locators by finding alternative strategies when elements aren't found. The architecture uses a chain of responsibility pattern with specialized processors for finding elements, retrieving reference data from a backend service, healing elements through various selector strategies, and saving results. The system communicates with a backend service (hlm-backend) to store and retrieve element metadata, enabling intelligent locator recovery across test runs.