{"id":37233615,"url":"https://github.com/chareka-legacy/hyper","last_synced_at":"2026-01-15T03:54:57.792Z","repository":{"id":44194216,"uuid":"221207931","full_name":"chareka-legacy/hyper","owner":"chareka-legacy","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-11T18:36:54.000Z","size":726,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-02T04:35:04.391Z","etag":null,"topics":["fast","framework","hyper","mvc","php","php-mvc","php-query-builder","php-routing","twig-templates"],"latest_commit_sha":null,"homepage":null,"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/chareka-legacy.png","metadata":{"files":{"readme":"README.MD","changelog":"CHANGELOG","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":"2019-11-12T12:01:47.000Z","updated_at":"2025-01-10T16:28:06.000Z","dependencies_parsed_at":"2024-11-11T19:27:55.479Z","dependency_job_id":"ce5d345d-2ed5-4dc6-8165-38b6a73f8090","html_url":"https://github.com/chareka-legacy/hyper","commit_stats":{"total_commits":19,"total_committers":2,"mean_commits":9.5,"dds":"0.052631578947368474","last_synced_commit":"1ded4e1df9216144200065c7f48a3a2347c930c2"},"previous_names":["chareka-legacy/hyper","joecharika/hyper"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/chareka-legacy/hyper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chareka-legacy%2Fhyper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chareka-legacy%2Fhyper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chareka-legacy%2Fhyper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chareka-legacy%2Fhyper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chareka-legacy","download_url":"https://codeload.github.com/chareka-legacy/hyper/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chareka-legacy%2Fhyper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28419272,"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":["fast","framework","hyper","mvc","php","php-mvc","php-query-builder","php-routing","twig-templates"],"created_at":"2026-01-15T03:54:56.420Z","updated_at":"2026-01-15T03:54:57.780Z","avatar_url":"https://github.com/chareka-legacy.png","language":"PHP","readme":"# Hyper Documentation v1.0.12\n-- \n## Getting started\n\n## TODOs\n- Secure `web.json`\n\n#### Create new Hyper app: index.php\n###### Import ``HyperApp`` class:\n```php\nuse Hyper\\Application\\HyperApp;\n```\n###### Import hyper file to enable most functions using ``require``\n```php\nrequire 'hyper/index.php';\n```\n###### Create and run the application\n```php\nnew HyperApp(\"\u003cName of your app\u003e\", \"auto\");\n```\n###### Run app with custom sections\n```php\n$customSections = [\"hello-section\"];\nnew HyperApp(\"\u003cName of your app\u003e\", \"auto\", $customSections);\n```\n\n###### Run app with manual routing\n```php\n//TODO: work on manual routing\n```\n\n###### Complete index.php\n```php\nuse Hyper\\Application\\HyperApp;\n\nrequire 'Hyper/Index.php';\n\nnew HyperApp(\"\u003cName of your app\u003e\", \"auto\");\n```\n###### Usage:\n```html\n//Put section where you want it to be rendered. Usually layout.php\n\u003ch-section type=\"hello-section\"\u003e\u003c/h-section\u003e\n\n//Put section content from other views\n\u003ch-section hello-section\u003e\u003c/h-section\u003e\n```\n\n##### Config\nHyper configurations are stored in ``web.json`` or your own ``JSON`` file\n\n###### Database connection\nTo configure a database, add a ``db`` object in the config file ``web.json``\n\nFor example:\n```json\n{\n  \"db\": {\n    \"host\": \"localhost\",\n    \"port\": 80,\n    \"database\": \"\u003cdbName\u003e\",\n    \"username\": \"root\",\n    \"password\": \"\"\n  }\n}\n```\n###### Debug\nTo turn on/off debug mode set ``debug`` property to ``json``\nFor example:\n```json\n{\n  \"debug\": true\n}\n```\n###### Custom error pages","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchareka-legacy%2Fhyper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchareka-legacy%2Fhyper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchareka-legacy%2Fhyper/lists"}