micfai/marketo-php
最新稳定版本:1.0.2
Composer 安装命令:
composer require micfai/marketo-php
包简介
PHP Library for Marketo's SOAP API
README 文档
README
Using the composer CLI:
composer require micfai/marketo-php
Or manually add it to your composer.json:
{
"require": {
"micfai/marketo-php": "^1"
}
}
Laravel Providers
In config/app.php, register the service provider
Marketo\Laravel\MarketoServiceProvider::class,
Register the Facade (optional)
'Marketo' => Marketo\Laravel\MarketoFacade::class
Publish the config
php artisan vendor:publish --provider="Marketo\Laravel\MarketoServiceProvider"
Set your env variables
MARKETO_ACCESS_KEY=xxxxxxxx
MARKETO_SECRET_KEY=xxxxxxxx
MARKETO_ENDPOINT=http://localhost/auth/callback
Access Marketo from the Facade or Binding
$lead = Marketo::getLead('type','value');
$lead = app('Marketo')->getLead('type','value');
统计信息
- 总下载量: 62
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-10-09