{"id":31698764,"url":"https://github.com/codemonster-ru/ssr-bridge","last_synced_at":"2026-01-20T16:41:55.613Z","repository":{"id":316243449,"uuid":"1062543743","full_name":"codemonster-ru/ssr-bridge","owner":"codemonster-ru","description":"A universal PHP bridge for interacting with Node.js SSR services (locally or via HTTP)","archived":false,"fork":false,"pushed_at":"2025-09-23T12:46:47.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-23T14:44:35.361Z","etag":null,"topics":["annabel","bridge","framework-integration","frontend-integration","integration","laravel","nodejs","php","react","react-ssr","server-side-rendering","solid","solid-ssr","ssr","svelte","svelte-ssr","symfony","vue","vue-ssr"],"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/codemonster-ru.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-23T11:53:50.000Z","updated_at":"2025-09-23T12:43:56.000Z","dependencies_parsed_at":"2025-09-23T14:44:37.316Z","dependency_job_id":null,"html_url":"https://github.com/codemonster-ru/ssr-bridge","commit_stats":null,"previous_names":["codemonster-ru/ssr-bridge"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/codemonster-ru/ssr-bridge","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemonster-ru%2Fssr-bridge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemonster-ru%2Fssr-bridge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemonster-ru%2Fssr-bridge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemonster-ru%2Fssr-bridge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codemonster-ru","download_url":"https://codeload.github.com/codemonster-ru/ssr-bridge/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codemonster-ru%2Fssr-bridge/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000701,"owners_count":26082805,"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-10-08T02:00:06.501Z","response_time":56,"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":["annabel","bridge","framework-integration","frontend-integration","integration","laravel","nodejs","php","react","react-ssr","server-side-rendering","solid","solid-ssr","ssr","svelte","svelte-ssr","symfony","vue","vue-ssr"],"created_at":"2025-10-08T19:10:41.992Z","updated_at":"2025-10-08T19:10:48.840Z","avatar_url":"https://github.com/codemonster-ru.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SSR Bridge\n\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/codemonster-ru/ssr-bridge.svg?style=flat-square)](https://packagist.org/packages/codemonster-ru/ssr-bridge)\n[![Total Downloads](https://img.shields.io/packagist/dt/codemonster-ru/ssr-bridge.svg?style=flat-square)](https://packagist.org/packages/codemonster-ru/ssr-bridge)\n[![License](https://img.shields.io/packagist/l/codemonster-ru/ssr-bridge.svg?style=flat-square)](https://packagist.org/packages/codemonster-ru/ssr-bridge)\n[![Tests](https://github.com/codemonster-ru/ssr-bridge/actions/workflows/tests.yml/badge.svg)](https://github.com/codemonster-ru/ssr-bridge/actions/workflows/tests.yml)\n\nA universal PHP bridge for interacting with **Node.js SSR services**.\n\n## 📦 Installation\n\n```bash\ncomposer require codemonster-ru/ssr-bridge\n```\n\n## 🚀 Usage\n\n```php\nuse Codemonster\\Ssr\\SsrBridge;\n\n// Local mode (Node.js runs directly)\n$bridge = new SsrBridge('local', null, __DIR__.'/../node_modules/ssr-service/dist/ssr.js');\n$html = $bridge-\u003erender('Home', ['message' =\u003e 'Hello']);\n\n// HTTP mode (connecting to the remote SSR API)\n$bridge = new SsrBridge('http', 'http://127.0.0.1:3000');\n$html = $bridge-\u003erender('Home', ['message' =\u003e 'Hello']);\n```\n\n## ✨ Features\n\n-   Local SSR execution via the `node` process\n-   Connection to a remote HTTP SSR server API\n-   Easy integration into any PHP project (Laravel, Symfony, Annabel, etc.)\n\n## 🧪 Testing\n\nYou can run tests with the command:\n\n```bash\ncomposer test\n```\n\n## 👨‍💻 Author\n\n[**Kirill Kolesnikov**](https://github.com/KolesnikovKirill)\n\n## 📜 License\n\n[MIT](https://github.com/codemonster-ru/ssr-bridge/blob/main/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodemonster-ru%2Fssr-bridge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodemonster-ru%2Fssr-bridge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodemonster-ru%2Fssr-bridge/lists"}