horde/core
Composer 安装命令:
composer require horde/core
包简介
Core Horde Framework library
README 文档
README
AI generated on 2025 april 20th.
The Horde Core package provides essential functionality for the Horde Framework, serving as the foundation for all Horde applications. It includes core services, base classes, and fundamental infrastructure components required by the Horde ecosystem.
Key Features
- Application Registry and Management
- Authentication Framework
- Permission System
- Session Management
- Configuration Management
- Internationalization (i18n) Support
- Theme Management
- Core Utility Classes
- Basic Security Services
Registry System
The Registry system is a central component of Horde Core that manages application registration, configuration, and inter-application communication. It consists of several key components:
Core Registry (Horde_Registry)
- Handles application registration and management
- Manages application initialization and lifecycle
- Controls authentication settings
- Provides session flag management
- Defines error codes and view types
- Facilitates inter-application communication
Registry API (Horde_Registry_Api)
- Manages API interfaces between applications
- Handles disabled methods and caching
- Controls API permissions
- Manages application links and relationships
Registry Configuration (Horde_Registry_Registryconfig)
- Parses and manages registry configuration files
- Supports multiple configuration sources:
- Main registry file (
registry.php) - Registry directory files (
registry.d/*.php) - Local registry file (
registry.local.php) - Virtual host configurations
- Main registry file (
- Sets up application paths and resources
- Manages application status and interfaces
- Configures template, JavaScript, and theme paths
- Auto-detects Horde webroot
NLS Configuration (Horde_Registry_Nlsconfig)
- Manages language and character set configurations
- Handles:
- Character set mappings
- Language aliases
- Email character sets
- RTL (Right-to-Left) language support
- Multi-byte character support
- Language validation
The registry system's modular design allows for:
- Flexible application registration
- Centralized configuration management
- Comprehensive language support
- Extensible API system
- Virtual host support
- Clear separation of concerns
Installation
composer require horde/core
Configuration
The core package requires proper configuration of the registry system. Main configuration files should be placed in:
config/registry.php(main configuration)config/registry.d/*.php(additional configurations)config/registry.local.php(local overrides)
Requirements
- PHP 7.0 or later
- Horde Framework dependencies
- Composer for package management
License
This package is released under the LGPL-2.1 license. See LICENSE file for details.
Additional Resources
horde/core 适用场景与选型建议
horde/core 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 3.88k 次下载、GitHub Stars 达 7, 最近一次更新时间为 2023 年 10 月 25 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「framework」 「config」 「errorhandler」 「glue」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 horde/core 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 horde/core 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 horde/core 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
PHP Framework HLEB2 is the foundation of the web application. Provides ease of development and application performance.
🐘 php library to call functions and catch triggered errors
A Zend Framework module to quickly and easily set PHP settings.
Error handler package for the Laravel 5 framework
🐘 php library for easy error handling
Simple TYPO3 exception monitoring tool for small and low budget TYPO3 projects.
统计信息
- 总下载量: 3.88k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 7
- 点击次数: 15
- 依赖项目数: 39
- 推荐数: 3
其他信息
- 授权协议: LGPL-2.1-only
- 更新时间: 2023-10-25