{"id":26932522,"url":"https://github.com/themeplate/bridge","last_synced_at":"2026-02-27T14:05:34.162Z","repository":{"id":281239769,"uuid":"944549992","full_name":"ThemePlate/Bridge","owner":"ThemePlate","description":"A connection point for frontend libraries","archived":false,"fork":false,"pushed_at":"2025-04-01T11:22:48.000Z","size":84,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-25T01:47:54.118Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ThemePlate.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,"zenodo":null}},"created_at":"2025-03-07T14:46:27.000Z","updated_at":"2025-04-01T11:22:51.000Z","dependencies_parsed_at":"2025-03-07T19:31:44.069Z","dependency_job_id":"bedb3d92-b902-4886-bdbd-8e2513f8c9d9","html_url":"https://github.com/ThemePlate/Bridge","commit_stats":null,"previous_names":["themeplate/bridge"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/ThemePlate/Bridge","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThemePlate%2FBridge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThemePlate%2FBridge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThemePlate%2FBridge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThemePlate%2FBridge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ThemePlate","download_url":"https://codeload.github.com/ThemePlate/Bridge/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ThemePlate%2FBridge/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29898917,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-27T12:09:13.686Z","status":"ssl_error","status_checked_at":"2026-02-27T12:09:13.282Z","response_time":57,"last_error":"SSL_read: 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":"2025-04-02T08:27:03.747Z","updated_at":"2026-02-27T14:05:34.129Z","avatar_url":"https://github.com/ThemePlate.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ThemePlate Bridge\n\n## Usage\n\n```php\n$router = new ThemePlate\\Bridge\\Router( 'test' );\n\n// `\u003cWP_HOME\u003e/test/route`\n$router-\u003emap(\n\t'route',\n\tfunction (): bool {\n\t\t// ...\n\t}\n);\n\n// `\u003cWP_HOME\u003e/test/[path]`\n$router-\u003eany(\n\t'[path]',\n\tfunction ( string $path ): bool {\n\t\t// $path = [path]\n\t}\n);\n\n// `\u003cWP_HOME\u003e/test/[filename]`\n$router-\u003eload( new Loader( __DIR__ . '/templates' ) );\n// only handles .php files\n$router-\u003eload( new Loader( __DIR__ . '/templates', 'action' ) );\n// only handles .action.php files\n\nadd_action( 'init', array( $router, 'init' ) );\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthemeplate%2Fbridge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthemeplate%2Fbridge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthemeplate%2Fbridge/lists"}