PHPackages                             catchdigital/salesforce\_rest - 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. catchdigital/salesforce\_rest

ActiveDrupal-module[API Development](/categories/api)

catchdigital/salesforce\_rest
=============================

A Drupal module that provides RESTFUL querying capabilities to Salesforce.

0.5.4(7y ago)01.9k1PHP

Since Feb 28Pushed 7y ago4 watchersCompare

[ Source](https://github.com/catchdigital/salesforce_rest)[ Packagist](https://packagist.org/packages/catchdigital/salesforce_rest)[ RSS](/packages/catchdigital-salesforce-rest/feed)WikiDiscussions develop Synced 2mo ago

READMEChangelogDependencies (2)Versions (15)Used By (0)

Salesforce REST
===============

[](#salesforce-rest)

Description
-----------

[](#description)

A Drupal module that provides RESTFUL querying capabilities to Salesforce.

Configuration
-------------

[](#configuration)

This module uses Drupal's configuration override system, the configuration is not exported and instead set at runtime. The configuration schema that is provided with this module is only intended as documentation.

The configuration must be included within the settings.php and declared as any other configuration override:

```
$config['rest_client']['oauth_base_uri'] = 'http://test.salesforce.com'
$config['rest_client']['oauth_username'] = ''
$config['rest_client']['oauth_password'] = ''
$config['rest_client']['oauth_client_id'] = ''
$config['rest_client']['oauth_client_secret'] = ''
$config['rest_client']['oauth_token'] = ''
$config['rest_client']['api_version'] = ''

```

**Note:** The example illustrates the complete list of configuration.

Usage
-----

[](#usage)

```
// A SELECT request query with conditionals.
$requestFactory = \Drupal::service('salesforce_rest.services.request.request_factory');
$fuzzyRequest = $requestFactory->createFuzzyRequest();

$fuzzyRequest->setType('User');
$fuzzyRequest->setFields(['Id']);
$fuzzyRequest->setConditions([
    'AND' => [
        ['field', 'operator', 'value'],
    ],
]);

$requestResponse = $fuzzyRequest->execute();

// A SELECT request query using an Id.
$requestFactory = \Drupal::service('salesforce_rest.services.request.request_factory');
$selectRequest = $requestFactory->createSelectRequest();

$selectRequest->setType('User');
$selectRequest->setId(1);
$selectRequest->setFields(['Id']);

$requestResponse = $selectRequest->execute();

// An UPDATE request query using an Id.
$requestFactory = \Drupal::service('salesforce_rest.services.request.request_factory');
$updateRequest = $requestFactory->createUpdateRequest();

$updateRequest->setType('User');
$updateRequest->setId(1);
$updateRequest->setFieldValues([
    'field' => 'value',
]);

$requestResponse = $updateRequest->execute();

```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~2 days

Total

13

Last Release

2604d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3bac1745a85fbc8f67aa8e0177333a141dda3c4b7e1aa0724aa4d9cd4f68487f?d=identicon)[catchdigital](/maintainers/catchdigital)

---

Top Contributors

[![mortim07](https://avatars.githubusercontent.com/u/1840414?v=4)](https://github.com/mortim07 "mortim07 (1 commits)")

### Embed Badge

![Health badge](/badges/catchdigital-salesforce-rest/health.svg)

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

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M648](/packages/sylius-sylius)[overblog/graphql-bundle

This bundle provides tools to build a GraphQL server in your Symfony App.

8027.9M28](/packages/overblog-graphql-bundle)[meilisearch/search-bundle

Seamless integration of Meilisearch into your Symfony project.

154356.2k](/packages/meilisearch-search-bundle)[fschmtt/keycloak-rest-api-client-php

PHP client to interact with Keycloak's Admin REST API.

4684.7k2](/packages/fschmtt-keycloak-rest-api-client-php)[paddlehq/paddle-php-sdk

Paddle's PHP SDK for Paddle Billing.

53301.7k](/packages/paddlehq-paddle-php-sdk)[apigee/apigee-client-php

Client library for connecting to the Apigee Edge API.

27558.7k3](/packages/apigee-apigee-client-php)

PHPackages © 2026

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