{"id":20284715,"url":"https://github.com/dashxhq/dashx-php","last_synced_at":"2026-06-29T15:31:19.412Z","repository":{"id":44989323,"uuid":"510284657","full_name":"dashxhq/dashx-php","owner":"dashxhq","description":"DashX SDK for PHP","archived":false,"fork":false,"pushed_at":"2024-01-24T13:58:31.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2024-04-25T12:21:48.139Z","etag":null,"topics":["ab-testing","admin-panel","analytics","automation","billing","cms","feature-flags","messaging","notifications","php"],"latest_commit_sha":null,"homepage":"https://docs.dashx.com/developer","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/dashxhq.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}},"created_at":"2022-07-04T09:00:19.000Z","updated_at":"2023-01-15T04:37:22.000Z","dependencies_parsed_at":"2023-10-16T22:29:54.289Z","dependency_job_id":"c8cf0b5c-c094-4ca4-b324-cb640dcfda7f","html_url":"https://github.com/dashxhq/dashx-php","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dashxhq/dashx-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashxhq%2Fdashx-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashxhq%2Fdashx-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashxhq%2Fdashx-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashxhq%2Fdashx-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dashxhq","download_url":"https://codeload.github.com/dashxhq/dashx-php/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashxhq%2Fdashx-php/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34933498,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-29T02:00:05.398Z","response_time":58,"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":["ab-testing","admin-panel","analytics","automation","billing","cms","feature-flags","messaging","notifications","php"],"created_at":"2024-11-14T14:21:16.130Z","updated_at":"2026-06-29T15:31:19.394Z","avatar_url":"https://github.com/dashxhq.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cbr /\u003e\n    \u003ca href=\"https://dashx.com\"\u003e\u003cimg src=\"https://raw.githubusercontent.com/dashxhq/brand-book/master/assets/logo-black-text-color-icon@2x.png\" alt=\"DashX\" height=\"40\" /\u003e\u003c/a\u003e\n    \u003cbr /\u003e\n    \u003cbr /\u003e\n    \u003cstrong\u003eYour All-in-One Product Stack\u003c/strong\u003e\n\u003c/p\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003ch4\u003e\n    \u003ca href=\"https://dashx.com\"\u003eWebsite\u003c/a\u003e\n    \u003cspan\u003e | \u003c/span\u003e\n    \u003ca href=\"https://dashxdemo.com\"\u003eDemos\u003c/a\u003e\n    \u003cspan\u003e | \u003c/span\u003e\n    \u003ca href=\"https://docs.dashx.com/developer\"\u003eDocumentation\u003c/a\u003e\n  \u003c/h4\u003e\n\u003c/div\u003e\n\n\u003cbr /\u003e\n\n# dashx-php\n\n_DashX SDK for PHP (Experimental)_\n\n## Installation\n\n## Usage\n```php\n# include composer autoload\nrequire 'vendor/autoload.php';\n\n# import the DashX Client Class\nuse Dashx\\Php\\Client;\n\n# create DashX instance\n$dashx = new Client(\n    'DASHX_PUBLIC_KEY',\n    'DASHX_PRIVATE_KEY',\n    'DASHX_TARGET_ENVIRONMENT',\n    'DASHX_URI'\n);\n\n$dashx-\u003edeliver('email/forgot-password', [\n    'to' =\u003e 'youremail@example.com',\n    'data' =\u003e [\n        'token' =\u003e 'tokenvalue'\n        // ... rest of data payload\n    ]\n]);\n```\n\n## Integration with Laravel\n\nTo integrate DashX with Laravel, run the following artisan command to publish the configuration file:\n\n```bash\nphp artisan vendor:publish --provider=\"Dashx\\Php\\Laravel\\DashxServiceProvider\"\n```\n\nAdd DashX environment variables with values:\n\n```bash\nDASHX_URI=\nDASHX_PUBLIC_KEY=\nDASHX_PRIVATE_KEY=\nDASHX_TARGET_ENVIROMENT=\n```\n\n## Usage with Laravel\n\n```php\nuse DashX;\n\nDashX::deliver('email/forgot-password', [\n    'to' =\u003e 'youremail@example.com',\n    'data' =\u003e [\n        'token' =\u003e 'tokenvalue'\n        // ... rest of data payload\n    ]\n]);\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdashxhq%2Fdashx-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdashxhq%2Fdashx-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdashxhq%2Fdashx-php/lists"}