usbac/wolff
最新稳定版本:4.1.0
Composer 安装命令:
composer create-project usbac/wolff
包简介
Ridiculously small PHP framework
README 文档
README
Wolff
Web development made just right.
Wolff is a ridiculously small and lightweight PHP framework, intended for those who want to build web apps without dealing with complexity.
Wolff is the perfect solution for building small and medium-sized web applications.
Note: The core code of the framework is available at Wolff-framework.
Features
📓 Extremely easy: It's simple to use and comes ready to be deployed, giving you the opportunity to learn it in just a single night (sleep included).
🚀 Ridiculously fast: Due to its simplicity, the framework is able to handle hundreds of requests per second. It's very friendly with potato servers.
🛠️ Comprenhensive: It has everything you may need for building a web app, from a handy database abstraction layer to a dynamic template engine.
🦄 Elegant: Its source code and interface has been meticulously written, it's expressive and elegant, without depending on a single external dependency.
What's included
And much more...
Requirements
-
PHP version 7.1 or higher
-
Composer (Only for installation)
Install
Composer is required for installing Wolff, once you got it...
Run the following command in the folder where you want Wolff to be installed:
composer create-project usbac/wolff
This will download the whole project with everything ready to run.
More info about the installation process in the Docs - install page.
Bundle
You can also download here the last bundle ready to be used.
Example
app/controllers/home.php:
‹?php namespace Controller; use Wolff\Core\{Language, View}; class Home { public function index($req, $res) { $data = Language::get('home'); View::render('home', $data); } }
More examples available here.
Testing
PHPUnit is required for the tests, once you got it.
Run the following command with high privileges (sudo) in your wolff project folder:
vendor/bin/phpunit
Running the command with high privileges is required since some files will be created during the testing process.
Documentation
First time using it? Read the Documentation.
Contributing
Any contribution or support to this project in the form of a pull request or message will be highly appreciated. ❤️
You can read more about the contribution process right here. Don't be shy. :)
License
Wolff is open-source software licensed under the MIT license.
usbac/wolff 适用场景与选型建议
usbac/wolff 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 312 次下载、GitHub Stars 达 217, 最近一次更新时间为 2019 年 03 月 07 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「framework」 「php」 「db」 「web」 「apps」 「fast」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 usbac/wolff 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 usbac/wolff 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 usbac/wolff 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
PHP Framework HLEB2 is the foundation of the web application. Provides ease of development and application performance.
Model of a web-based resource
Retrieve a WebResourceInterface instance over HTTP
Selectize Theme for Bootstrap 4
Provides command to manage a web library directory
Alfabank REST API integration
统计信息
- 总下载量: 312
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 217
- 点击次数: 16
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-03-07