Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tinyphporg/tinyphp-docs
tinyphp-framework v2.0的中文文档
https://github.com/tinyphporg/tinyphp-docs
php7 php8 tinyphp-framework tinyphp-ui
Last synced: 6 days ago
JSON representation
tinyphp-framework v2.0的中文文档
- Host: GitHub
- URL: https://github.com/tinyphporg/tinyphp-docs
- Owner: tinyphporg
- Created: 2021-10-31T14:15:33.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-11-23T10:37:59.000Z (almost 2 years ago)
- Last Synced: 2024-04-15T17:22:06.321Z (7 months ago)
- Topics: php7, php8, tinyphp-framework, tinyphp-ui
- Language: PHP
- Homepage:
- Size: 466 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- 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/blob/master/docs/standard/coding_file.md)
* [程序的排版](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/standard/coding_program_typesetting.md)
* [命名规则](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/standard/coding_rules.md)
* [表达式和基本语句](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/standard/coding_expression.md)
* [常量](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/standard/coding/constant.md)
* [函数设计](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/standard/coding/function.md)
* [IDE的选择](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/standard/coding_ide.md)
* [编码规范的一些示例](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/standard/coding_example.md)
* 数据库查询/设计/操作规范
* [查询规范](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/standard/db_select.md)
* [库和表的规范](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/standard/db_dbtable.md)
* [数据库设计原则](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/standard/db_design.md)
* [数据库的配置优化](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/standard/db_optimization.md)
* [团队协作规范](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/standard/team.md)
* 框架使用手册
* [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)
* 框架标准库参考
* [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/)