{"id":18678123,"url":"https://github.com/lovemo/make_template","last_synced_at":"2026-04-05T23:32:53.261Z","repository":{"id":86580346,"uuid":"162374745","full_name":"lovemo/make_template","owner":"lovemo","description":"命令自动化根据make/stubs中的模板文件生成php_controller/php_model/html/css/js规范化文件代码","archived":false,"fork":false,"pushed_at":"2018-12-19T03:12:14.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-18T13:49:58.146Z","etag":null,"topics":["automatic","css","html","html5","js","php","stub","template","thinkphp","thinkphp5"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/lovemo.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":"2018-12-19T02:57:43.000Z","updated_at":"2018-12-19T03:12:16.000Z","dependencies_parsed_at":"2023-03-02T21:30:30.029Z","dependency_job_id":null,"html_url":"https://github.com/lovemo/make_template","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lovemo/make_template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovemo%2Fmake_template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovemo%2Fmake_template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovemo%2Fmake_template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovemo%2Fmake_template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lovemo","download_url":"https://codeload.github.com/lovemo/make_template/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lovemo%2Fmake_template/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31454197,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"ssl_error","status_checked_at":"2026-04-05T21:22:51.943Z","response_time":75,"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":["automatic","css","html","html5","js","php","stub","template","thinkphp","thinkphp5"],"created_at":"2024-11-07T09:36:05.610Z","updated_at":"2026-04-05T23:32:53.245Z","avatar_url":"https://github.com/lovemo.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# make_template\n命令自动化根据make/stubs中的模板文件生成php_controller/php_model/html/css/js规范化文件代码\n\n# core code\n```php\n#!/usr/bin/env php\n\u003c?php\n/**\n * 命令自动化根据make/stubs中的模板文件生成php_controller/php_model/html/css/js规范化文件代码\n */\nheader('content-type:text/html;charset=utf-8');\n\nrequire_once 'yw_base.php';\n\nrequire_once __DIR__ . '/' . 'Validator.php';\nrequire_once __DIR__ . '/' . 'Dispatcher.php';\nrequire_once __DIR__ . '/' . 'Prompter.php';\nrequire_once __DIR__ . '/' . 'App.php';\n\n\n// 验证参数\nValidator::valid($argv);\n\n// 提示选项\nPrompter::prompt();\n\n// 分发参数\nDispatcher::dispatch();\n\n// 初始化\nApp::init();\n\n// 配置参数\nApp::configure();\n\n// 执行\nApp::run();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flovemo%2Fmake_template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flovemo%2Fmake_template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flovemo%2Fmake_template/lists"}