{"id":20376537,"url":"https://github.com/blakepro/template-class-php","last_synced_at":"2026-05-07T13:37:12.005Z","repository":{"id":62495050,"uuid":"193307928","full_name":"BlakePro/template-class-php","owner":"BlakePro","description":"A simple class to create HTML PHP from JSON file","archived":false,"fork":false,"pushed_at":"2022-09-10T02:31:16.000Z","size":296,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-12T12:08:44.079Z","etag":null,"topics":["json","mysql","php"],"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/BlakePro.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":"2019-06-23T04:55:52.000Z","updated_at":"2023-01-07T00:37:02.000Z","dependencies_parsed_at":"2022-11-02T11:18:14.131Z","dependency_job_id":null,"html_url":"https://github.com/BlakePro/template-class-php","commit_stats":null,"previous_names":[],"tags_count":46,"template":false,"template_full_name":null,"purl":"pkg:github/BlakePro/template-class-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlakePro%2Ftemplate-class-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlakePro%2Ftemplate-class-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlakePro%2Ftemplate-class-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlakePro%2Ftemplate-class-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BlakePro","download_url":"https://codeload.github.com/BlakePro/template-class-php/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BlakePro%2Ftemplate-class-php/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266586839,"owners_count":23952195,"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":["json","mysql","php"],"created_at":"2024-11-15T01:38:20.388Z","updated_at":"2026-05-07T13:37:11.975Z","avatar_url":"https://github.com/BlakePro.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Template Class (PHP / HTML)\n\nA simple class to create HTML via PHP and template via JSON file\n\n# Install (via global Composer)\n```\ncomposer require blakepro/template --no-cache\n```\n\n# Install (via Composer.phar)\n```\nphp composer.phar require blakepro/template\n```\n\n# Install Composer and Class (via Python)\n```\ncurl -o installer.py https://raw.githubusercontent.com/BlakePro/Template/master/installer.py -H 'Cache-Control: no-cache' ; python installer.py;\n```\n\n# Update (via Composer)\n```\nphp composer.phar update blakepro/template --no-cache\n```\nNot resolved packages use\n```\nphp composer.phar update blakepro/template --ignore-platform-reqs\n```\n\n# Usage PHP file\n```\n\u003c?php require __DIR__ . '/vendor/autoload.php';\n\n//HTML\n$html = new blakepro\\Template\\Html();\n\n//DATABASE\n$pdo = new blakepro\\Template\\Sql(['host' =\u003e '', 'name' =\u003e '', 'user' =\u003e '', 'password' =\u003e '']);\n\n//UTILITIES\n$util = new blakepro\\Template\\Utilities(['encryption_key' =\u003e '']);\n\n```\n#  Documentation / Wiki\n\n[https://github.com/BlakePro/LibraryTemplatePHP/wiki](https://github.com/BlakePro/LibraryTemplatePHP/wiki)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblakepro%2Ftemplate-class-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fblakepro%2Ftemplate-class-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fblakepro%2Ftemplate-class-php/lists"}