PHPackages                             klukiyan/laravel11-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. [API Development](/categories/api)
4. /
5. klukiyan/laravel11-salesforce

ActiveLibrary[API Development](/categories/api)

klukiyan/laravel11-salesforce
=============================

Laravel 11 Salesforce Force.com PHP Toolkit port

v1.2(1y ago)02MITPHPPHP &gt;=8.1.0

Since Jan 12Pushed 1y agoCompare

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

READMEChangelog (3)Dependencies (5)Versions (4)Used By (0)

Laravel 10 Salesforce
=====================

[](#laravel-10-salesforce)

This Laravel 10 package provides an interface for using [Salesforce CRM](http://www.salesforce.com/) through its **SOAP API**.

*(Laravel 7 Salesforce Package can be found [here](https://github.com/khachik1990/laravel7-salesforce))*

[![Latest Stable Version](https://camo.githubusercontent.com/04ce6a0b3347f43c354560f8806e278f23198e6118300142ebbbeb7ba25d74e1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6461766973706569786f746f2f6c61726176656c352d73616c6573666f7263652e737667)](https://packagist.org/packages/davispeixoto/laravel5-salesforce)[![Total Downloads](https://camo.githubusercontent.com/efb695af332aaa044161ce027537e59e05e7d6fe3a61be2228030b2f573cc10b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6461766973706569786f746f2f6c61726176656c352d73616c6573666f7263652e737667)](https://packagist.org/packages/davispeixoto/laravel5-salesforce)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/3c2ebd38b845b065a7482c3009b9485e96680618dd57c2c811e132047c0acc42/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f6461766973706569786f746f2f4c61726176656c2d352d53616c6573666f7263652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/davispeixoto/Laravel-5-Salesforce/?branch=master)[![Codacy Badge](https://camo.githubusercontent.com/1377474c889f0c63b3c0d093b8395bdf7c43657783dad9f9f08968a71d8de836/68747470733a2f2f7777772e636f646163792e636f6d2f70726f6a6563742f62616467652f6266353531636539306333343439326361353463343734383233346137326361)](https://www.codacy.com/app/davis-peixoto/Laravel-5-Salesforce)[![Code Climate](https://camo.githubusercontent.com/a51f0e8a30670d87d079f251ce27ceeeb6d2a071c97bd11560d7b5db3f9a7f3f/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f6461766973706569786f746f2f4c61726176656c2d352d53616c6573666f7263652f6261646765732f6770612e737667)](https://codeclimate.com/github/davispeixoto/Laravel-5-Salesforce)[![Build Status](https://camo.githubusercontent.com/c333b5edad803d331edaf8b52c3e3451cab5891d02b9148ad645330ec3b59c4f/68747470733a2f2f7472617669732d63692e6f72672f6461766973706569786f746f2f4c61726176656c2d352d53616c6573666f7263652e737667)](https://travis-ci.org/davispeixoto/Laravel-5-Salesforce)[![SensioLabsInsight](https://camo.githubusercontent.com/e63e5d21b4621c9c85980acdbdd81217abb3ed66d4e2b16f098a4f43841c52d5/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f30303439393264312d393061372d346264362d396461652d3264386235343133383661652f736d616c6c2e706e67)](https://insight.sensiolabs.com/projects/004992d1-90a7-4bd6-9dae-2d8b541386ae)

Major upgrade
-------------

[](#major-upgrade)

This package is intended to support both Laravel 10.0 LTS and 10.0+.

Laravel 10.1 package will be kept under version 1.\* Laravel 10.2 package will be kept under version 2.\*

Consider this when installing or upgrading

It also fixes a too much consuming session at Salesforce, thus these new versions needs adding the section aliases under `config/app.php`

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

[](#installation)

The Laravel 5 package can be installed via [Composer](http://getcomposer.org) by requiring the `khachik/laravel10-salesforce` package in your project's `composer.json`.

```
{
    "require": {
        "khachik/laravel10-salesforce": "~1.0"
    }
}
```

And running a composer update from your terminal:

```
php composer.phar update
```

To use the Salesforce Package, you must register the provider when bootstrapping your Laravel 5 application.

Find the `providers` key in your `config/app.php` and register the AWS Service Provider.

```
    'providers' => array(
        // ...
        Khachik\Laravel10Salesforce\SalesforceServiceProvider::class,
    )

    'aliases' => array(
        // ...
        'Salesforce' => Khachik\Laravel0Salesforce\SalesforceFacade::class,
    )
```

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

[](#configuration)

By default, the package uses the following environment variables to auto-configure the plugin without modification:

```
SALESFORCE_USERNAME
SALESFORCE_PASSWORD
SALESFORCE_TOKEN

```

Place your [your **enterprise** WSDL file](https://www.salesforce.com/us/developer/docs/api/Content/sforce_api_quickstart_steps_generate_wsdl.htm) into your app `storage/app/wsdl/` directory.

To customize the configuration file, publish the package configuration using Artisan.

```
php artisan vendor:publish
```

Update the settings in the generated `config/salesforce.php` configuration file with your credentials.

```
return [
    'username' => 'YOUR_SALESFORCE_USERNAME',
    'password' => 'YOUR_SALESFORCE_PASSWORD',
    'token' => 'YOUR_SALESFORCE_TOKEN',
    'wsdl' => 'path/to/your/enterprise.wsdl.xml',
];
```

**IMPORTANT:** the PHP Force.com Toolkit for PHP only works with Enterprise WSDL

Usage
-----

[](#usage)

That's it! You're all set to go. Just use:

```
    Use Salesforce;
    Route::get('/test', function() {
        try {
            echo print_r(Salesforce::describeLayout('Account'), true);
        } catch (Exception $e) {
            echo $e->getMessage();
            echo $e->getTraceAsString();
        }
    });
```

More Information
----------------

[](#more-information)

Check out the [SOAP API Salesforce Documentation](http://www.salesforce.com/us/developer/docs/api/index_Left.htm)

License
-------

[](#license)

This software is licensed under the [MIT license](http://opensource.org/licenses/MIT)

Versioning
----------

[](#versioning)

This project follows the [Semantic Versioning](http://semver.org/)

Thanks
------

[](#thanks)

An amazing "Thank you, guys!" for [Jetbrains](https://www.jetbrains.com/) folks, who kindly empower this project with a free open-source license for [PhpStorm](https://www.jetbrains.com/phpstorm/) which can bring a whole new level of joy for coding.

[![Jetbrains](https://camo.githubusercontent.com/e587725eb6fa1bcaa58f3a064c2d5ee1da5160886d694fff14c4ad3b5c3939ec/68747470733a2f2f7777772e6a6574627261696e732e636f6d2f636f6d70616e792f646f63732f6c6f676f5f6a6574627261696e732e706e67)](https://www.jetbrains.com/)

[![PhpStorm](https://camo.githubusercontent.com/e32c61f7eb5653957b4572800397cff97a37a4999054b7b48bb3610cb4c762ce/68747470733a2f2f64336e6d7435766c7a756e6f61312e636c6f756466726f6e742e6e65742f70687073746f726d2f66696c65732f323031352f31322f50687053746f726d5f343030783430305f547769747465725f6c6f676f5f77686974652e706e67)](https://www.jetbrains.com/phpstorm/)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance41

Moderate activity, may be stable

Popularity2

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 70% 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 ~0 days

Total

3

Last Release

485d ago

### Community

Maintainers

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

---

Top Contributors

[![tadevosyankhachik](https://avatars.githubusercontent.com/u/23119392?v=4)](https://github.com/tadevosyankhachik "tadevosyankhachik (7 commits)")[![klukiyan](https://avatars.githubusercontent.com/u/27725051?v=4)](https://github.com/klukiyan "klukiyan (3 commits)")

---

Tags

laravellaravel 11crmsalesforceforce.com toolkit

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/klukiyan-laravel11-salesforce/health.svg)

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

###  Alternatives

[davispeixoto/laravel5-salesforce

Laravel 5 Salesforce Force.com PHP Toolkit port

47142.8k1](/packages/davispeixoto-laravel5-salesforce)[davispeixoto/laravel-salesforce

Laravel 4 Salesforce Force.com PHP Toolkit port

1433.1k](/packages/davispeixoto-laravel-salesforce)[asciisd/zoho

Asciisd Zoho provide an elegant and easy way to communicate with Zoho CRM.

3751.9k](/packages/asciisd-zoho)[dotzero/laravel-amocrm

ServiceProvider и Facade для Laravel 5 предоставляющие интеграцию с API amoCRM

3229.2k](/packages/dotzero-laravel-amocrm)

PHPackages © 2026

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