PHPackages                             genesis-global/salesforce - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. genesis-global/salesforce

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

genesis-global/salesforce
=========================

Provides OAuth2 authentication and exposes Salesforce REST API methods in OOP friendly way.

1.1.9(6y ago)1110.3k↓48.8%52MITPHP

Since May 22Pushed 6y ago6 watchersCompare

[ Source](https://github.com/genesis-global/salesforce)[ Packagist](https://packagist.org/packages/genesis-global/salesforce)[ RSS](/packages/genesis-global-salesforce/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (4)Versions (19)Used By (2)

Salesforce
==========

[](#salesforce)

Salesforce REST PHP client

How to use:

```
$config = [
    'authentication' => [
        'endpoint' => 'https://login.salesforce.com',
        'client_id' => 'id',
        'client_secret' => 'secret',
        'username' => 'name',
        'password' => 'pass',
        'security_token' => '2e2d3233434'
    ],
    'rest' => [
        'version' => 'v35.0',
        'endpoint' => 'http://endpoint'
    ]
];
$salesforceClient = new GenesisGlobal\Salesforce\Client\SalesforceClientFactory($config);
$query = 'SELECT Id, Name, Code__c, Active__c FROM Exclusive__c';
$response = $salesforceClient->get('query', $query);

```

> If you’re verifying authentication on a sandbox organization, use “test.salesforce.com” instead of “login.salesforce.com”.

Make sure to reset your token to get first security\_token.

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity34

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 50% 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 ~53 days

Recently: every ~214 days

Total

18

Last Release

2424d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/903254?v=4)[SiliconMind](/maintainers/SiliconMind)[@SiliconMind](https://github.com/SiliconMind)

---

Top Contributors

[![coderaf](https://avatars.githubusercontent.com/u/7767857?v=4)](https://github.com/coderaf "coderaf (1 commits)")[![SiliconMind](https://avatars.githubusercontent.com/u/903254?v=4)](https://github.com/SiliconMind "SiliconMind (1 commits)")

---

Tags

salesforce

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/genesis-global-salesforce/health.svg)

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

###  Alternatives

[symfony/cache

Provides extended PSR-6, PSR-16 (and tags) implementations

4.2k373.5M3.3k](/packages/symfony-cache)[google/auth

Google Auth Library for PHP

1.4k294.2M220](/packages/google-auth)[matomo/matomo

Matomo is the leading Free/Libre open analytics platform

21.7k38.9k](/packages/matomo-matomo)[simplesamlphp/simplesamlphp

A PHP implementation of a SAML 2.0 service provider and identity provider.

1.1k13.0M218](/packages/simplesamlphp-simplesamlphp)[simplesamlphp/saml2

SAML2 PHP library from SimpleSAMLphp

30418.0M43](/packages/simplesamlphp-saml2)[web-auth/webauthn-lib

FIDO2/Webauthn Support For PHP

12310.5M135](/packages/web-auth-webauthn-lib)

PHPackages © 2026

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