pear/pear-core-minimal
Minimal core components for PEAR, providing essential infrastructure for PEAR-based installs and tooling without the full PEAR distribution. Useful for lightweight setups, embedding, or environments that need only the basics of PEAR’s package system.
This package provides a Composer-compatible, minimal subset of the legacy PEAR core infrastructure (e.g., PEAR.php, PEAR5.php, PEAR/Error.php). To start:
composer require pear/pear-core-minimalvendor/pear/pear-core-minimal/ (e.g., PEAR.php, PEAR/Exception.php)PEAR base classes (e.g., legacy PEAR packages like PEAR::raiseError(), or packages requiring PEAR_Config) without pulling the full monolithic PEAR installation.PEAR.php explicitly if legacy code relies on it: require_once 'vendor/pear/pear-core-minimal/PEAR.php';Mail, MDB2, Auth_SASL) declare pear/pear-core in their composer.json—this minimal fork satisfies those requirements cleanly in modern Composer setups.PEAR_Exception for consistent error handling in legacy PEAR-based libraries (still works with try/catch blocks), especially where PEAR::raiseError() was historically used.__autoload / spl_autoload_register fallback.2026-01-25), this is likely a typo in metadata—verify actual source code date; treat as stable but unmaintained since PEAR itself is deprecated.PEAR:: methods (e.g., use throw new Exception() instead of PEAR::raiseError()).PEAR::loadConfig() or PEAR_Config::singleton()—though limited, the minimal set includes config handling basics useful for tools like PEAR-installed PHPCS or PDepend.composer install fails due to pear/pear-core conflict, this package is often a drop-in replacement—edit your composer.json to require pear/pear-core-minimal instead.How can I help you explore Laravel packages today?