unionofrad/lithium
最新稳定版本:v2.0.2
Composer 安装命令:
composer require unionofrad/lithium
包简介
The li₃ PHP framework
关键字:
README 文档
README
You asked for a better framework. Here it is.
li₃ is the fast, flexible and the most RAD development framework for PHP.
A framework of firsts
li₃ is the first and only major PHP framework built from the ground up for PHP 5.3+, and the first to break ground into major new technologies, including bridging the gap between relational and non-relational databases through a single, unified API.
Promiscuously opinionated
Some frameworks give you a solid set of classes, but little or no default project organization, leaving you to fend for yourself on each project you create, and spend time wiring up framework classes that should just work together. Others provide you with great organizational conventions, but no way to break out of those conventions if you need to, and too often, no way to override or replace core framework classes.
li₃ is the first framework to give you the best of both worlds, without compromising either. In fact, li₃'s API is intentionally designed to allow you to "grow out of" the framework and into your own custom code over the course of your application's lifecycle, if your needs require.
Technology
li₃ takes full advantage of the latest PHP features, including namespaces, late static binding and closures. li₃'s innovative method filter system makes extensive use of closures and anonymous functions to allow application developers to "wrap" framework method calls, intercepting parameters before, and return values after.
li₃ also complies with PSR-4, the PHP namespacing standard, allowing you to easily integrate other PHP standard libraries and frameworks with li₃ applications, and vice-versa.
li₃ integrates the latest storage technologies, including MongoDB, CouchDB and Redis, with plugin support for Cassandra, ElasticSearch and others.
Flexibility
li₃ gives you full control over your application, from filters to dynamically modify framework internals, to dynamic dependencies to extend and replace core classes with application or plugin classes, to heavy use of adapter-oriented configurations, to make it seamless to move between different technologies and options.
Every component of the li₃ framework stack is replaceable through the robust plugin architecture. Swap out the default ORM / ODM implementation for Doctrine 2 or PHP ActiveRecord. Don't like the templating? Use Twig, Mustache, or roll your own.
If you don't even need to write a full application, build a micro-app in a single file using the routing system, without giving up the maintainability of the framework's structure.
unionofrad/lithium 适用场景与选型建议
unionofrad/lithium 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 145.37k 次下载、GitHub Stars 达 1.22k, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「framework」 「lithium」 「li3」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 unionofrad/lithium 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 unionofrad/lithium 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 unionofrad/lithium 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
PHP Framework HLEB2 is the foundation of the web application. Provides ease of development and application performance.
A Usenet Indexer
A Lithium plugin adding support for querying Unicode's CLDR.
A Lithium plugin with additional g11n resources constituting the Lithium Locale Data Repository.
Model behaviors for the li₃ PHP framework
A multi-framework Composer library installer
统计信息
- 总下载量: 145.37k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1224
- 点击次数: 26
- 依赖项目数: 52
- 推荐数: 13
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 未知