{"id":40938663,"url":"https://github.com/paravibe/salesforce-wrapper","last_synced_at":"2026-01-22T04:31:35.881Z","repository":{"id":57035892,"uuid":"191894086","full_name":"paravibe/salesforce-wrapper","owner":"paravibe","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-20T12:26:04.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2024-12-20T13:33:36.712Z","etag":null,"topics":["salesforce-api","salesforce-rest-api"],"latest_commit_sha":null,"homepage":null,"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/paravibe.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":"2019-06-14T07:11:14.000Z","updated_at":"2024-12-20T12:25:59.000Z","dependencies_parsed_at":"2024-12-20T13:31:53.574Z","dependency_job_id":"a5834b43-9b43-4b1d-83b8-19aeb0e70a92","html_url":"https://github.com/paravibe/salesforce-wrapper","commit_stats":{"total_commits":6,"total_committers":2,"mean_commits":3.0,"dds":0.5,"last_synced_commit":"5a0c9ed64e7331f9137de68f05472adc888058a5"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/paravibe/salesforce-wrapper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paravibe%2Fsalesforce-wrapper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paravibe%2Fsalesforce-wrapper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paravibe%2Fsalesforce-wrapper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paravibe%2Fsalesforce-wrapper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/paravibe","download_url":"https://codeload.github.com/paravibe/salesforce-wrapper/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/paravibe%2Fsalesforce-wrapper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28654616,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-22T01:17:37.254Z","status":"online","status_checked_at":"2026-01-22T02:00:07.137Z","response_time":144,"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":["salesforce-api","salesforce-rest-api"],"created_at":"2026-01-22T04:31:35.256Z","updated_at":"2026-01-22T04:31:35.873Z","avatar_url":"https://github.com/paravibe.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Salesforce REST API PHP wrapper\n\n[![Total Downloads](https://img.shields.io/packagist/dt/paravibe/salesforce-wrapper.svg?style=flat-square)](https://packagist.org/packages/paravibe/salesforce-wrapper)\n\n## Installation\n`composer require paravibe/salesforce-wrapper`\n\n## How to use\n\n### Initialize client\n`$client = new \\Salesforce\\Client($accessToken, $instanceUrl, $api);`\n\nWhere `$accessToken` is a token retrived during authorization procedure - https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/intro_understanding_authentication.htm  \n`$instanceUrl` is a string that was returned during authorization procedure  \n`$api` is an API version to use. E.g. `v46.0`  \n\nThen you can use any method Salesforce supports by passing it into `createRequest`:\n\n### GET/DELETE methods\n```php\n$request = $client-\u003ecreateRequest('GET', 'sobjects');\n$response = $request-\u003eexecute()-\u003egetDecodedBody();\n```\n### POST/PATCH methods\n```php\n$request = $client-\u003ecreateRequest('POST', 'sobjects/SOME_OBJECT');\n$request-\u003eattachBody(array('field' =\u003e 'value'));\n$response = $request-\u003eexecute()-\u003egetDecodedBody();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparavibe%2Fsalesforce-wrapper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparavibe%2Fsalesforce-wrapper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparavibe%2Fsalesforce-wrapper/lists"}