{"id":15424857,"url":"https://github.com/newfuture/yyf-book","last_synced_at":"2025-04-15T18:32:35.554Z","repository":{"id":108701952,"uuid":"64458307","full_name":"NewFuture/YYF-book","owner":"NewFuture","description":":open_book: Yunyin Yaf Framework Documentation (YYF 说明文档 )","archived":false,"fork":false,"pushed_at":"2019-10-07T06:11:11.000Z","size":18404,"stargazers_count":1,"open_issues_count":0,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T01:05:55.120Z","etag":null,"topics":["document","framework","gitbook","restful","yyf"],"latest_commit_sha":null,"homepage":"https://yyf.newfuture.cc","language":"Shell","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/NewFuture.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":"2016-07-29T06:59:19.000Z","updated_at":"2021-02-09T15:59:35.000Z","dependencies_parsed_at":"2023-06-28T15:16:30.083Z","dependency_job_id":null,"html_url":"https://github.com/NewFuture/YYF-book","commit_stats":{"total_commits":132,"total_committers":6,"mean_commits":22.0,"dds":"0.43939393939393945","last_synced_commit":"a48b033990d8e8086e89e460bfb5f2009d8a58d1"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NewFuture%2FYYF-book","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NewFuture%2FYYF-book/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NewFuture%2FYYF-book/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NewFuture%2FYYF-book/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NewFuture","download_url":"https://codeload.github.com/NewFuture/YYF-book/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249129367,"owners_count":21217341,"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":["document","framework","gitbook","restful","yyf"],"created_at":"2024-10-01T17:49:04.963Z","updated_at":"2025-04-15T18:32:35.054Z","avatar_url":"https://github.com/NewFuture.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\ndescription: YYF 开发文档,一个高效 安全 简单的PHP RESTful 框架使用指南\n---\nYYF-book\n==========\nYYF 开发文档\n\nDocumentation for YUNYIN YAF Framework\n* YYF框架: \u003chttps://github.com/YunYinORG/YYF/\u003e\n* 文档网址: [https://yyf.newfuture.cc](https://yyf.newfuture.cc)\n* 文档源码: [https://github.com/NewFuture/yyf-book](https://github.com/NewFuture/yyf-book)\n* PDF版下载: \u003chttps://www.gitbook.com/download/pdf/book/newfuture/yyf\u003e\n* ePub电子书: \u003chttps://www.gitbook.com/download/epub/book/newfuture/yyf\u003e\n* mobi电子书: \u003chttps://www.gitbook.com/download/mobi/book/newfuture/yyf\u003e\n\n![YunYin Logo](assets/img/logo.png)\n\nYYF (Yunyin Yaf Framework)\n---------------------------\n\n基于PHP的YAF扩展构建的高效,安全,简单,优雅的 开源RESTful 框架。\n\n**项目主页** [https://github.com/YunYinORG/YYF](https://github.com/YunYinORG/YYF/)\n\n设计宗旨：以**生产环境下安全高效运行**为前提,尽量让**开发优雅方便**,尽力提高运行性能和开发便捷。\n\nYYF最初是从第二版云印系统后端核心框架萃取和完善发展而来,在不同环境下提供简单一致的开发体验,并在服务器上快速部署和高效运行；\n鉴于流行Laravel框架和使用较多的ThinkPHP框架的使用习惯, 以 yaf扩展作为底层框架提高整体性能，开发的RESTful后端PHP框架。\n\n\n如果使用过Laraval或者Thinkphp等任何PHP框架,或者熟悉Rails等类似的web框架,可轻松上手YYF。\n\n主要特点\n---------\n\n* 安全: \n    - 数据库完全采用PDO封装从底层防止SQL注入\n    - 输入参数类型绑定，提供输入过滤封装\n    - 高效封装常用加密库，包括云印系统的格式保留加密算法\n    - 生产环境,对文件权限进行严格限制\n    - CORS封装管理和限制跨域请求\n\n* 高效: \n    - 使用YAF扩展(c编译)作为框架底层驱动;\n    - 核心库保证安全和高效运行为前提，独立模块内部紧耦合，按需加载;\n    - 底层框架配置文件常驻内存,减少文件IO;\n    - 针对PHP7特性优化,在PHP7下性能更优\n\n* 简单:\n    - 自带跨平台的一键初始化和管理命令脚本(不需要PHP环境)\n    - 对REST路由和输出采用配置管理,并可根据浏览器请求方便的配置跨站请求(CORS)\n    - 对常用操作高效封装,并对数据库,邮件,微信，七牛云等常用服务进行高效定制封装\n    - 开发环境自动进行性能统计，方便后期优化\n    - 提供Chrome调试插件YYF-Debugger，在浏览器中查看调试信息\n    \n* 优雅:\n    - 静态封装,对于常用操作进行静态封装,让开发代码更简洁\n    - 开发环境调试注入,无需改动代码,自动根据系统配置切换环境\n    - 不同环境和服务尽量提高一致的接口，\n    - 开发环境自动header输出调试信息和日志\n\n* 兼容: \n    - 支持PHP5.3及以上所有稳定版本，可自动根据版本安装YAF\n    - 在各种服务器环境包括云平台之间平滑迁移和部署\n    - 提供Vagrant虚拟机开发环境，为不同系统和使用习惯的开发者提供稳定一致的开发体验\n    - 集成单元测试,与travis-ci无缝对接,可在不同环境自动测试和持续集成","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnewfuture%2Fyyf-book","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnewfuture%2Fyyf-book","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnewfuture%2Fyyf-book/lists"}