gevorggalstyan/sf-web2lead-submitter
Composer 安装命令:
composer require gevorggalstyan/sf-web2lead-submitter
包简介
PHP Composer Package of Salesforce.com Web-To-Lead Submitter
README 文档
README
To use you just need static submit function which takes to arguments.
public static function submit($data, $w2l_file)
$data is the data you want to submit to salesforce.com through their
web-to-lead form
$w2l_file is the path to the web-to-lead HTML file downloaded from
salesforce.com when generating Web-To-Lead.
The library will parse the HTML file and generate the structure of the data that SF accepts.
After it normalizes the data based on the structure, cleans up empty
fields and decodes for custom fields with tokens in name= attribute.
And after all that it will POST the form to the URL in the web-to-lead
HTML file form action= attribute.
统计信息
- 总下载量: 114
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 1
其他信息
- 授权协议: MIT
- 更新时间: 2016-09-13