nova-framework/novapress
Composer 安装命令:
composer create-project nova-framework/novapress
包简介
Nova Press - an Extensible Content Management design made on top of Nova Framework
README 文档
README
Nova Framework
What is the Nova Framework?
Nova Framework is a PHP 7.1 MVC system. It's designed to be lightweight and modular, allowing developers to build better and easy to maintain code with PHP.
The base framework comes with a range of helper classes.
Requirements
The framework requirements are limited.
- PHP 7.1 or greater.
- Apache Web Server or equivalent with mod rewrite support.
- IIS with URL Rewrite module installed - http://www.iis.net/downloads/microsoft/url-rewrite
The following PHP extensions should be enabled:
- Fileinfo (edit php.ini and uncomment php_fileinfo.dll or use php selector within cpanel if available.)
- OpenSSL
- INTL
- MBString
Note: Although a database is not required, if a database is to be used, the system is designed to work with a MySQL database using PDO.
Installation
This framework was designed and is strongly recommended to be installed above the document root directory, with it pointing to the webroot folder.
Additionally, installing in a sub-directory, on a production server, will introduce severe security issues. If there is no choice still place the framework files above the document root and have only index.php and .htacess from the webroot folder in the sub folder and adjust the paths accordingly.
Recommended
The framework is located on Packagist.
You can install the framework from a terminal by using:
composer create-project nova-framework/framework foldername 4.* -s dev
The foldername is the desired folder to be created.
Note: You can install the bare application variant from a terminal by using:
composer create-project nova-framework/app foldername 4.* -s dev
Note: For additional installation instructions, for example; setting up a Virtualhost (Recommended for Local Development), Nginx or IIS with URL Rewrite, please visit the install docs.
Documentation
Full docs & tutorials are available on novaframework.com.
Screencasts are available on https://novaframework.com/screencasts.
Contributing
Issue Tracker
You can find outstanding issues on the GitHub Issue Tracker.
Pull Requests
- Each pull request should contain only one new feature or improvement.
- Pull requests should be submitted to the correct version branch ie 4.0/master
Code Style
All pull requests must use the PSR-2 code style.
- Code MUST use the PSR-1 code style.
- Code MUST use 4 spaces for indenting, not tabs.
- There MUST NOT be a hard limit on line length; the soft limit MUST be 120 characters; lines SHOULD be 80 characters or less.
- There MUST be one blank line after the namespace declaration, and there MUST be one blank line after the block of use declarations.
- Opening braces for classes MUST go on the next line, and closing braces MUST go on the next line after the body.
- Opening braces for methods MUST go on the next line, and closing braces MUST go on the next line after the body.
- Visibility MUST be declared on all properties and methods; abstract and final MUST be declared before the visibility; static MUST be declared after the visibility.
- Control structure keywords MUST have one space after them; method and function calls MUST NOT.
- Opening braces for control structures MUST go on the same line, and closing braces MUST go on the next line after the body.
- Opening parentheses for control structures MUST NOT have a space after them, and closing parentheses for control structures MUST NOT have a space before.
License
The Nova Framework is under the MIT License, you can view the license here.
nova-framework/novapress 适用场景与选型建议
nova-framework/novapress 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 6 次下载、GitHub Stars 达 3, 最近一次更新时间为 2019 年 09 月 15 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 nova-framework/novapress 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 nova-framework/novapress 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 6
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-09-15