ht.maks/simple-mvc
Composer 安装命令:
composer require ht.maks/simple-mvc
包简介
A simple and full stack Push & Pull MVC framework.
README 文档
README
A simple push & pull MVC framework heavly inspired to different PHP microframeworks and PHP MVC framework like ZF1.
Why?
I want to try out the test-driven development [at least write some tests ;)].
Just for my pleasure.
Goals
- PHPUnit
- Very simple implementation (only 8 classes + autoloader)
- PHP 5.3+ implementation
Features
- 100% MVC implementation [66% no model support] ;)
- Useful hooks (Fixed events)
- Loop Startup
- Pre Dispatch
- Init Hook
- Post Dispatch
- Loop Shutdown
- View Renderer Switch
- View Helpers
- Partial views
- Two step view (Layout support)
- Controllers stack
- Headers handler
- Event manager (Self designed hooks)
- Router
- Only controller/action names
- Dash URLs support (/a-dash/the-name-of-content)
- Pull Driven requests
- View request data to a controller-action
- Rewritable views
- Different views mount points for rewrite views
Install with Composer
If you want you can use Composer for install simple-mvc.
Create the composer.json
{
"require": {
"wdalmut/simple-mvc": "*"
}
}
Now you can install the framework
$ curl -s http://getcomposer.org/installer | php
$ php composer.phar install
You can use the Composer autoloader
<?php require_once 'vendor/autoloader.php'; $app = new Application(); //...
Examples and docs
Build Status
The end.
ht.maks/simple-mvc 适用场景与选型建议
ht.maks/simple-mvc 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 35 次下载、GitHub Stars 达 0, 最近一次更新时间为 2019 年 03 月 04 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「framework」 「microframework」 「mvc」 「micro」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 ht.maks/simple-mvc 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 ht.maks/simple-mvc 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 ht.maks/simple-mvc 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
PHP Framework HLEB2 is the foundation of the web application. Provides ease of development and application performance.
Kinikit - PHP Application development framework MVC component
A lightweight, secure-by-default PHP microframework built on Slim – providing Laravel-like features (ORM, authentication, migrations, caching) without the bloat. Perfect for building REST APIs and small-to-medium PHP applications.
Small extensible framework in PHP
Oauth 2 client for Ubiquity framework
Reducido núcleo de trabajo para PHP
统计信息
- 总下载量: 35
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 5
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-03-04