{"id":19810789,"url":"https://github.com/tinyphporg/tinyphp-docs","last_synced_at":"2025-10-18T01:05:11.019Z","repository":{"id":46527618,"uuid":"423167462","full_name":"tinyphporg/tinyphp-docs","owner":"tinyphporg","description":"tinyphp-framework v2.0的中文文档","archived":false,"fork":false,"pushed_at":"2022-11-23T10:37:59.000Z","size":477,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-12T00:39:29.474Z","etag":null,"topics":["php7","php8","tinyphp-framework","tinyphp-ui"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tinyphporg.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-10-31T14:15:33.000Z","updated_at":"2022-07-24T15:58:01.000Z","dependencies_parsed_at":"2022-09-19T11:41:26.111Z","dependency_job_id":null,"html_url":"https://github.com/tinyphporg/tinyphp-docs","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinyphporg%2Ftinyphp-docs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinyphporg%2Ftinyphp-docs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinyphporg%2Ftinyphp-docs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinyphporg%2Ftinyphp-docs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tinyphporg","download_url":"https://codeload.github.com/tinyphporg/tinyphp-docs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241156445,"owners_count":19919338,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["php7","php8","tinyphp-framework","tinyphp-ui"],"created_at":"2024-11-12T09:23:25.159Z","updated_at":"2025-10-18T01:05:01.966Z","avatar_url":"https://github.com/tinyphporg.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"TinyPHP Framework for PHP\n====\n\ntinyphp v2.0.0\n----\n\n+ 基于tinyphp framework v2.0.0 [https://github.com/tinyphporg/tinyphp-framework](https://github.com/tinyphporg/tinyphp-framework)\n  \n\u003e 经过日PV十亿级别生产环境检验；  \n\u003e 应用于高并发高性能的生产环境；\n\u003e 支持分布式的RPC微服务处理；    \n\u003e 适用于 Web/Console/RPC等运行环境，包括单一命令行文件打包，多任务的服务端守护进等。   \n\ntinyphp-framework的适用场景与理念\n---- \n* 客户端应用(IOS/Android/H5/小程序)的API接口开发：\n    * 高性能，大并发。\n    * 快速开发。\n    * 支持分布式RPC微服务架构。\n    \n*  Web管理后台：\n    * 适用于PHP全栈工程师，及不具备UI设计师和前端工程师的研发团队。\n    * 集成了tinyphp-ui前端框架，只需少量的JS前端代码。 \n    \n* 大规模团队协作：\n    * 10-100+人以上的研发团队。\n    * 创业团队，产品快速成型，可在较少的研发人力成本下进行高效的敏捷开发。\n    * 适用于具备在大规模的高性能应用场景下，通过PHP解决大多数复杂业务的架构。\n    * 可将大规模复杂应用的后端语言有效控制为PHP一种后端开发语言，有效降低项目维护成本和团队管理难度。   \n    \n快速开始\n----\n```shell\ncomposer create-project tinyphporg/tinyphp\n\n#console 运行\nphp public/index.php\n\n#编译单文件\nphp public/index.php --build\n\n#服务端守护进程\nphp public/index.php -d  //开启\nphp public/index.php --daemon=stop  //关闭\n\n#配置文件 \napplication/config/profile.php\n``` \n核心组件\n====\n\n### tinyphp-framework v2.0 \n+ 框架地址：   [https://github.com/tinyphporg/tinyphp-framework](https://github.com/tinyphporg/tinyphp-framework)    \n\n### tinyphp-docs\n+ 中文文档: 使用手册、标准库。  \n+ 项目地址: [https://github.com//tinyphp-docs](https://github.com/tinyphporg/tinyphp-docs)   \n\n### tinyphp-ui  \n+ 前端UI组件库: webpack5+bootstrap5+jquery...     \n+ 项目地址： : [https://github.com/tinyphporg/tinyphp-ui](https://github.com/tinyphporg/tinyphp-ui)  \n\n### lnmp-utils   \n+ Linux(CentOS7X_64) +openresty(nginx)+Mysql+PHP+Redis一键安装包, 适用于生产环境。    \n+ 项目地址: https://github.com/tinyphporg/lnmp-utils\n\n快速构建运行环境\n----\n\n### CentOS X64 7.4+\n\u003e 适应于生产环境，依赖于lnmp-utils。   \n\u003e lnmp-utils: Linux(CentOS7X_64) +openresty(nginx)+Mysql+PHP+Redis一键安装包。    \n\u003e 项目地址: https://github.com/tinyphporg/lnmp-utils    \n\n```shell\ngit clone https://github.com/tinyphporg/lnmp-utils.git\ncd ./lnmp-utils\n./install.sh -m tinyphp\n```\n\n### docker\n\u003e  适应于开发环境\n\n```shell\n#可更改/data/workspace/tinyphp为自定义IDE工作目录\nworkspace=/data/workspace/\n\ndocker pull centos:7\ndocker 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\n\n#port 8080 \n#   用于tinyphporg/tinyphp-ui调试\n# npm run dev\n\n#port 8989 \n#    用于tinyphporg/tinyphp-ui打包详情查看\n# npm run build\n\ndocker exec -it tinyphp /bin/bash\n\ngit clone https://github.com/tinyphporg/lnmp-utils.git\ncd ./lnmp-utils\n./install.sh \n\ncd /data/web/tinyphporg/tinyphp\nphp public/index.php\n\n```\n\n中文手册\n---- \n\u003e 本框架的编码规范遵守PSR规范标准，仅少数细节做灵活调整。       \n\n* [环境搭建/lnmp-utils: http://github.com/tinyphporg/lnmp-utils.git](http://github.com/tinyphporg/lnmp-utils.git)\n* [Demo/tinyphp: http://github.com/tinyphporg/tinyphp.git](http://github.com/tinyphporg/tinyphp.git)\n* 编码规范\n  * [文件结构](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/standard/coding_file.md)   \n  * [程序的排版](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/standard/coding_program_typesetting.md)    \n  * [命名规则](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/standard/coding_rules.md)  \n  * [表达式和基本语句](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/standard/coding_expression.md)  \n  * [常量](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/standard/coding/constant.md)  \n  * [函数设计](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/standard/coding/function.md)  \n  * [IDE的选择](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/standard/coding_ide.md)  \n  * [编码规范的一些示例](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/standard/coding_example.md)  \n* 数据库查询/设计/操作规范\n  * [查询规范](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/standard/db_select.md)\n  * [库和表的规范](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/standard/db_dbtable.md)\n  * [数据库设计原则](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/standard/db_design.md)\n  * [数据库的配置优化](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/standard/db_optimization.md)\n* [团队协作规范](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/standard/team.md)\n* 框架使用手册\n   * [Index/入口文件:    public/index.php](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/manual/index.md)      \n   * [Runtime/运行时环境: runtime/](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/manual/runtime.md)    \n      * [Environment/运行时环境参数](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/manual/runtime_env.md)  \n      * [ExceptionHandler/异常处理](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/manual/runtime_exception.md)   \n      * [Autoloader/自动加载](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/manual/runtime_autoloader.md)   \n      * [Container/容器](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/manual/runtime_container.md)   \n      * [EventManager/事件管理](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/manual/runtime_event.md)  \n    * [Application/应用程序: application/](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/manual/application.md)   \n      * [Proptrites/Application配置文件:application/config/profile.php](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/manual/profile.md)\n      * [Debug/调试模式配置](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/manual/debug.md)\n      * [Bootstrap/引导程序配置:application/events/Bootstrap.php](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/manual/bootstrap.md)\n      * [Lang/语言包配置:application/lang](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/manual/lang.md)\n      * [Data/数据源配置:/application/data](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/manual/data.md)\n      * [Cache/缓存配置:runtime/cache](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/manual/cache.md)\n      * [Logger/日志收集配置:runtime/log](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/manual/logger.md)\n      * [Configuration/配置类配置](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/manual/configuration.md)\n      * [Builder/打包单文件的配置](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/manual/builder.md)\n      * [Daemon/守护进程配置](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/manual/daemon.md)\n      * [Filter/过滤器配置](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/manual/filter.md)\n      * [MVC/Event/事件配置](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/manual/mvc_event.md)\n      * [MVC/Controller/控制器配置:application/controllers/](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/manual/mvc_controller.md)\n      * [MVC/Model/模型配置:application/models/](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/manual/mvc_model.md)\n      * [MVC/Viewer/视图配置:application/views/](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/manual/mvc_viewer.md)\n      * [MVC/Router/路由器配置](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/manual/mvc_router.md)\n      * [MVC/Controller/Dispatcher/派发器配置](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/manual/mvc_dispatcher.md)\n      * [MVC/Request/请求](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/manual/mvc_request.md)\n      * [MVC/Response/响应](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/manual/mvc_response.md)\n      * [MVC/Web/HttpCookie](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/manual/mvc_cookie.md)\n      * [Mvc/Web/HttpSession](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/manual/mvc_session.md)            \n    \n* 框架标准库参考\n    * [Tiny：工具包](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/lib/tiny.md)\n    * [Tiny\\Runtime：运行时](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/lib/runtime.md)\n    * [Tiny\\Build：打包](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/lib/build.md)\n    * [Tiny\\Cache：缓存](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/lib/cache.md)\n    * [Tiny\\Config：配置](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/lib/config.md)\n    * [Tiny\\Console：命令行](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/lib/console.md)\n    * [Tiny\\Data：数据层](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/lib/data.md)\n    * [Tiny\\DI：依赖注入](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/lib/di.md)\n    * [Tiny\\Event：事件](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/lib/event.md)\n    * [Tiny\\Filter：过滤器](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/lib/filter.md)   \n    * [Tiny\\Image：图片处理](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/lib/image.md)\n    * [Tiny\\Lang：语言包](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/lib/lang.md)\n    * [Tiny\\Log：日志处理](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/lib/log.md)\n    * [Tiny\\MVC：MVC](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/lib/mvc.md)\n    * [Tiny\\Net：网络](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/lib/net.md)\n    * [Tiny\\String：字符处理](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/lib/string.md) \n   \n* [UI库参考](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/ui/)   \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinyphporg%2Ftinyphp-docs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftinyphporg%2Ftinyphp-docs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinyphporg%2Ftinyphp-docs/lists"}