{"id":19541327,"url":"https://github.com/wingify/vwo-php-sdk-example","last_synced_at":"2025-07-22T08:06:15.580Z","repository":{"id":66139226,"uuid":"199625460","full_name":"wingify/vwo-php-sdk-example","owner":"wingify","description":"Provides a basic demo of how server-side works with VWO PHP SDK","archived":false,"fork":false,"pushed_at":"2023-10-04T10:18:22.000Z","size":43,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":20,"default_branch":"master","last_synced_at":"2025-02-26T05:18:22.621Z","etag":null,"topics":["php","php-sdk","sdk-example","server-side","server-side-rendering","vwo"],"latest_commit_sha":null,"homepage":"https://developers.vwo.com/docs/fullstack-overview","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wingify.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","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-07-30T10:00:04.000Z","updated_at":"2023-10-04T10:18:28.000Z","dependencies_parsed_at":"2025-01-08T18:44:05.640Z","dependency_job_id":"ef18a080-5b3f-42b9-be87-74a40847b44c","html_url":"https://github.com/wingify/vwo-php-sdk-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/wingify/vwo-php-sdk-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wingify%2Fvwo-php-sdk-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wingify%2Fvwo-php-sdk-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wingify%2Fvwo-php-sdk-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wingify%2Fvwo-php-sdk-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wingify","download_url":"https://codeload.github.com/wingify/vwo-php-sdk-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wingify%2Fvwo-php-sdk-example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260920167,"owners_count":23082927,"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","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":["php","php-sdk","sdk-example","server-side","server-side-rendering","vwo"],"created_at":"2024-11-11T03:09:53.890Z","updated_at":"2025-06-20T09:38:26.940Z","avatar_url":"https://github.com/wingify.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"## VWO PHP SDK Example\n\n[vwo-php-sdk](https://github.com/wingify/vwo-php-sdk) allows you to A/B Test your Website at server-side.\n\nThis repository provides a basic demo of how server-side works with VWO PHP SDK.\n\n### Requirements\n\n- PHP 5.6.0 or later\n\n### Documentation\n\nRefer [VWO Official Server-side Documentation](https://developers.vwo.com/reference#fullstack-introduction)\n\n### Scripts\n\n1. Install dependencies\n\n```\ncomposer install\n```\n\n2. Update configuration based on your setup inside `config.php`\n\n```php\nconst ACCOUNT_ID = '';\nconst SDK_KEY = '';\n\nconst AB_CAMPAIGN_KEY = '';\nconst AB_CAMPAIGN_GOAL_IDENTIFIER = '';\n\nconst FEATURE_ROLLOUT_CAMPAIGN_KEY = '';\nconst FEATURE_TEST_CAMPAIGN_KEY = '';\n\nconst TAG_KEY = '';\nconst TAG_VALUE = '';\n```\n\n3. Run application\n\n```\nphp -S localhost:1112 -t .\n\n//open url without setttings-file being cached\nhttp://localhost:1112\n\n//open url with setttings-file being cached\nhttp://localhost:1112?cache=1\n```\n\n4. For development\n\n```\ncomposer run-script start\n```\n\n## License\n\n[Apache License, Version 2.0](https://github.com/wingify/vwo-php-sdk-example/blob/master/LICENSE)\n\nCopyright 2019-2020 Wingify Software Pvt. Ltd.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwingify%2Fvwo-php-sdk-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwingify%2Fvwo-php-sdk-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwingify%2Fvwo-php-sdk-example/lists"}