{"id":37265330,"url":"https://github.com/pandaengine/qingtpl","last_synced_at":"2026-01-16T00:07:07.856Z","repository":{"id":62531604,"uuid":"143552989","full_name":"pandaengine/qingtpl","owner":"pandaengine","description":"qingtpl模版编译引擎,模版编译组件,qingmvc tamplate compile component","archived":false,"fork":false,"pushed_at":"2018-08-17T08:33:22.000Z","size":47,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-22T22:59:49.703Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/pandaengine.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}},"created_at":"2018-08-04T18:29:59.000Z","updated_at":"2018-08-17T08:33:24.000Z","dependencies_parsed_at":"2022-11-02T14:45:43.761Z","dependency_job_id":null,"html_url":"https://github.com/pandaengine/qingtpl","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/pandaengine/qingtpl","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pandaengine%2Fqingtpl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pandaengine%2Fqingtpl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pandaengine%2Fqingtpl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pandaengine%2Fqingtpl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pandaengine","download_url":"https://codeload.github.com/pandaengine/qingtpl/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pandaengine%2Fqingtpl/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28420931,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T10:47:48.104Z","status":"ssl_error","status_checked_at":"2026-01-14T10:46:19.031Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2026-01-16T00:07:07.242Z","updated_at":"2026-01-16T00:07:07.851Z","avatar_url":"https://github.com/pandaengine.png","language":"PHP","readme":"\n# QingTpl超轻量视图编译引擎\n\nQingTpl模版编译引擎,模版编译组件,qingmvc tamplate compile component\n\n[语法手册](docs/SUMMARY.md)\n\n- http://qingmvc.com\n- http://qingcms.com\n- http://logo234.com  \n- http://mangdian.net  \n\n## 简单的视图编译器\n\n- 只是简单的替换模版标签成原生php代码`\u003c?php ?\u003e`\n- 没有其他多余的依赖\n- 只编译，并不渲染\n- 被包含文件，修改后不能及时的更新编译缓存，不能解决\n\n\n# composer载入qingtpl\n\n```\n\"require\": {\n\t\"php\": \"\u003e=5.3.0\",\n\t\"qingmvc/qingtpl\":\"dev-master\",\n}\n```\n\n# qingmvc载入qingtpl\n\n```\n//命名空间映射\n'namespaces' =\u003e\n[\n\t'qingtpl'=\u003e'/qingtpl/src'\n],\n```\n\n# QingMVC配置\n\n```\n//组件列表\n'components'=\u003e\n[\n\t//视图组件\n\t'view'=\u003e\n\t[\n\t\t'class'=\u003e'\\qing\\view\\CachedView'\n\t],\n\t//视图编译组件\n\t'view.compiler'=\u003e\n\t[\n\t\t'creator'=\u003e'\\qingtpl\\CompilerCreator',\n\t]\n]\n```\n\n# QingMVC使用\n\n```\n//$viewFile 原始视图文件\n//$cacheFile 视图缓存文件\n$compiler=com('view.compiler');\n$compiler-\u003ecompile($viewFile,$cacheFile);\n```\n\n# 语法手册\n\n* [0.简介](docs/0.简介.md)\n* [1.0.配置和使用](docs/1.0.配置和使用.md)\n* [1.1.配置和使用.QingMVC](docs/1.1.配置和使用.QingMVC.md)\n* [2.0.模版常量](docs/2.0.模版常量.md)\n* [2.1.模版常量.宏定义define](docs/2.1.模版常量.宏定义define.md)\n* [3.条件编译](docs/3.条件编译.md)\n* [4.0.函数](docs/4.0.函数.md)\n* [4.1.前置编译函数](docs/4.1.前置编译函数.md)\n* [5.0.包含文件](docs/5.0.包含文件.md)\n* [5.1.包含视图文件](docs/5.1.包含视图文件.md)\n* [5.2.包含纯文本文件](docs/5.2.包含纯文本文件.md)\n* [6.静态内容-不解析内容](docs/6.静态内容-不解析内容.md)\n* [7.变量](docs/7.变量.md)\n* [8.区块](docs/8.区块.md)\n* [9.条件判断](docs/9.条件判断.md)\n* [10.循环遍历](docs/10.循环遍历.md)\n* [11.其他](docs/11.其他.md)\n* [12.插件](docs/12.插件.md)\n* [13.模版注释](docs/13.模版注释.md)\n* [14.清除注释或多余空格](docs/14.清除注释或多余空格.md)\n* [README](docs/README.md)\n* [SUMMARY](docs/SUMMARY.md)\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpandaengine%2Fqingtpl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpandaengine%2Fqingtpl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpandaengine%2Fqingtpl/lists"}