PHPackages                             paravibe/salesforce-wrapper - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. paravibe/salesforce-wrapper

ActiveLibrary[API Development](/categories/api)

paravibe/salesforce-wrapper
===========================

Salesforce API wrapper for PHP

1.1.6(1y ago)09.2k↑33.3%1MITPHPPHP ^8.0 || ^7.0CI failing

Since Jul 10Pushed 1y agoCompare

[ Source](https://github.com/paravibe/salesforce-wrapper)[ Packagist](https://packagist.org/packages/paravibe/salesforce-wrapper)[ RSS](/packages/paravibe-salesforce-wrapper/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)Dependencies (2)Versions (7)Used By (0)

Salesforce REST API PHP wrapper
===============================

[](#salesforce-rest-api-php-wrapper)

[![Total Downloads](https://camo.githubusercontent.com/b95862b893c320ea968cbacf51f2ab3135c3f6f3c4f642b0f28d91ec13de3ca8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f70617261766962652f73616c6573666f7263652d777261707065722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/paravibe/salesforce-wrapper)

Installation
------------

[](#installation)

`composer require paravibe/salesforce-wrapper`

How to use
----------

[](#how-to-use)

### Initialize client

[](#initialize-client)

`$client = new \Salesforce\Client($accessToken, $instanceUrl, $api);`

Where `$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](https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/intro_understanding_authentication.htm)
`$instanceUrl` is a string that was returned during authorization procedure
`$api` is an API version to use. E.g. `v46.0`

Then you can use any method Salesforce supports by passing it into `createRequest`:

### GET/DELETE methods

[](#getdelete-methods)

```
$request = $client->createRequest('GET', 'sobjects');
$response = $request->execute()->getDecodedBody();
```

### POST/PATCH methods

[](#postpatch-methods)

```
$request = $client->createRequest('POST', 'sobjects/SOME_OBJECT');
$request->attachBody(array('field' => 'value'));
$response = $request->execute()->getDecodedBody();
```

###  Health Score

39

—

LowBetter than 85% of packages

Maintenance42

Moderate activity, may be stable

Popularity22

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor1

Top contributor holds 77.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~398 days

Recently: every ~468 days

Total

6

Last Release

504d ago

PHP version history (2 changes)1.0PHP ^5.6 || ^7.0

1.1.2PHP ^8.0 || ^7.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/ee489c5ed8fc6fac1e81b1b7688a37731ec978f5dccc87e4f87c5233c2197709?d=identicon)[paravibe](/maintainers/paravibe)

---

Top Contributors

[![paravibe](https://avatars.githubusercontent.com/u/1899854?v=4)](https://github.com/paravibe "paravibe (7 commits)")[![hugronaphor](https://avatars.githubusercontent.com/u/2912032?v=4)](https://github.com/hugronaphor "hugronaphor (2 commits)")

---

Tags

salesforce-apisalesforce-rest-apiphpapisalesforce

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/paravibe-salesforce-wrapper/health.svg)

```
[![Health](https://phpackages.com/badges/paravibe-salesforce-wrapper/health.svg)](https://phpackages.com/packages/paravibe-salesforce-wrapper)
```

###  Alternatives

[openai-php/laravel

OpenAI PHP for Laravel is a supercharged PHP API client that allows you to interact with the Open AI API

3.7k7.6M74](/packages/openai-php-laravel)[hubspot/api-client

Hubspot API client

23414.2M16](/packages/hubspot-api-client)[theodo-group/llphant

LLPhant is a library to help you build Generative AI applications.

1.5k311.5k5](/packages/theodo-group-llphant)[mailchimp/transactional

458.9M16](/packages/mailchimp-transactional)[resend/resend-php

Resend PHP library.

564.7M21](/packages/resend-resend-php)[checkout/checkout-sdk-php

Checkout.com SDK for PHP

553.3M7](/packages/checkout-checkout-sdk-php)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
