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)1108.1k↓41.5%42MITPHP

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 1mo 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 88% 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

2378d 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

[hwi/oauth-bundle

Support for authenticating users using both OAuth1.0a and OAuth2 in Symfony.

2.4k21.5M69](/packages/hwi-oauth-bundle)[simplesamlphp/saml2

SAML2 PHP library from SimpleSAMLphp

30317.2M40](/packages/simplesamlphp-saml2)[web-auth/webauthn-lib

FIDO2/Webauthn Support For PHP

1225.3M72](/packages/web-auth-webauthn-lib)[stevenmaguire/oauth2-salesforce

Salesforce OAuth 2.0 Client Provider for The PHP League OAuth2-Client

311.6M3](/packages/stevenmaguire-oauth2-salesforce)[genesis-global/salesforce-bundle

Symfony bundle that provides OAuth2 authentication and exposes Salesforce REST API methods in OOP friendly way.

1280.3k](/packages/genesis-global-salesforce-bundle)

PHPackages © 2026

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