Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tinyphporg/tinyphp
一款基于敏捷开发理念的PHP MVC高性能框架,可基于集成的TinyPHP-UI前端组件库,快速开发响应式的WEB/H5应用。
https://github.com/tinyphporg/tinyphp
bootstrap5 juqery php7 php8 tinyphp-framework webpack5
Last synced: 5 days ago
JSON representation
一款基于敏捷开发理念的PHP MVC高性能框架,可基于集成的TinyPHP-UI前端组件库,快速开发响应式的WEB/H5应用。
- Host: GitHub
- URL: https://github.com/tinyphporg/tinyphp
- Owner: tinyphporg
- Created: 2021-11-01T03:02:07.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-05-21T10:59:35.000Z (over 1 year ago)
- Last Synced: 2024-10-31T01:04:02.086Z (19 days ago)
- Topics: bootstrap5, juqery, php7, php8, tinyphp-framework, webpack5
- Language: PHP
- Homepage: http://tinyphp.org/
- Size: 1.92 MB
- Stars: 205
- Watchers: 30
- Forks: 41
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
TinyPHP Framework for PHP
====tinyphp v2.0.0
----+ 基于tinyphp framework v2.0.0 [https://github.com/tinyphporg/tinyphp-framework](https://github.com/tinyphporg/tinyphp-framework)
> 经过日PV十亿级别生产环境检验;
> 应用于高并发高性能的生产环境;
> 支持分布式的RPC微服务处理;
> 适用于 Web/Console/RPC等运行环境,包括单一命令行文件打包,多任务的服务端守护进等。tinyphp-framework的适用场景与理念
----
* 客户端应用(IOS/Android/H5/小程序)的API接口开发:
* 高性能,大并发。
* 快速开发。
* 支持分布式RPC微服务架构。
* Web管理后台:
* 适用于PHP全栈工程师,及不具备UI设计师和前端工程师的研发团队。
* 集成了tinyphp-ui前端框架,只需少量的JS前端代码。
* 大规模团队协作:
* 10-100+人以上的研发团队。
* 创业团队,产品快速成型,可在较少的研发人力成本下进行高效的敏捷开发。
* 适用于具备在大规模的高性能应用场景下,通过PHP解决大多数复杂业务的架构。
* 可将大规模复杂应用的后端语言有效控制为PHP一种后端开发语言,有效降低项目维护成本和团队管理难度。
快速开始
----
```shell
composer create-project tinyphporg/tinyphp#console 运行
php public/index.php#编译单文件
php public/index.php --build#服务端守护进程
php public/index.php -d //开启
php public/index.php --daemon=stop //关闭#配置文件
application/config/profile.php
```
核心组件
====### tinyphp-framework v2.0
+ 框架地址: [https://github.com/tinyphporg/tinyphp-framework](https://github.com/tinyphporg/tinyphp-framework)### tinyphp-docs
+ 中文文档: 使用手册、标准库。
+ 项目地址: [https://github.com//tinyphp-docs](https://github.com/tinyphporg/tinyphp-docs)### tinyphp-ui
+ 前端UI组件库: webpack5+bootstrap5+jquery...
+ 项目地址: : [https://github.com/tinyphporg/tinyphp-ui](https://github.com/tinyphporg/tinyphp-ui)### lnmp-utils
+ Linux(CentOS7X_64) +openresty(nginx)+Mysql+PHP+Redis一键安装包。
+ 项目地址: https://github.com/tinyphporg/lnmp-utils快速构建运行环境
----### CentOS X64 7.4+
> 适应于生产环境,依赖于lnmp-utils。
> lnmp-utils: Linux(CentOS7X_64) +openresty(nginx)+Mysql+PHP+Redis一键安装包。
> 项目地址: https://github.com/tinyphporg/lnmp-utils```shell
git clone https://github.com/tinyphporg/lnmp-utils.git
cd ./lnmp-utils
./install.sh -m tinyphp
```### docker
> 适应于开发环境```shell
#可更改/data/workspace/tinyphp为自定义IDE工作目录
workspace=/data/workspace/docker pull centos:7
docker run -d -p 80:80 -p 3306:3306 -p 8080:8080 -p 8989:8989 -p 10022:22 -v $workspace:/data/web --name="tinyphp" --hostname="tinyphp" --restart=always -w /data/worksapce/ centos:7 /sbin/init#port 8080
# 用于tinyphporg/tinyphp-ui调试
# npm run dev#port 8989
# 用于tinyphporg/tinyphp-ui打包详情查看
# npm run builddocker exec -it tinyphp /bin/bash
git clone https://github.com/tinyphporg/lnmp-utils.git
cd ./lnmp-utils
./install.shcd /data/web/tinyphporg/tinyphp
php public/index.php```
中文手册
----
> 本框架的编码规范基本遵守PSR规范标准,仅少数细节做灵活调整。
* [环境搭建/lnmp-utils: http://github.com/tinyphporg/lnmp-utils.git](http://github.com/tinyphporg/lnmp-utils.git)
* [Demo/tinyphp: http://github.com/tinyphporg/tinyphp.git](http://github.com/tinyphporg/tinyphp.git)
* [编码规范](https://github.com/tinyphporg/tinyphp-docs/tree/master/docs/coding)
+ [文件结构](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/coding/file_001.md)
+ [程序的排版](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/coding/program_typesetting_002.md)
+ [命名规则](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/coding/rules_003.md)
+ [表达式和基本语句](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/coding/expression_004.md)
+ [常量](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/coding/constant_005.md)
+ [函数设计](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/coding/function_006.md)
+ [IDE的选择](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/coding/ide_007.md)
+ [编码规范的一些示例](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/coding/example_008.md)
* [数据库查询/设计/操作规范](https://github.com/tinyphporg/tinyphp-docs/tree/master/docs/sql)
+ [查询规范](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/sql/select_001.md)
+ [库和表的规范](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/sql/dbtable_002.md)
+ [数据库设计原则](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/sql/design_003.md)
+ [数据库的配置优化](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/sql/optimization_004.md)
* [团队协作规范](https://github.com/tinyphporg/tinyphp-docs/tree/master/docs/team)
+ [核心点](https://github.com/tinyphporg/tinyphp-docs/edit/master/docs/team/README.md#%E6%A0%B8%E5%BF%83%E7%82%B9)
+ [对于tinyphp的几个清醒认识](https://github.com/tinyphporg/tinyphp-docs/edit/master/docs/team/README.md#%E5%AF%B9%E4%BA%8E%E6%A1%86%E6%9E%B6%E7%9A%84%E5%87%A0%E4%B8%AA%E6%B8%85%E9%86%92%E8%AE%A4%E8%AF%86)
+ [tinyphp的适用场景与理念](https://github.com/tinyphporg/tinyphp-docs/edit/master/docs/team/README.md#tinyphp%E7%9A%84%E9%80%82%E7%94%A8%E5%9C%BA%E6%99%AF%E4%B8%8E%E7%90%86%E5%BF%B5)
+ [MVC的协作规范](https://github.com/tinyphporg/tinyphp-docs/edit/master/docs/team/README.md#mvc%E7%9A%84%E5%8D%8F%E4%BD%9C%E8%A7%84%E8%8C%83)
+ [tinyphp的系统设计原则](https://github.com/tinyphporg/tinyphp-docs/edit/master/docs/team/README.md#tinyphp%E7%9A%84%E7%B3%BB%E7%BB%9F%E8%AE%BE%E8%AE%A1%E5%8E%9F%E5%88%99)
* [框架使用手册](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/manual/)
+ [Index/入口文件: public/index.php](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/manual/index.md)
+ [Runtime/运行时环境: runtime/](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/manual/runtime.md)
- [Environment/运行时环境参数](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/manual/runtime_env.md)
- [ExceptionHandler/异常处理](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/manual/runtime_exception.md)
- [Autoloader/自动加载](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/manual/runtime_autoloader.md)
- [Container/容器](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/manual/runtime_container.md)
- [EventManager/事件管理](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/manual/runtime_event.md)
+ [Application/应用程序: application/](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/manual/application.md)
- [Proptrites/Application配置文件:application/config/profile.php](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/manual/profile.md)
- [Debug/调试模式配置](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/manual/debug.md)
- [Bootstrap/引导程序配置:application/events/Bootstrap.php](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/manual/bootstrap.md)
- [Lang/语言包配置:application/lang](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/manual/lang.md)
- [Data/数据源配置:/application/data](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/manual/data.md)
- [Cache/缓存配置:runtime/cache](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/manual/cache.md)
- [Logger/日志收集配置:runtime/log](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/manual/logger.md)
- [Configuration/配置类配置](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/manual/configuration.md)
- [Builder/打包单文件的配置](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/manual/builder.md)
- [Daemon/守护进程配置](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/manual/daemon.md)
- [Filter/过滤器配置](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/manual/filter.md)
- [MVC/Event/事件配置](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/manual/mvc_event.md)
- [MVC/Controller/控制器配置:application/controllers/](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/manual/mvc_controller.md)
- [MVC/Model/模型配置:application/models/](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/manual/mvc_model.md)
- [MVC/Viewer/视图配置:application/views/](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/manual/mvc_viewer.md)
- [MVC/Router/路由器配置](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/manual/mvc_router.md)
- [MVC/Controller/Dispatcher/派发器配置](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/manual/mvc_dispatcher.md)
- [MVC/Request/请求](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/manual/mvc_request.md)
- [MVC/Response/响应](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/manual/mvc_response.md)
- [MVC/Web/HttpCookie](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/manual/mvc_cookie.md)
- [Mvc/Web/HttpSession](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/manual/mvc_session.md)
* [框架标准库参考](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/lib/)
* [Tiny:工具包](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/lib/tiny.md)
* [Tiny\Runtime:运行时](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/lib/runtime.md)
* [Tiny\Build:打包](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/lib/build.md)
* [Tiny\Cache:缓存](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/lib/cache.md)
* [Tiny\Config:配置](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/lib/config.md)
* [Tiny\Console:命令行](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/lib/console.md)
* [Tiny\Data:数据层](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/lib/data.md)
* [Tiny\DI:依赖注入](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/lib/di.md)
* [Tiny\Event:事件](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/lib/event.md)
* [Tiny\Filter:过滤器](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/lib/filter.md)
* [Tiny\Image:图片处理](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/lib/image.md)
* [Tiny\Lang:语言包](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/lib/lang.md)
* [Tiny\Log:日志处理](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/lib/log.md)
* [Tiny\MVC:MVC](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/lib/mvc.md)
* [Tiny\Net:网络](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/lib/net.md)
* [Tiny\String:字符处理](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/lib/string.md)
* [UI库参考](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/ui/)