{"id":15374319,"url":"https://github.com/yurunsoft/yurunphp","last_synced_at":"2025-04-15T11:32:18.306Z","repository":{"id":41070598,"uuid":"64136901","full_name":"Yurunsoft/YurunPHP","owner":"Yurunsoft","description":"YurunPHP是宇润软件专为懒人开发者设计的一款开源PHP框架，基于MVC动态分层架构，开发者可以根据需要自行扩充分层。宇润PHP交流群：17916227","archived":false,"fork":false,"pushed_at":"2022-08-10T08:50:17.000Z","size":616,"stargazers_count":35,"open_issues_count":1,"forks_count":11,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-11-01T10:51:23.634Z","etag":null,"topics":["mvc-framework","php","php-framework"],"latest_commit_sha":null,"homepage":"http://www.yurunsoft.com","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Yurunsoft.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-07-25T13:31:06.000Z","updated_at":"2023-05-21T13:37:27.000Z","dependencies_parsed_at":"2022-08-10T10:31:03.533Z","dependency_job_id":null,"html_url":"https://github.com/Yurunsoft/YurunPHP","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yurunsoft%2FYurunPHP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yurunsoft%2FYurunPHP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yurunsoft%2FYurunPHP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Yurunsoft%2FYurunPHP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Yurunsoft","download_url":"https://codeload.github.com/Yurunsoft/YurunPHP/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223673048,"owners_count":17183618,"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":["mvc-framework","php","php-framework"],"created_at":"2024-10-01T13:58:20.382Z","updated_at":"2024-11-08T11:01:54.145Z","avatar_url":"https://github.com/Yurunsoft.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 简介\r\nYurunPHP是一款MVC开源PHP框架，它的一切都是根据实际项目需求总结归纳而出，力争减少开发者在项目开发中的重复工作量。它经历了许多大小项目的考验（其中不乏年销售额上亿的系统），不断完善改进，已经十分成熟。\r\n\r\nYurunPHP框架支持PHP 5.3-7.x 版本，兼容 Windows / Linux 。\r\n\r\n# 仓库地址\r\n\r\nGithub仓库：https://github.com/Yurunsoft/YurunPHP\r\n\r\n码云仓库：http://git.oschina.net/yurunsoft/YurunPHP\r\n\r\n# Composer\r\n\r\n```json\r\n{\r\n    \"require\": {\r\n        \"yurunsoft/yurun-php\": \"2.2.*\"\r\n    }\r\n}\r\n```\r\n\r\n# 文档手册\r\n\r\nYurunPHP 2.x 开发手册：http://www.kancloud.cn/yurun/yurunphp2\r\n\r\nYurunPHP 1.x 开发手册：http://www.kancloud.cn/yurun/php-framework-1_0\r\n\r\n# 开源项目\r\n\r\nYurunBlog\r\n\r\nGithub仓库：https://github.com/Yurunsoft/YurunBlog\r\n\r\n码云仓库：http://git.oschina.net/yurunsoft/YurunBlog\r\n\r\nYurunPHP最新消息都会在官网以及QQ中发布，欢迎关注，共同学习进步！\r\n\r\n宇润PHP技术交流群：74401592\r\n\r\n# YurunPHP 2\r\n\r\n* 在v2.2中加入了composer支持，可以作为composer包引入项目\r\n* 进行了小范围重构，减少内存占用，少量提升性能\r\n* 命令行CLI模式支持\r\n* 支持以配置形式配置多种缓存、配置、日志、数据库\r\n* 初始化项目初始化处理文件\r\n* 配置驱动：Ini、JSON、XML、Db\r\n* 缓存驱动：APC、APCu、Db、EAccelerator、Memcache、Memcached、Redis、WinCache、XCache\r\n* 日志驱动：Db\r\n* 支持将Session保存至数据库\r\n* 新增一个XML转换类\r\n\r\n# 特色功能\r\n\r\n\u003e * 双向路由：解析、生成一步到位\r\n\u003e * 动态分层架构：除了常见的Control、Model、View，开发者还可通过配置文件自定义分层\r\n\u003e * 多入口：满足各类开发者的需要\r\n\u003e * API接口开发：内置API接口控制器，支持直接返回包括json、xml等格式的各类数据\r\n\u003e * 简单ORM：单表增删改查不需要写SQL语句，复杂ORM不如写SQL更为便捷\r\n\u003e * DB统一接口：可以不改任何代码，实现更换数据库类型切换。目前支持MYSQL/MSSQL\r\n\u003e * 多数据库自由切换：配置文件中可以配置多个数据库连接，在需要时连接，自由切换\r\n\u003e * 模版引擎：YurunPHP内置了一个简单的模版引擎。采用html标签式的标签，方便不懂PHP的设计人员制作页面模版。release模式下模版会被编译，无须担心效率损耗！\r\n\u003e * 模版控件：内置了许多常用控件，在开启默认模版引擎时可以使用\u003ctextbox runat=\"server\" text=\"yurunphp\"/\u003e这样的标签来展示控件，支持数据绑定\r\n\u003e * 插件机制：支持在系统中埋下事件，以便开发插件扩展\r\n\u003e * 数据验证：不仅有数据验证类，而且model支持自动验证\r\n\u003e * 定时任务：可以定时执行一些操作，拥有高度自由的触发时间配置功能\r\n\u003e * 驱动扩展：内置Redis、Memcache等常用驱动，通过配置文件即可使用\r\n\u003e * 其它：缓存、配置、数据库、错误日志记录、多语言支持、Session、Cookie、Request、Response\r\n\r\n# 开源协议\r\nApache Licence是著名的非盈利开源组织Apache采用的协议。该协议和BSD类似，同样鼓励代码共享和尊重原作者的著作权，同样允许代码修改，再发布（作为开源或商业软件）。","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyurunsoft%2Fyurunphp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyurunsoft%2Fyurunphp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyurunsoft%2Fyurunphp/lists"}