zenapply/php-peoplematter
Composer 安装命令:
composer require zenapply/php-peoplematter
包简介
PeopleMatter API Wrapper
README 文档
README
Installation
Install via composer - In the terminal:
composer require zenapply/php-peoplematter
Usage
Create it
use Zenapply\PeopleMatter\PeopleMatter; $client = new PeopleMatter("email", "password", "businessalias");
Get all Business Units
$units = $client->businessUnits(); // Returns an array of Zenapply\PeopleMatter\BusinessUnit Objects print_r($units[0]); # Zenapply\PeopleMatter\BusinessUnit Object # ( # [Id] => a1c01c85-fa26-4662-925c-a63b00123456 # [Business] => Array # ( # [Name] => Company Name # [Alias] => businessalias # [Id] => 77806413-6c3c-40f6-a375-a63b00123456 # [URI] => https://sandbox.peoplematter.com/api/business/77806413-6c3c-40f6-a375-a63b0123456 # ) # # [Name] => Name of Unit # [UnitNumber] => 105 # [Status] => 0 # [ActivationDate] => 2016-06-29 # [DeactivationDate] => # [Address] => Array # ( # [StreetAddress1] => 599 West Main Street # [StreetAddress2] => # [City] => City # [State] => State # [ZipCode] => 55555 # [Country] => US # ) # # [TimeZone] => (UTC-07:00) Mountain Time (US & Canada) # [PhoneNumber] => (555) 555-5555 # [TaxIdentificationNumber] => 00-0000000 # [EmailAddress] => name@email.com # [EverifyEnabled] => # [I9EmployerName] => # [BrandNameJobBoards] => # [IntegrationAttributes] => Array # ( # [CustomField1] => # [CustomField2] => # [CustomField3] => # ) # # [BusinessUnitGroup] => # [AssignAllActiveJobs] => # )
统计信息
- 总下载量: 1.08k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2016-10-31