electro/framework
Composer 安装命令:
composer require electro/framework
包简介
Electro framework's subsystems for the standard configuration profiles
README 文档
README
The Electro framework's subsystems for the standard configuration profiles
Rebuilding the package (for framework developers)
If you make changes to any susbsystem's composer.json, you'll need to run bin/build.php to update the package's main composer.json.
Otherwise, changes to the subsystems' dependencies will have no effect.
After updating the main composer.json, you should commit the changes to Git.
Introduction
This package provides the standard framework subsystems and causes the installation of all the recommended packages for a standard framework configuration.
The standard configuration provides two profiles:
- The
WebProfile- the standard functionality for web applications. - The
ConsoleProfile- the standard functionality for console-based applications. - The
ApiProfile- functionality relevant for web-based APIs (ex: REST APIs).
See the framework's documentation to know more about profiles.
Subsystems vs Plugins
This package's subsystem modules provide only the main functionality of the framework.
Some optional parts of the framework are available elsewere as plugin packages that you can install on demand. Those will provide you with ORMs, database migrations, templating engines and more.
Plese refer to the framework's documentation for instructions on how to install plugins.
Installing the framework's standard package bundle
By requiring this package on your project's composer.json file, you will install the framework with all recommended packages for a standard configuration.
You should not install this package on an empty project, as it will be missing the underlying files and directory structure required by a fully-working application.
Use the Electro base installation as your application's starting point.
Installing a customized framework profile
In a near future, there will be more framework installation profiles available.
Alternative installation profiles will provide customized versions of the framework that may be more suitable for some scenarios. For instance, a "micro-framework" profile would install a minimum set of subsystems, with a narrower scope and tuned for maximum performance.
For now, this package is the only profile available, which consists of a set of subsystems that forn a generic web framework, suitable for most common usage scenarios.
When alternative profiles became available, you'll be able to find them on GitHub, on the electro-framework organization.
Log viewing support
To use the lnav command to view log files generated by the framework, type the following command to install lnav support for the framework's default log format:
lnav -i private/packages/electro/framework/lnav.json
License
The Electro framework is open-source software licensed under the MIT license.
Electro framework - Copyright © Cláudio Silva and Impactwave, Lda.
electro/framework 适用场景与选型建议
electro/framework 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 2.99k 次下载、GitHub Stars 达 1, 最近一次更新时间为 2016 年 06 月 16 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 electro/framework 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 electro/framework 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 2.99k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 12
- 依赖项目数: 4
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-06-16