{"id":19810803,"url":"https://github.com/tinyphporg/tinyphp-framework","last_synced_at":"2025-05-01T08:32:08.849Z","repository":{"id":11177189,"uuid":"13553699","full_name":"tinyphporg/tinyphp-framework","owner":"tinyphporg","description":"一款基于敏捷开发理念的PHP MVC高性能框架，可基于集成的TinyPHP-UI前端组件库，快速开发响应式的WEB/H5应用。","archived":false,"fork":false,"pushed_at":"2023-05-21T10:59:02.000Z","size":5923,"stargazers_count":35,"open_issues_count":0,"forks_count":9,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-04-03T04:34:32.298Z","etag":null,"topics":["frameworks","mvc","php"],"latest_commit_sha":null,"homepage":"http://tinyphp.org/","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2013-10-14T06:05:14.000Z","updated_at":"2025-01-17T16:03:20.000Z","dependencies_parsed_at":"2024-11-12T09:36:32.650Z","dependency_job_id":null,"html_url":"https://github.com/tinyphporg/tinyphp-framework","commit_stats":{"total_commits":147,"total_committers":13,"mean_commits":"11.307692307692308","dds":0.8163265306122449,"last_synced_commit":"a7032f4d61cd3f0122785acf25cecc240e735a34"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinyphporg%2Ftinyphp-framework","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinyphporg%2Ftinyphp-framework/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinyphporg%2Ftinyphp-framework/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinyphporg%2Ftinyphp-framework/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tinyphporg","download_url":"https://codeload.github.com/tinyphporg/tinyphp-framework/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251847828,"owners_count":21653582,"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":["frameworks","mvc","php"],"created_at":"2024-11-12T09:23:28.305Z","updated_at":"2025-05-01T08:32:07.694Z","avatar_url":"https://github.com/tinyphporg.png","language":"PHP","readme":"TinyPHP Framework for PHP\n====\n\ntinyphp-framework v2.0\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### tinyphp \n+ 脚手架：   [https://github.com/tinyphporg/tinyphp](https://github.com/tinyphporg/tinyphp)    \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* [环境搭建/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* [编码规范](https://github.com/tinyphporg/tinyphp-docs/tree/master/docs/coding)\n  + [文件结构](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/coding/file_001.md)   \n  + [程序的排版](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/coding/program_typesetting_002.md)    \n  + [命名规则](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/coding/rules_003.md)  \n  + [表达式和基本语句](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/coding/expression_004.md)  \n  + [常量](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/coding/constant_005.md)  \n  + [函数设计](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/coding/function_006.md)  \n  + [IDE的选择](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/coding/ide_007.md)  \n  + [编码规范的一些示例](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/coding/example_008.md)  \n* [数据库查询/设计/操作规范](https://github.com/tinyphporg/tinyphp-docs/tree/master/docs/sql)\n  + [查询规范](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/sql/select_001.md)\n  + [库和表的规范](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/sql/dbtable_002.md)\n  + [数据库设计原则](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/sql/design_003.md)\n  + [数据库的配置优化](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/sql/optimization_004.md)\n* [团队协作规范](https://github.com/tinyphporg/tinyphp-docs/tree/master/docs/team)\n  + [核心点](https://github.com/tinyphporg/tinyphp-docs/edit/master/docs/team/README.md#%E6%A0%B8%E5%BF%83%E7%82%B9)\n  + [对于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)\n  + [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)\n  + [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)\n  + [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)\n* [框架使用手册](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/manual/) \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* [框架标准库参考](https://github.com/tinyphporg/tinyphp-docs/blob/master/docs/lib/)\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","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinyphporg%2Ftinyphp-framework","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftinyphporg%2Ftinyphp-framework","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinyphporg%2Ftinyphp-framework/lists"}