{"id":18898631,"url":"https://github.com/craryprimitiveman/create-your-own-php-framework","last_synced_at":"2025-07-23T00:03:54.699Z","repository":{"id":77197121,"uuid":"41955104","full_name":"CraryPrimitiveMan/create-your-own-php-framework","owner":"CraryPrimitiveMan","description":"构建自己的PHP框架","archived":false,"fork":false,"pushed_at":"2019-12-09T09:27:36.000Z","size":51,"stargazers_count":146,"open_issues_count":3,"forks_count":37,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-04-15T02:38:32.826Z","etag":null,"topics":["create","framework","php"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CraryPrimitiveMan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2015-09-05T09:02:03.000Z","updated_at":"2024-11-25T02:21:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"348a3ade-d11c-4df5-ac9a-feaa8e563b3d","html_url":"https://github.com/CraryPrimitiveMan/create-your-own-php-framework","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/CraryPrimitiveMan/create-your-own-php-framework","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CraryPrimitiveMan%2Fcreate-your-own-php-framework","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CraryPrimitiveMan%2Fcreate-your-own-php-framework/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CraryPrimitiveMan%2Fcreate-your-own-php-framework/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CraryPrimitiveMan%2Fcreate-your-own-php-framework/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CraryPrimitiveMan","download_url":"https://codeload.github.com/CraryPrimitiveMan/create-your-own-php-framework/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CraryPrimitiveMan%2Fcreate-your-own-php-framework/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266592121,"owners_count":23953107,"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","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["create","framework","php"],"created_at":"2024-11-08T08:43:23.074Z","updated_at":"2025-07-23T00:03:54.654Z","avatar_url":"https://github.com/CraryPrimitiveMan.png","language":null,"readme":"# create-your-own-php-framework\n构建自己的PHP框架\n\n这个栏目暂时告一段落，前一部分比较像Yii，后一部分比较像Laravel，因为当时正在看相应框架的源码，所以会有不少借鉴参考。捂脸～\n\n这个框架千万不要直接应用于生产环境，只是用来帮助大家理解PHP框架的实现机制。\n\n* [搭建基本结构](https://github.com/CraryPrimitiveMan/create-your-own-php-framework/blob/master/01.md)\n* [抽象框架的内容](https://github.com/CraryPrimitiveMan/create-your-own-php-framework/blob/master/02.md)\n* [抽象Controller的基类](https://github.com/CraryPrimitiveMan/create-your-own-php-framework/blob/master/03.md)\n* [定义ORM的接口](https://github.com/CraryPrimitiveMan/create-your-own-php-framework/blob/master/04.md)\n* [实现Model类(1)](https://github.com/CraryPrimitiveMan/create-your-own-php-framework/blob/master/05.md)\n* [实现Model类(2)](https://github.com/CraryPrimitiveMan/create-your-own-php-framework/blob/master/06.md)\n* [实现Model类(3)](https://github.com/CraryPrimitiveMan/create-your-own-php-framework/blob/master/07.md)\n* [创建组件的机制](https://github.com/CraryPrimitiveMan/create-your-own-php-framework/blob/master/08.md)\n* [构建缓存组件(1)](https://github.com/CraryPrimitiveMan/create-your-own-php-framework/blob/master/09.md)\n* [构建缓存组件(2)](https://github.com/CraryPrimitiveMan/create-your-own-php-framework/blob/master/10.md)\n* [构建模版引擎(1)](https://github.com/CraryPrimitiveMan/create-your-own-php-framework/blob/master/11.md)\n* [构建模版引擎(2)](https://github.com/CraryPrimitiveMan/create-your-own-php-framework/blob/master/12.md)\n* [构建模版引擎(3)](https://github.com/CraryPrimitiveMan/create-your-own-php-framework/blob/master/13.md)\n\n\n## Star history\n[![Stargazers over time](https://starchart.cc/CraryPrimitiveMan/create-your-own-php-framework.svg)](https://starchart.cc/CraryPrimitiveMan/create-your-own-php-framework)\n\n## 许可\n\n\u003ca rel=\"license\" href=\"http://creativecommons.org/licenses/by-nc-nd/4.0/\"\u003e\u003cimg alt=\"知识共享许可协议\" style=\"border-width:0\" src=\"https://i.creativecommons.org/l/by-nc-nd/4.0/80x15.png\" /\u003e\u003c/a\u003e\n\n本书系[孙广君](https://github.com/CraryPrimitiveMan)著，采用[知识共享署名-非商业性使用-禁止演绎 4.0 国际许可协议](https://creativecommons.org/licenses/by-nc-nd/4.0/deed.zh)许可。\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcraryprimitiveman%2Fcreate-your-own-php-framework","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcraryprimitiveman%2Fcreate-your-own-php-framework","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcraryprimitiveman%2Fcreate-your-own-php-framework/lists"}