Package Data | |
---|---|
Maintainer Username: | deniamnet |
Maintainer Contact: | deniamnet@gmail.com (Paul Dzenisevich) |
Package Create Date: | 2015-11-22 |
Package Last Update: | 2018-03-21 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2023-03-29 03:23:19 |
Package Statistics | |
---|---|
Total Downloads: | 6 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 1 |
Total Forks: | 0 |
Total Open Issues: | 0 |
This Laravel 4 package provides an interface for using Salesforce CRM through its SOAP API.
Begin by installing this package through Composer. Edit your project's composer.json
file to require deniamnet/laravel4-salesforce
.
"require": {
"laravel/framework": "4.*",
"deniamnet/laravel4-salesforce": "dev-master"
}
Next, update Composer from the Terminal:
composer update
Once this operation completes, still in Terminal run:
php artisan config:publish deniamnet/laravel4-salesforce
Update the settings in the generated app/config/packages/deniamnet/laravel4-salesforce
configuration file with your salesforce credentials.
Ensure you put your WSDL file into a proper place and make it readable by your Laravel Application.
IMPORTANT: the PHP Force.com Toolkit for PHP only works with Enterprise WSDL
Finally add the service provider. Open app/config/app.php
, and add a new item to the providers array.
'Deniamnet\Laravel4Salesforce\LaravelSalesforceServiceProvider'
That's it! You're all set to go. Just use:
Route::get('/test', function() {
try {
echo print_r(Salesforce::describeLayout('Account'));
} catch (Exception $e) {
Log::error($e->getMessage());
die($e->getMessage() . $e->getTraceAsString());
}
});
Check out the SOAP API Salesforce Documentation
This Salesforce Force.com Toolkit for PHP port is open-sourced software licensed under the MIT license
This project follows the Semantic Versioning