{"id":19327705,"url":"https://github.com/antidot-framework/react-socket-server","last_synced_at":"2025-10-15T20:25:18.646Z","repository":{"id":56948784,"uuid":"199174019","full_name":"antidot-framework/react-socket-server","owner":"antidot-framework","description":"Antidot Framework WAMP protocol based react socket server","archived":false,"fork":false,"pushed_at":"2021-01-30T12:42:37.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"1.x.x","last_synced_at":"2025-02-24T06:33:05.275Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/antidot-framework.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-07-27T14:19:33.000Z","updated_at":"2021-01-30T12:42:39.000Z","dependencies_parsed_at":"2022-08-21T08:20:14.205Z","dependency_job_id":null,"html_url":"https://github.com/antidot-framework/react-socket-server","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/antidot-framework/react-socket-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antidot-framework%2Freact-socket-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antidot-framework%2Freact-socket-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antidot-framework%2Freact-socket-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antidot-framework%2Freact-socket-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/antidot-framework","download_url":"https://codeload.github.com/antidot-framework/react-socket-server/tar.gz/refs/heads/1.x.x","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/antidot-framework%2Freact-socket-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278572004,"owners_count":26008686,"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-06T02:00:05.630Z","response_time":65,"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":[],"created_at":"2024-11-10T02:18:12.930Z","updated_at":"2025-10-06T06:51:40.404Z","avatar_url":"https://github.com/antidot-framework.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Antidot React PHP Socket Server\n\n[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/antidot-framework/react-socket-server/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/antidot-framework/react-socket-server/?branch=master)\n[![Code Coverage](https://scrutinizer-ci.com/g/antidot-framework/react-socket-server/badges/coverage.png?b=master)](https://scrutinizer-ci.com/g/antidot-framework/react-socket-server/?branch=master)\n[![Build Status](https://scrutinizer-ci.com/g/antidot-framework/react-socket-server/badges/build.png?b=master)](https://scrutinizer-ci.com/g/antidot-framework/react-socket-server/build-status/master)\n[![Code Intelligence Status](https://scrutinizer-ci.com/g/antidot-framework/react-socket-server/badges/code-intelligence.svg?b=master)](https://scrutinizer-ci.com/code-intelligence)\n\nAdapter that allows running a [WAMP protocol](https://wamp-proto.org) [socket server](http://socketo.me/docs/wamp) in \n[Antidot Framework Applications](https://github.com/antidot-framework/antidot-starter).\n\n## Installation:\n\nUsing [composer package manager](https://getcomposer.org/download/)\n\n````bash\ncomposer require antidot-fw/react-socket-server:dev-master\n````\n\nWe have to add the config provider to the framework configuration to load the necessary dependencies, we make sure to \nload it after the provider of the framework itself.\n\n````php\n\u003c?php\n// config/config.php\ndeclare(strict_types=1);\n\n$aggregator = new ConfigAggregator([\n    // ... other config providers\n    \\Antidot\\Container\\Config\\ConfigProvider::class, // Framework default config provider\n    \\Antidot\\React\\Socket\\Container\\Config\\ConfigProvider::class, // React Application config provider\n    new PhpFileProvider(realpath(__DIR__).'/services/{{,*.}prod,{,*.}local,{,*.}dev}.php'),\n    new YamlConfigProvider(realpath(__DIR__).'/services/{{,*.}prod,{,*.}local,{,*.}dev}.yaml'),\n    new ArrayProvider($cacheConfig),\n], $cacheConfig['config_cache_path']);\n\nreturn $aggregator-\u003egetMergedConfig();\n````\n\n## Running socket server\n\nWe just need to run a console command and we'll have the server up and running.\n\n````bash\nbin/console serve:socket:wamp\n````\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantidot-framework%2Freact-socket-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fantidot-framework%2Freact-socket-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fantidot-framework%2Freact-socket-server/lists"}