{"id":21070614,"url":"https://github.com/wisembly/clearbit-php","last_synced_at":"2025-05-16T05:30:54.639Z","repository":{"id":34370082,"uuid":"38295179","full_name":"Wisembly/clearbit-php","owner":"Wisembly","description":"PHP SDK for Clearbit API (http://clearbit.com).","archived":false,"fork":false,"pushed_at":"2016-11-28T17:08:26.000Z","size":52,"stargazers_count":9,"open_issues_count":1,"forks_count":6,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-04-03T20:37:33.871Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Wisembly.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-06-30T07:44:58.000Z","updated_at":"2022-03-01T23:38:38.000Z","dependencies_parsed_at":"2022-09-14T04:20:36.900Z","dependency_job_id":null,"html_url":"https://github.com/Wisembly/clearbit-php","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wisembly%2Fclearbit-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wisembly%2Fclearbit-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wisembly%2Fclearbit-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Wisembly%2Fclearbit-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Wisembly","download_url":"https://codeload.github.com/Wisembly/clearbit-php/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254473817,"owners_count":22077181,"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":[],"created_at":"2024-11-19T18:47:36.368Z","updated_at":"2025-05-16T05:30:50.902Z","avatar_url":"https://github.com/Wisembly.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# clearbit-php\n\nPHP SDK for Clearbit API (http://clearbit.com).\n\nThis SDK is NOT official, heavily inspired by [docker-php](https://github.com/docker-php/docker-php).\n\nWe developed and maintain this library for our own usage and released it open source (see LICENCE.md) if it could help.\n\nClearbit and its API belongs to Clearbit.\n\n## Install\n\nThis client use [httplug](http://httplug.io/) for http client. Please\n[select](http://docs.php-http.org/en/latest/httplug/users.html) a client for\nyour application and [select](http://docs.php-http.org/en/latest/message/message-factory.html) a MessageFactory.\n\nExample with guzzle6 as client and guzzlehttp as message factory:\n\n```\n\"wisembly/clearbit-php\": \"^2.0\",\n\"php-http/guzzle6-adapter\": \"^1.0\",\n\"guzzlehttp/psr7\": \"^1.2\"\n```\n\n## Basic usage\n\n\n```php\n\u003c?php\n\nrequire_once 'vendor/autoload.php';\n\nuse Clearbit\\Clearbit;\n\n$clearbit = Clearbit::create($token);\n$combined = $clearbit-\u003egetCombined('foo@bar.com');\n\nvar_dump($combined-\u003egetPerson());\nvar_dump($combined-\u003egetCompany());\n```\n\n## Testing\n\nRun `bin/phpunit`\n\n\n## Resources\n\nResources this API supports:\n\n| Uri                                                                               | Methods   | Comments          |\n| ---------------------------------------------------------------------             | --------- | ---------         |\n| https://person.clearbit.com/v2/combined/find?email=:email                              | GET       |                   |\n## Developer\n\nThis client is build using [jane-openapi](https://github.com/jolicode/jane-openapi).\nTo generate the classes:\n\n```\n./vendor/bin/jane-openapi generate combined-swagger.json Clearbit\\\\Generated generated\n```\n\n## Licence\n\nSee LICENCE file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwisembly%2Fclearbit-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwisembly%2Fclearbit-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwisembly%2Fclearbit-php/lists"}