{"id":18772206,"url":"https://github.com/kyaulabs/aurora","last_synced_at":"2026-04-30T03:38:38.356Z","repository":{"id":167724626,"uuid":"474293288","full_name":"kyaulabs/aurora","owner":"kyaulabs","description":"PHP template framework for use with HTML5/AJAX.","archived":false,"fork":false,"pushed_at":"2024-10-12T05:19:17.000Z","size":109,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-19T13:54:18.689Z","etag":null,"topics":["ajax","html","html5","html5-template","html5-templates","javascript","php","php-template-engine","template","template-engine","template-framework"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kyaulabs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"kyau"}},"created_at":"2022-03-26T08:57:20.000Z","updated_at":"2024-10-12T05:19:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"63ab985d-59b8-484a-91d1-85c3522626d7","html_url":"https://github.com/kyaulabs/aurora","commit_stats":null,"previous_names":["kyaulabs/aurora"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kyaulabs/aurora","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyaulabs%2Faurora","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyaulabs%2Faurora/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyaulabs%2Faurora/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyaulabs%2Faurora/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kyaulabs","download_url":"https://codeload.github.com/kyaulabs/aurora/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kyaulabs%2Faurora/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32454147,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"online","status_checked_at":"2026-04-30T02:00:05.929Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["ajax","html","html5","html5-template","html5-templates","javascript","php","php-template-engine","template","template-engine","template-framework"],"created_at":"2024-11-07T19:28:09.989Z","updated_at":"2026-04-30T03:38:33.347Z","avatar_url":"https://github.com/kyaulabs.png","language":"PHP","funding_links":["https://github.com/sponsors/kyau"],"categories":[],"sub_categories":[],"readme":"# Aurora\n\n\u003cimg src=\".github/media/aurora.ans.png\" alt=\"Repository Logo\" /\u003e\n\n[https://kyaulabs.com/](https://kyaulabs.com/)\n\n[![Contributor Covenant](https://img.shields.io/badge/contributor%20covenant-2.1-4baaaa.svg?logo=open-source-initiative\u0026logoColor=4baaaa)](CODE_OF_CONDUCT.md) \u0026nbsp; [![Conventional Commits](https://img.shields.io/badge/conventional%20commits-1.0.0-fe5196?style=flat\u0026logo=conventionalcommits)](https://www.conventionalcommits.org/en/v1.0.0/) \u0026nbsp; [![GitHub](https://img.shields.io/github/license/kyaulabs/aurora?logo=creativecommons)](LICENSE) \u0026nbsp; [![Gitleaks](https://img.shields.io/badge/protected%20by-gitleaks-blue?logo=git\u0026logoColor=seagreen\u0026color=seagreen)](https://github.com/zricethezav/gitleaks)  \n[![Semantic Versioning](https://img.shields.io/github/v/release/kyaulabs/aurora?include_prereleases\u0026logo=semver\u0026sort=semver)](https://semver.org) \u0026nbsp; [![Discord](https://img.shields.io/discord/88713030895943680?logo=discord\u0026color=blue\u0026logoColor=white)](https://discord.gg/DSvUNYm)\n\n* [About](#about)\n  * [What's Included](#whats-included)\n* [Usage](#usage)\n\n## About\n\nAurora is built for rapid deployment of sites built with AJAX content loading.\nIt also attempts to use the most up-to-date HTML specifications / web standards\nin use today.\n\nThis has been created with personal use in mind and is highly tailored to the\ntypes of sites I create and run. That said, this could be easily adapted to\nanyones needs with a bit of work.\n\n### What's Included\n\n* [x] Template-based HTML header\n* [x] Resource preloading\n* [x] Subresource Integrity (SRI) enabled\n* [x] Performance Statistics\n* [x] SQL Handler\n\n## Usage\n\nTo use Aurora, one needs to either use the default HTML header template or\ncreate your own. Once finished, move Aurora into a folder above the web root\nthen create an `index.php` similar to the following:\n\n```php\n# $KYAULabs: index.php,v 1.0.0 2024/07/22 22:51:26 -0700 kyau Exp $\n\n$rus = getrusage();\nrequire_once(__DIR__ . \"/../../aurora/aurora.inc.php\");\n\n$site = new KYAULabs\\Aurora(\"index.html\", \"/cdn\", true, true);\n$site-\u003etitle = \"Website Title\";\n$site-\u003edescription = \"Full website description for search engines.\";\n$site-\u003edns = [\"cdn.domain.com\"];\n$site-\u003epreload = [\n    '/css/site.min.css' =\u003e 'style',\n    '/javascript/jquery.min.js' =\u003e 'script',\n    '/javascript/site.min.js' =\u003e 'script',\n];\n$site-\u003ecss = [\n    '../api/css/site.min.css' =\u003e '//api.domain.com/css/site.min.css',\n];\n$site-\u003ejs = [\n    '../api/javascript/jquery.min.js' =\u003e '//api.domain.com/javascript/jquery.min.js',\n    '../api/javascript/site.min.js' =\u003e '//api.domain.com/javascript/site.min.js',\n];\n$site-\u003ehtmlHeader();\n// \u003ccontent\u003e\necho \"\\t\u003cheader\u003e\u003c/header\u003e\\n\\t\u003cmain\u003e\u003c/main\u003e\\n\\t\u003cfooter\u003e\u003c/footer\u003e\\n\";\n// \u003c/content\u003e\n$site-\u003ehtmlFooter();\necho $site-\u003ecomment($rus, $_SERVER['SCRIPT_FILENAME'], true);\n```\n\nLooking over the source code can give you more insights on how to utilize Aurora.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkyaulabs%2Faurora","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkyaulabs%2Faurora","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkyaulabs%2Faurora/lists"}