Repository navigation
2026 Summer release
Eleanor PHP Library 4.0
This release finalizes the planned major changes for version 4.0, including API cleanup, new utility classes, improved MySQL handling, template API refinements, and documentation polishing.
Added
- Added the
Otpclass for two-factor authentication support - Introduced the
CLIclass for colored terminal output - Added a second
$levelparameter toQuietExecution()for selective error suppression - Added
__invoke()support to theAssignclass - Added
ArrayAccessimplementation to theAssignclass - Added support for arguments in
$Creatorfor theAssignclass - Introduced new error type
EM::OTHERfor cases not covered by existing error categories - Added automatic cleanup of
mysqli_stmtandmysqli_resultobjects in theMySQLclass - Added
NULLvalue support to theWhere()method
Changed
- Renamed
Assign::For()toAssign::Bind() - Renamed
Uri::GetURI()toUri::Clean() - Renamed
Uri::$currenttoUri::$raw - Renamed the
Serializecache class toSerialized - Refactored the
AppendandTemplateclasses for a cleaner and more expressive API:- Template sources are now added via
$Tpl[] = 'source';instead of$Tpl->queue[] = 'source'; - Default template variables are now assigned via
$Tpl['key'] = 'value';instead of$Tpl->default['key'] = 'value';
- Template sources are now added via
- Improved the
Filesclass implementation - Improved internal code logic across multiple components
- Applied minor micro-optimizations
Fixed
- Fixed incorrect file identification in the
Shmopcache engine - Prevented automatic closing of externally provided
MySQLiinstances - Replaced JSON-encoded exception input information with a printed input dump representation
Removed
- Removed the
Punycodeclass andPUNYCODEconstant due to limited practical adoption of IDN support - Removed the
Htmlclass in favor of Vue.js-based form rendering - Removed the
Translit()method from theRuclass - Removed the
Telegramclass due to Telegram's migration to JWT-based external authentication, which cannot be reliably validated without third-party dependencies
Documentation
- Improved explanations for the library directory structure
- Refined comments for better clarity, precision, and conciseness
Docs polished with help from Codex.
Code review by Alice AI.
Full Changelog: 3.0...4.0